MAL-2026-20303: Malicious code in identity-poc (npm)

Published Nov 20, 2026
·
Updated

--- -= 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 IDENTITYPOCEXECUTED 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.

Affected Software

1 affected component
npm/identity-poc=1.0.3

Event History

Nov 20, 2026
Advisory Published
via OSV·06:56 PM
Data Sourced
via OSV·06:56 PM
DescriptionAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203