MAL-2026-20355: Malicious code in apache-httpclient6 (npm)

Published Nov 20, 2026
·
Updated

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 childprocess.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.

Affected Software

1 affected component
npm/apache-httpclient6=1.0.0

Event History

Nov 20, 2026
Advisory Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203