{"id":"MAL-2026-16463","summary":"Malicious code in godzzz (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (39f05673527822a16dc88d65a9ff9471548f8046fc28c7930fd8958dbcc38f3a)\nThe npm package godzzz@1.0.0 ships cdp_inject.js which imports http, https, child_process and fs at the top of the file, reads process.env (including process.env.USER), reads files from disk via fs.readFileSync/fs.existsSync, base64-encodes payloads via toString('base64'), and issues outbound network calls via https.request, http.get and POST. The combination of installer-side environment and filesystem reads, base64 encoding of the resulting data, and outbound HTTP/HTTPS in a single small script matches the shape of a host-info / credential exfiltration stager rather than a legitimate library.\n","modified":"2026-09-23T05:30:08.536934491Z","published":"2026-09-23T04:48:38Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-09-23T05:18:34.925674506Z","modified_time":"2026-09-23T04:48:38Z","sha256":"39f05673527822a16dc88d65a9ff9471548f8046fc28c7930fd8958dbcc38f3a","source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-020454"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/godzzz/v/1.0.0"}],"affected":[{"package":{"name":"godzzz","ecosystem":"npm","purl":"pkg:npm/godzzz"},"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":[{"sha256":"36cda76bbf7396ceb3cc6317680c60edaf9809787805a678f7fe9a97c7635ba0","tlsh":"b792c58a64a6213585b6b3b98f539515f73ad033710143b4fd5c86982ff287482b6fcd","path":"cdp_inject.js"}],"package_integrity":[{"hashes":{"sha1":"02195b88a8c16df55e905e3beb0cd4b1cb77062a","sha512_sri":"sha512-BocfmyTMmeiEt2YcKALPq/+8Y+fzp1H+5nzjM6DXnig5/8RQ/6A3YOjGsWSWfBkGqsGNIJcSXXBpWABQeW+hQg=="},"filename":"godzzz-1.0.0.tgz"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/godzzz/MAL-2026-16463.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}