npm · Malicious package advisory
Malwaretest8999-auth
MAL-2026-16286
Malicious code in test8999-auth (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (6edad84dcdfc0fbb2164a86dd74f831f3da2bc940794e1f157f9de2d159f7545) package.json declares a preinstall hook that runs index.js on `npm install`. index.js requires child_process, os, http, and https, then collects host identity data — os.hostname(), os.platform(), os.arch(), os.release(), os.cpus(), and shell output from `whoami`, `id`, `pwd`, and `uname -a` — and POSTs the resulting JSON over plain HTTP to a hardcoded Burp Collaborator subdomain at http://zore2dnpm2wdqivokhty823ylprjf93y.oastify.com. The collection and exfiltration fire automatically at install time with no user interaction. package.json also declares the package as its own dependency (`test8999-auth: ^1.0.1`), and the generic `testNNNN` naming plus OOB collaborator destination are consistent with a dependency-confusion probe. ## Source: ghsa-malware (a29ed38686042ed786c0296305881cc95d701e6e57869db03a62a7f047b532c2) 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 (883ac98e5270a47d8776f617f0d8cef1e987d8ec403a9bfda9329d93b4a0d7fd) The OpenSSF Package Analysis project identified 'test8999-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.