VYPR

npm · Malicious package advisory

Malware

onlinegdb

GHSA-78c6-r6qr-m6xf

Malicious code in onlinegdb (npm)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.0`

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/<hostname>-<ip>.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.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/b169288da654a442f25898430ae778dad740b17b/osv/malicious/npm/onlinegdb/MAL-2026-20549.json))

**References:**
- https://github.com/ossf/malicious-packages/blob/b169288da654a442f25898430ae778dad740b17b/osv/malicious/npm/onlinegdb/MAL-2026-20549.json
- https://github.com/advisories/GHSA-78c6-r6qr-m6xf

Compromised versions (1)

  • = 1.0.0

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.