{"id":"MAL-2026-16217","summary":"Malicious code in tetotest (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b181542b0c55a472e316ca973cc5b1deaf31986645fd326903e8c31ab20acab6)\npackage.json declares preinstall and postinstall lifecycle scripts that invoke wget to POST the installer's shell-expanded working directory ($(pwd)) and machine hostname ($(hostname)) to a hardcoded Discord webhook at https://discord.com/api/webhooks/1413937656697720862/\u003credacted\u003e. Both hooks fire automatically on `npm install` without user interaction. The package ships no library code or documented functionality — its sole effect is beaconing installer host identifiers to an attacker-controlled Discord endpoint.\n","modified":"2026-09-16T07:00:07.703039428Z","published":"2026-09-16T06:35:28Z","database_specific":{"malicious-packages-origins":[{"sha256":"b181542b0c55a472e316ca973cc5b1deaf31986645fd326903e8c31ab20acab6","source":"amazon-inspector","versions":["14.0.0"],"id":"IN-MAL-2026-020085","import_time":"2026-09-16T06:56:08.770954103Z","modified_time":"2026-09-16T06:35:28Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/tetotest/v/14.0.0"}],"affected":[{"package":{"name":"tetotest","ecosystem":"npm","purl":"pkg:npm/tetotest"},"versions":["14.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tetotest/MAL-2026-16217.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"package_integrity":[{"filename":"tetotest-14.0.0.tgz","hashes":{"sha512_sri":"sha512-R9X880smFGOXFc/2MAtARebZoFMk9eRRPRIKbtvsDMhQnv9W0C3tUTGTj+eCeliqUUYic4X1857UcstGl2fd/w==","sha1":"2b62c60daa01010dae548c41f843aa3f965fad90"}}],"evidence_files":[{"tlsh":"2801f1f55a11e6717bc75d7529e3866d6be39c5f2884193ce1434b2c02ce32f1061687","path":"package.json","sha256":"f0bc8f75614f67e1c6fd56b73e722032f5d05d7af66a7c7a936629dd10671157"}]}}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}