npm · Malicious package advisory
Malwarers-lookout-sandbox-poc
GHSA-8f2f-h2mc-9gh2
Malicious code in rs-lookout-sandbox-poc (npm)
Details
**Severity:** Critical **Affected versions:** `= 1.0.1` ## Source: amazon-inspector (4f28ed1c404dad5afc7b70b345eeef6f81e04dcee77be3a7553956c7a43f8e7c) On module load, index.js reads os.userInfo().username and issues an HTTPS GET to a hardcoded third-party collector at https://webhook.site/553dad0e-c841-46a8-b07d-213b52a24686/, transmitting the installer's local username to an anonymous external endpoint. The same top-level code performs AWS Instance Metadata Service reconnaissance against 169.254.169.254: it PUTs /latest/api/token to obtain an IMDSv2 session token and then GETs /latest/meta-data/iam/security-credentials/ to enumerate the IAM role attached to the host. Both behaviors fire automatically when the package is required, with no caller action. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/81ac4155842b3844327d024efe2779bfadf052fd/osv/malicious/npm/rs-lookout-sandbox-poc/MAL-2026-18109.json)) **References:** - https://github.com/ossf/malicious-packages/blob/81ac4155842b3844327d024efe2779bfadf052fd/osv/malicious/npm/rs-lookout-sandbox-poc/MAL-2026-18109.json - https://www.npmjs.com/package/rs-lookout-sandbox-poc/v/1.0.1 - https://github.com/advisories/GHSA-8f2f-h2mc-9gh2
Compromised versions (1)
- = 1.0.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.