Malicious code in llm-traces-app (npm)
Description
The npm package llm-traces-app version 1.0.1 contains malicious code that executes during installation. Its preinstall script runs code that collects host system information and reads sensitive files such as /etc/passwd and /etc/hosts. This data is then exfiltrated via HTTPS POST to a domain controlled by the package publisher, enabling out-of-band data capture. The package acts as a supply-chain exfiltration beacon, compromising any system where it is installed. Removal of the package does not guarantee full remediation due to potential further compromise.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The llm-traces-app npm package version 1.0.1 includes a malicious preinstall lifecycle hook that executes 'node index.js' on installation. This script gathers host identity details including hostname, user info, home directory, DNS servers, and current working directory. It also reads the installer's /etc/passwd and /etc/hosts files to enumerate local user accounts and system configuration. The collected data is sent via HTTPS POST to a Burp Collaborator (OAST) subdomain controlled by the package publisher, enabling arbitrary out-of-band data exfiltration. This behavior occurs automatically on default installation without user interaction, representing a textbook supply-chain exfiltration attack. The package compromises the host system, potentially granting the attacker full control.
Potential Impact
Systems with llm-traces-app version 1.0.1 installed are fully compromised due to the malicious code executing on installation and exfiltrating sensitive system and user information. This includes enumeration of local user accounts and system configuration files. The attacker gains out-of-band access to this data and potentially full control over the compromised system. All secrets and keys stored on the affected system should be considered exposed and rotated immediately. Removal of the package alone may not remove all malicious artifacts or backdoors introduced.
Defensive Guidance
No official patch or fix is indicated. Immediate removal of the llm-traces-app package version 1.0.1 is recommended. Due to the high likelihood of full system compromise, all secrets and credentials stored on the affected system should be rotated from a separate, trusted device. Comprehensive incident response and forensic analysis should be conducted to identify and remediate any persistent threats. Monitor for any unusual outbound network traffic related to the exfiltration domain. Consider blocking the known exfiltration domain at network perimeter controls.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6371
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-xcwg-9ggx-j7pm"]
- Ecosystems
- ["npm"]
Threat ID: 6a9f9110acd9273b49ff2acd
Added to database: 09/08/2026, 04:37:36 UTC
Last enriched: 09/08/2026, 05:24:37 UTC
Last updated: 10/01/2026, 23:21:08 UTC
Views: 24
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.