@marketfront/basemarkettemplate (npm) · Malicious Code
Affects @marketfront/basemarkettemplateSource GCVE Database
Malicious package : remove @marketfront/basemarkettemplate and rotate any secrets on hosts that installed it.
Data as of 6 Jul 2026, 23:40 UTC
Malicious package
Published to npm · OSV MAL-2026-6767
What to do
Remove @marketfront/basemarkettemplate 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/basemarkettemplate | 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/basemarkettemplate npm package version 7.0.0 is part of a malicious campaign involving 25 packages published under the @marketfront scope. It contains an obfuscated postinstall script that executes automatically during npm install, harvesting sensitive credential files from the host and exfiltrating them via encrypted HTTPS and DNS channels. The package masquerades as an internal HTTP client with fake corporate URLs but provides no legitimate functionality. This campaign shares infrastructure and tooling with a previous malicious campaign, indicating a recurring threat actor.