MAL-2026-20549

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/onlinegdb/MAL-2026-20549.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20549
Published
2026-11-20T00:00:00Z
Modified
2026-11-25T04:00:11Z
Summary
Malicious code in onlinegdb (npm)
Details

Malicious package. The postinstall hook (postinstall.js) runs ps aux, id, ip addr show, ss -antp, env and df -h, writes the output to /tmp/-.log, uploads the log as a multipart POST to 165.154.199.52:443 and deletes it, exfiltrating the full environment (including any secrets) and process / network inventory of the installing host. In a sandboxed install the hook ran env and connected to 165.154.199.52. The package has since been unpublished.

Database specific
{
    "iocs":  {
        "files":  [
            {
                "digests":  {
                    "sha256":  "2c85929b987c9861f6a69286be259ca00154510abd35b85a9b56b2d91613b132"
                },
                "paths":  [
                    "postinstall.js"
                ]
            }
        ],
        "ips":  [
            "165.154.199.52"
        ]
    }
}
Credits

Affected packages

npm / onlinegdb

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/onlinegdb/MAL-2026-20549.json"