{"id":"MAL-2026-20303","aliases":[],"title":"Malicious code in identity-poc (npm)","originalDescription":" --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (fa4ad4604b2f07da32d5dd7355090d0941d2b03799c5ccd4e6040d2638b5b63c) On require() or CLI invocation, a top-level IIFE in the package's main entry unconditionally runs `id`, `whoami`, and `ls -la`, reads `/etc/passwd`, and POSTs the collected report to a URL supplied as `process.argv[2]`. The payload emits an `IDENTITY_POC_EXECUTED` marker and carries a generic 'Controlled execution verification' description, matching the shape of a dependency-confusion / bug-bounty collaborator proof-of-concept that proves code execution on an installer's host and exfiltrates host identity and local file contents to an attacker-chosen destination. Because the exfiltration fires at load time, any environment that installs and loads this package name — whether as an intended dependency or via dependency-confusion resolution against an internal package of the same name — executes shell reconnaissance and leaks host data off-box. ","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[],"references":[{"url":"https://www.npmjs.com/package/identity-poc/v/1.0.3","type":"package"}],"sources":[{"name":"osv","at":"2026-11-20T19:43:30.258Z","url":"https://osv.dev/vulnerability/MAL-2026-20303","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T19:43:30.258Z"}],"firstSeenAt":"2026-11-20T19:43:30.258Z","publishedAt":"2026-11-20T18:56:11.000Z","modifiedAt":"2026-11-20T19:15:08.838Z"}