@marketfront/navbar (npm) · Malicious Code
Affects @marketfront/navbarSource GCVE Database
Malicious package : remove @marketfront/navbar and rotate any secrets on hosts that installed it.
Data as of 6 Jul 2026, 23:39 UTC
Malicious package
Published to npm · OSV MAL-2026-6787
What to do
Remove @marketfront/navbar from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@marketfront/navbar | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.