elephant-tusk-runner (npm) · Malicious Code
Affects elephant-tusk-runnerSource GCVE Database
Malicious package : remove elephant-tusk-runner and rotate any secrets on hosts that installed it.
Data as of 7 Aug 2026, 07:32 UTC
Malicious package
Published to npm · OSV MAL-2026-13445
What to do
Remove elephant-tusk-runner from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmelephant-tusk-runner | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The elephant-tusk-runner npm package versions 1.0.0 and 1.0.1 contain malicious code that starts an Express and WebSocket server bound to all network interfaces with open CORS and no authentication. This server exposes endpoints that allow remote attackers to spawn interactive shells and execute arbitrary commands on the host machine. The exposed functionality includes spawning bash or PowerShell shells, executing commands like git clone, npm install, PHP artisan commands, and killing arbitrary processes. This creates a severe remote code execution and remote shell access risk on any machine running the tool, especially on shared or reachable networks.