Skip to main content
MalwarePublished

poc-ch4rlygr (npm) · Malicious Code

Affects poc-ch4rlygrSource GCVE Database

0

Malicious package : remove poc-ch4rlygr and rotate any secrets on hosts that installed it.

Data as of 7 Aug 2026, 07:32 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-13454

What to do

Remove poc-ch4rlygr 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
npmpoc-ch4rlygrAffected
  • 1.1.0 – 1.6.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 poc-ch4rlygr contains malicious code that exfiltrates sensitive environment information upon import or require. It collects system details and environment variables, including secrets such as AWS, NPM, GitHub, and CI tokens, and sends them via HTTPS GET to a hardcoded external endpoint. The package also declares a postinstall script that is not included in the tarball, indicating the import-time code is the main exfiltration vector.

References

Community reviews

Loading reviews…