CRITICAL npm Malware

Malicious code in onlinegdb (npm)

MAL-2026-20549

Published · Modified

Dependency scanning

Check whether onlinegdb is in your codebase

Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.

Description

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes