# GHSA-HPHH-JVJ7-V933: Malicious code in apache-httpclient10 (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-11-23
- Modified: 2026-11-23

## Affected versions

- apache-httpclient10 (npm): 1.0.0

## Description

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.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/76a57187b091b4cebcd717bceab76876b34dfe66/osv/malicious/npm/apache-httpclient10/MAL-2026-20353.json))

## References

- https://github.com/ossf/malicious-packages/blob/76a57187b091b4cebcd717bceab76876b34dfe66/osv/malicious/npm/apache-httpclient10/MAL-2026-20353.json
- https://github.com/advisories/GHSA-hphh-jvj7-v933

Page: https://cve.now/GHSA-HPHH-JVJ7-V933

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
