Skip to main content
MalwarePublished

cbc97b7a (npm) · Malicious Code

Affects cbc97b7aSource GCVE Database

0

Malicious package : remove cbc97b7a and rotate any secrets on hosts that installed it.

Data as of 7 Sep 2026, 17:55 UTC

Classification

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

ProductAffectedFixed in
npmcbc97b7aAffected
  • 1.1787999566.0 – 1.1788423886.0
6 affected builds
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

Community reviews

Loading reviews…