@marketfront/mychatspreloader (npm) · Malicious Code
Affects @marketfront/mychatspreloaderSource GCVE Database
Malicious package : remove @marketfront/mychatspreloader and rotate any secrets on hosts that installed it.
Data as of 6 Jul 2026, 23:22 UTC
Malicious package
Published to npm · OSV MAL-2026-6786
What to do
Remove @marketfront/mychatspreloader 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/mychatspreloader | 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/mychatspreloader npm package version 7.0.0 is part of a malicious campaign involving 25 packages published within a short time frame. It contains a heavily obfuscated postinstall script that executes automatically during npm install, harvesting sensitive credential files from the user's system. The stolen data includes SSH keys, AWS credentials, Kubernetes configs, Docker configs, npm tokens, Git credentials, environment files, and shell history. The collected information is exfiltrated via encrypted HTTPS POST requests and DNS tunneling to a concealed command-and-control server. The package has no legitimate functionality and is designed solely to steal credentials under the guise of an internal scoped package. This campaign shares infrastructure and tactics with a previous malicious npm campaign, indicating a recurring threat actor.