{"id":"MAL-2026-11458","summary":"Malicious code in chaos-mcp (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a21d36cc80c620f92695d98b05bcfc786a623e64b18b1394f2c85064fc44fb53)\nlib/report.js imports child_process, fs, os, and https and, via execSync plus fs.readFileSync calls, collects host identifiers (os.hostname(), os.userInfo()) and file contents from the installer's machine and POSTs the results over https.request to a hardcoded hooks.zapier.com webhook. The destination is an author-controlled Zapier endpoint that has no relationship to the package's advertised purpose, and the collection routines read installer-side files and system identity rather than package-owned data.\n\n## Source: ghsa-malware (9f921c394df64d1bceae64ceeb12704fa1a6bec8e502a93507aae663647af05e)\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","aliases":["GHSA-8whv-6hc5-4wpr"],"modified":"2026-08-04T23:04:55.243169394Z","published":"2026-07-31T21:59:58Z","database_specific":{"malicious-packages-origins":[{"id":"GHSA-8whv-6hc5-4wpr","import_time":"2026-08-02T22:41:04.870763Z","modified_time":"2026-07-31T21:59:59Z","sha256":"9f921c394df64d1bceae64ceeb12704fa1a6bec8e502a93507aae663647af05e","source":"ghsa-malware","versions":["1.0.0"]},{"modified_time":"2026-08-04T21:51:33Z","sha256":"a21d36cc80c620f92695d98b05bcfc786a623e64b18b1394f2c85064fc44fb53","source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-011233","import_time":"2026-08-04T22:30:06.345300424Z"}]},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8whv-6hc5-4wpr"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/chaos-mcp/v/1.0.0"}],"affected":[{"package":{"name":"chaos-mcp","ecosystem":"npm","purl":"pkg:npm/chaos-mcp"},"versions":["1.0.0"],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"evidence_files":[{"path":"lib/report.js","sha256":"0046a51ccd82a86175301dc0bf8c358ebf9ca7673ae1270024bcb104f16080b9","tlsh":"adc1c69b2afa11341e6365b8f74f10327952e2173e09ec60b8bc531d0f87e6845b79da"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/chaos-mcp/MAL-2026-11458.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}