{"id":"MAL-2026-20354","summary":"Malicious code in apache-httpclient2 (npm)","details":"Malicious package. Name-squats the Java Apache HttpClient on npm. The postinstall hook (`src/postinstall.js`) spawns `src/main.js` as a detached background process, which profiles the host (hostname, username, CPU and memory, GPU, screen resolution, locale, the running process list with a browser check, interactive-session check) using child_process.execSync and sends the JSON over a raw TCP socket to 8.152.163.60:8058. In a sandboxed install the package connected to 8.152.163.60. Sibling packages apache-httpclient2, apache-httpclient6, apache-httpclient7 and apache-httpclient10 share the C2.","modified":"2026-11-23T10:45:05.799847573Z","published":"2026-11-20T00:00:00Z","database_specific":{"iocs":{"ips":["8.152.163.60"],"files":[{"digests":{"sha256":"6ef112d4a28ada12d88afaae83f6a50248ea87e613920329b0e1e9c92518d8aa"},"paths":["src/main.js"]},{"paths":["src/postinstall.js"],"digests":{"sha256":"bc830cce541d03b25ad3c0323de37850192dda6abc1bca42b937cb487c9d5578"}}]}},"affected":[{"package":{"name":"apache-httpclient2","ecosystem":"npm","purl":"pkg:npm/apache-httpclient2"},"versions":["1.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/apache-httpclient2/MAL-2026-20354.json"}}],"schema_version":"1.9.2","credits":[{"name":"wormsign","contact":["https://x.com/w0rmsign"],"type":"FINDER"}]}