identity-poc (npm) · Malicious Code
Affects identity-pocSource GCVE Database
Malicious package : remove identity-poc and rotate any secrets on hosts that installed it.
Data as of 20 Nov 2026, 21:47 UTC
Malicious package
Published to npm · OSV MAL-2026-20303
What to do
Remove identity-poc 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 |
|---|---|---|
| npmidentity-poc | 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 identity-poc npm package version 1.0.3 contains malicious code that executes shell commands and reads sensitive files upon loading. It collects host identity information and contents of /etc/passwd, then exfiltrates this data to an attacker-controlled URL provided as a command-line argument. This behavior occurs immediately when the package is required or invoked via CLI, posing a risk of data leakage through dependency confusion or unintended package installation.