cbc97b7a (npm) · Malicious Code
Affects cbc97b7aSource GCVE Database
Malicious package : remove cbc97b7a 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-15878
What to do
Remove cbc97b7a 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 |
|---|---|---|
| npmcbc97b7a | 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 'cbc97b7a' contains a malicious payload embedded in its description field as a large base64-encoded POSIX shell script. When decoded and executed, this script downloads and installs an xmrig cryptominer that mines Monero cryptocurrency using a hardcoded mining pool and wallet. It establishes persistence via cron jobs and uses multiple fallback command-and-control IP addresses. The package itself contains no legitimate code files, only the malicious script hidden in metadata, designed to be executed by a companion loader fetching the package metadata and piping it to a shell. Any system with this package installed should be considered fully compromised, and all secrets on that system should be rotated from a separate, clean machine.
References
- github.com/advisories/GHSA-9m3c-67f2-gjwf (opens in a new tab)
- npmjs.com/package/cbc97b7a/v/1.1788006723.0 (opens in a new tab)
- npmjs.com/package/cbc97b7a/v/1.1787999998.0 (opens in a new tab)
- npmjs.com/package/cbc97b7a/v/1.1788016922.0 (opens in a new tab)
- npmjs.com/package/cbc97b7a/v/1.1788423886.0 (opens in a new tab)
- npmjs.com/package/cbc97b7a/v/1.1788000497.0 (opens in a new tab)
- npmjs.com/package/cbc97b7a/v/1.1787999566.0 (opens in a new tab)