core_main (npm) · Malicious Code
Affects core_mainSource GCVE Database
Malicious package : remove core_main and rotate any secrets on hosts that installed it.
Data as of 7 Sep 2026, 17:55 UTC
Malicious package
Published to npm · OSV MAL-2026-15668
What to do
Remove core_main 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 |
|---|---|---|
| npmcore_main | 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 npm package 'core_main' version 10.9.9 was found to contain malicious code or depend on a package with malicious code. Any system with this package installed should be considered fully compromised. Immediate removal of the package is advised, but full remediation may require additional steps due to potential persistent compromise. Secrets and keys stored on affected systems must be rotated from a secure environment.