npm · Malicious package advisory
Malwaretest899-auth
MAL-2026-16285
Malicious code in test899-auth (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (64702ec2b2b0fcc5ec6eb56e8ca63fc94d3ff54fdcd45509fcc9640ccbbffdcf) On `npm install`, the package's preinstall hook executes index.js which collects installer host and identity information (hostname, platform, OS release, `whoami`, `id`, current working directory, `uname -a`), base64-encodes the blob, splits it into DNS labels, and issues `nslookup` queries against the hardcoded subdomain `hufw8vt7sk2vw016qzzgek9gr7x0ls9h.oastify.com`. This tunnels installer identity and host details out-of-band via DNS to a Burp Collaborator endpoint, bypassing HTTP egress filtering. The package.json also declares a self-referential unpinned dependency on `test899-auth: ^1.0.1`, consistent with a probing/PoC harness shape. The name and behavior are consistent with a research or malicious probe package rather than a functional authentication library. ## Source: ghsa-malware (91a9e931a96bd4a5c20ffe47187dd851fed79813d869f3c05afeaafedf721716) 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. ## Source: ossf-package-analysis (f3dbbfadfd695e5a3655ca1f42ea8a261f0807987dfed7d994b40f27b32ace9d) The OpenSSF Package Analysis project identified 'test899-auth' @ 1.0.1 (npm) as malicious. It is considered malicious because: - The package communicates with a domain associated with malicious activity. - The package executes one or more commands associated with malicious behavior.
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.