npm · Malicious package advisory
Malwaretest89-auth
MAL-2026-16288
Malicious code in test89-auth (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (c2b8794dc6672c38596cd891ce414dc2bce8c9db38cd8e08afc51b411415639e) [email protected] runs `node index.js` from its `preinstall` lifecycle hook. On `npm install`, index.js collects host identity (`hostname`, `whoami`, `id`, `uname -a`, `pwd`) and recursively lists filesystem roots `/`, `/home`, `/opt`, `/var/www`, and `/tmp` to depth 2, base64-encodes the aggregated output, and exfiltrates it as chunked `nslookup` DNS queries to the hardcoded subdomain `dfwstre3dgnrhwm2bvkczgucc3iv6lua.oastify.com` (a Burp Collaborator interaction host controlled by whoever generated the subdomain). The package's own `package.json` additionally declares itself as a dependency (`"test89-auth": "^1.0.1"`), an anomalous self-referential shape consistent with red-team/PoC scaffolding. There is no legitimate functionality corresponding to the advertised `auth` purpose; the entire install-time behavior is host reconnaissance and filesystem enumeration exfiltrated off-host. ## Source: ghsa-malware (b9804ac60d32539c7ecd5210ee4b28205acbe8a9e10ac0187d836a0bab36fc7d) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
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.