{"id":"MAL-2026-16285","summary":"Malicious code in test899-auth (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (64702ec2b2b0fcc5ec6eb56e8ca63fc94d3ff54fdcd45509fcc9640ccbbffdcf)\nOn `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.\n\n## Source: ghsa-malware (91a9e931a96bd4a5c20ffe47187dd851fed79813d869f3c05afeaafedf721716)\nAny 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.\n\n## Source: ossf-package-analysis (f3dbbfadfd695e5a3655ca1f42ea8a261f0807987dfed7d994b40f27b32ace9d)\nThe OpenSSF Package Analysis project identified 'test899-auth' @ 1.0.1 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n\n- The package executes one or more commands associated with malicious behavior.\n","aliases":["GHSA-jf2q-w77c-99vv"],"modified":"2026-09-18T20:45:06.547205174Z","published":"2026-09-18T15:26:05Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-09-18T15:26:05Z","sha256":"f3dbbfadfd695e5a3655ca1f42ea8a261f0807987dfed7d994b40f27b32ace9d","source":"ossf-package-analysis","versions":["1.0.1"],"import_time":"2026-09-18T15:39:11.675545126Z"},{"source":"ghsa-malware","id":"GHSA-jf2q-w77c-99vv","import_time":"2026-09-18T16:27:50.120777475Z","modified_time":"2026-09-18T16:01:56Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"91a9e931a96bd4a5c20ffe47187dd851fed79813d869f3c05afeaafedf721716"},{"versions":["1.0.1"],"id":"IN-MAL-2026-020183","import_time":"2026-09-18T20:38:13.411172252Z","modified_time":"2026-09-18T20:24:24Z","sha256":"64702ec2b2b0fcc5ec6eb56e8ca63fc94d3ff54fdcd45509fcc9640ccbbffdcf","source":"amazon-inspector"}]},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jf2q-w77c-99vv"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/test899-auth/v/1.0.1"}],"affected":[{"package":{"name":"test899-auth","ecosystem":"npm","purl":"pkg:npm/test899-auth"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/test899-auth/MAL-2026-16285.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"evidence_files":[{"sha256":"2c918dce45e4523ca2710acc13cf9eb28b06cb8ff68860524477509182aabc9e","tlsh":"a441014539f82a7001a3ec96186311472336e3633c64f4f9b9ad97410f0a8ac93aa7e9","path":"index.js"},{"tlsh":"5dc08c208c22dd3361c826e20039400276a18ce600086c0d23c30004c2ce97710ae228","path":"package.json","sha256":"cb71cfa6a0cbe6b808441931257597e621e5c436d2a3a62cf2a81c6de067d5ba"}]}}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"}]}