MAL-2026-20353

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/apache-httpclient10/MAL-2026-20353.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20353
Published
2026-11-20T00:00:00Z
Modified
2026-11-23T10:45:05Z
Summary
Malicious code in apache-httpclient10 (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.

Database specific
{
    "iocs":  {
        "files":  [
            {
                "digests":  {
                    "sha256":  "5e89dbad8be14869b2330acaf81c183491276467353c19b8ad20dc31ad7b4f44"
                },
                "paths":  [
                    "src/main.js"
                ]
            },
            {
                "digests":  {
                    "sha256":  "4d640aadcac4f3eac454894cae9e012f41a61982dfbe7805ed0909a7be21884f"
                },
                "paths":  [
                    "src/postinstall.js"
                ]
            }
        ],
        "ips":  [
            "8.152.163.60"
        ]
    }
}
Credits

Affected packages

npm / apache-httpclient10

Package

Name
apache-httpclient10
View open source insights on deps.dev
Purl
pkg:npm/apache-httpclient10

Affected ranges

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/apache-httpclient10/MAL-2026-20353.json"