{"id":"MAL-2026-16344","summary":"Malicious code in sorrawit-dev-helper (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c64040dcfbbdb6ce434caf3cd5bd2baa518cc00970281a69f5309d57a4621233)\npackage.json declares a postinstall lifecycle script that runs automatically on `npm install`. The script reads /tmp/flag.txt from the installer's machine and sends its URL-encoded contents as a query parameter to a hardcoded ngrok tunnel at https://ca37-49-237-83-218.ngrok-free.app/. The destination is an ephemeral tunnel host unrelated to any legitimate publisher, and the read+exfil fires without user interaction. The behavior matches install-time credential/file exfiltration with a concrete installer-side data source and a concrete attacker-controlled destination.\n","modified":"2026-09-21T04:00:07.700752623Z","published":"2026-09-21T03:30:28Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-09-21T03:30:28Z","sha256":"c64040dcfbbdb6ce434caf3cd5bd2baa518cc00970281a69f5309d57a4621233","source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-020228","import_time":"2026-09-21T03:46:37.843397503Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/sorrawit-dev-helper/v/1.0.0"}],"affected":[{"package":{"name":"sorrawit-dev-helper","ecosystem":"npm","purl":"pkg:npm/sorrawit-dev-helper"},"versions":["1.0.0"],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"evidence_files":[{"sha256":"7db39816bad2f28d1cfee5ab8a7722d83e66c2dd78a98278127ea874fd843c72","tlsh":"b3f05ce01911453359c041161ae99056b3719a1f0a947924f78b582d43df6b38df5359","path":"package.json"}],"package_integrity":[{"filename":"sorrawit-dev-helper-1.0.0.tgz","hashes":{"sha1":"20630c2667e0fef169f10b1b3aa5fdc3b91ae1bf","sha512_sri":"sha512-LxiqGmIWY5Py5rRHMsoOJ5oovRfGL0L7McqY1/Mg0Cj8ilSCjZBB3wO7yUpwGEyu8yWPAuKWPc9vW4cZvJ5TNQ=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/sorrawit-dev-helper/MAL-2026-16344.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}