Malicious code in @marketfront/navbar (npm)
The @marketfront/navbar npm package version 7.0.0 is part of a malicious campaign involving 25 packages published within a short timeframe. It contains a heavily obfuscated postinstall script that harvests sensitive credentials from the installing environment and exfiltrates them via encrypted HTTPS and DNS channels. The package masquerades as a legitimate internal logger but lacks functional library code. The attack targets developer and CI environments, risking compromise of cloud tokens, npm credentials, and other secrets.
AI Analysis
Technical Summary
The @marketfront/navbar package (version 7.0.0) is a malicious npm package published as part of a 25-package campaign under the @marketfront scope by a user 'marketfront'. It includes a postinstall hook script that executes automatically on npm install, running heavily obfuscated code that collects extensive system and credential information from the host environment, including SSH keys, AWS credentials, Kubernetes configs, Docker configs, npm and git credentials, environment variables, and shell history. The stolen data is compressed, encrypted, and exfiltrated over HTTPS POST requests and DNS TXT tunnels to a concealed command-and-control server. The payload includes anti-analysis checks to evade detection in CI and developer environments. The package contains no usable library code, serving solely as a credential stealer. This campaign shares infrastructure and tactics with a previous malicious campaign, indicating a persistent threat actor.
Potential Impact
Installation of this package results in the compromise of sensitive credentials and environment data from the host system. This includes cloud provider tokens, npm publish tokens, registry credentials, and CI secrets commonly present in developer and continuous integration environments. The attacker gains access to these credentials, potentially leading to unauthorized access to cloud infrastructure, source code repositories, and other critical resources associated with the compromised accounts.
Mitigation Recommendations
No official patch or remediation is available as this is a malicious package published to the npm registry. Users should avoid installing @marketfront/navbar version 7.0.0 and any other packages from the @marketfront scope published around 2026-07-01. Audit and remove any such packages if installed. Rotate any potentially exposed credentials and secrets from affected environments. Employ strict package source verification and use tools to detect malicious postinstall scripts in dependencies.
Malicious code in @marketfront/navbar (npm)
Description
The @marketfront/navbar npm package version 7.0.0 is part of a malicious campaign involving 25 packages published within a short timeframe. It contains a heavily obfuscated postinstall script that harvests sensitive credentials from the installing environment and exfiltrates them via encrypted HTTPS and DNS channels. The package masquerades as a legitimate internal logger but lacks functional library code. The attack targets developer and CI environments, risking compromise of cloud tokens, npm credentials, and other secrets.
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 @marketfront/navbar package (version 7.0.0) is a malicious npm package published as part of a 25-package campaign under the @marketfront scope by a user 'marketfront'. It includes a postinstall hook script that executes automatically on npm install, running heavily obfuscated code that collects extensive system and credential information from the host environment, including SSH keys, AWS credentials, Kubernetes configs, Docker configs, npm and git credentials, environment variables, and shell history. The stolen data is compressed, encrypted, and exfiltrated over HTTPS POST requests and DNS TXT tunnels to a concealed command-and-control server. The payload includes anti-analysis checks to evade detection in CI and developer environments. The package contains no usable library code, serving solely as a credential stealer. This campaign shares infrastructure and tactics with a previous malicious campaign, indicating a persistent threat actor.
Potential Impact
Installation of this package results in the compromise of sensitive credentials and environment data from the host system. This includes cloud provider tokens, npm publish tokens, registry credentials, and CI secrets commonly present in developer and continuous integration environments. The attacker gains access to these credentials, potentially leading to unauthorized access to cloud infrastructure, source code repositories, and other critical resources associated with the compromised accounts.
Mitigation Recommendations
No official patch or remediation is available as this is a malicious package published to the npm registry. Users should avoid installing @marketfront/navbar version 7.0.0 and any other packages from the @marketfront scope published around 2026-07-01. Audit and remove any such packages if installed. Rotate any potentially exposed credentials and secrets from affected environments. Employ strict package source verification and use tools to detect malicious postinstall scripts in dependencies.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6787
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4c348227e9c797196070c8
Added to database: 07/06/2026, 23:04:34 UTC
Last enriched: 07/06/2026, 23:39:41 UTC
Last updated: 07/29/2026, 03:35:30 UTC
Views: 23
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.