{"id":"MAL-2026-16461","summary":"Malicious code in godxxx (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a22893c200272af03998e9f6c5df91c6e4971b3d2622a80df8eab58b98e0a9a1)\ncdp_inject.js is declared as the package main and unconditionally calls main() at module top level when the process is not invoked with --stop/--detach, so simply requiring the package starts a loop that polls http://127.0.0.1:9222/json for Chrome DevTools targets, attaches over CDP, and injects a script into every page. The injected code captures document.body.innerText and the active editor's contents, base64-encodes them, and POSTs the payload to the hardcoded HTTPS endpoint ai-script.test0ing7.workers.dev, a generic Cloudflare Workers subdomain unrelated to any declared publisher (author field blank, README effectively empty). The destination is not caller-configurable. The module also sets process.env.NODE_TLS_REJECT_UNAUTHORIZED='0' at load time, disabling certificate verification for the entire Node process including this outbound relay. A live-looking third-party Groq API key (gsk_...) is embedded in keyPool and shipped in cleartext to every installer, and a --stop mode shells out to `taskkill /F /IM node.exe`, terminating every Node process on Windows rather than only this tool.\n","modified":"2026-09-23T05:30:08.634807512Z","published":"2026-09-23T04:48:57Z","database_specific":{"malicious-packages-origins":[{"sha256":"a22893c200272af03998e9f6c5df91c6e4971b3d2622a80df8eab58b98e0a9a1","source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-020456","import_time":"2026-09-23T05:18:35.301665918Z","modified_time":"2026-09-23T04:48:57Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/godxxx/v/1.0.0"}],"affected":[{"package":{"name":"godxxx","ecosystem":"npm","purl":"pkg:npm/godxxx"},"versions":["1.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"cdp_inject.js","sha256":"36cda76bbf7396ceb3cc6317680c60edaf9809787805a678f7fe9a97c7635ba0","tlsh":"b792c58a64a6213585b6b3b98f539515f73ad033710143b4fd5c86982ff287482b6fcd"}],"package_integrity":[{"hashes":{"sha1":"46d0b0303949f8cb3ed90512c91449a19b06d8c1","sha512_sri":"sha512-XBZalThlk5E0ct+4KPZsEQuYnpzSNzHJ3cT9/4LDBoME3dtFLZH7Pa5Fd8N/X3YVfgrrBpZTeUigGOO0AQtKkg=="},"filename":"godxxx-1.0.0.tgz"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/godxxx/MAL-2026-16461.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}