@marketfront/header (npm) · Malicious Code
Affects @marketfront/headerSource GCVE Database
Malicious package : remove @marketfront/header and rotate any secrets on hosts that installed it.
Data as of 6 Jul 2026, 23:09 UTC
Malicious package
Published to npm · OSV MAL-2026-6782
What to do
Remove @marketfront/header 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/header | 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/header 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 executes automatically during npm install. This script harvests sensitive credential files and environment data from the installer's system and exfiltrates the data via encrypted HTTPS POST requests to a concealed command-and-control server. The campaign shares tooling and infrastructure with a previous malicious campaign, indicating a recurring threat actor.