poc-ch4rlygr (npm) · Malicious Code
Affects poc-ch4rlygrSource GCVE Database
Malicious package : remove poc-ch4rlygr and rotate any secrets on hosts that installed it.
Data as of 7 Aug 2026, 07:32 UTC
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
| Product | Affected | Fixed in |
|---|---|---|
| npmpoc-ch4rlygr | 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 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
- npmjs.com/package/poc-ch4rlygr/v/1.5.0 (opens in a new tab)
- npmjs.com/package/poc-ch4rlygr/v/1.3.0 (opens in a new tab)
- npmjs.com/package/poc-ch4rlygr/v/1.4.0 (opens in a new tab)
- npmjs.com/package/poc-ch4rlygr/v/1.2.0 (opens in a new tab)
- npmjs.com/package/poc-ch4rlygr/v/1.1.0 (opens in a new tab)
- npmjs.com/package/poc-ch4rlygr/v/1.6.0 (opens in a new tab)