auto-debug-tool (npm) · Malicious Code
Affects auto-debug-toolSource GCVE Database
Malicious package : remove auto-debug-tool and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 15:56 UTC
Malicious package
Published to npm · OSV MAL-2026-10209
What to do
Remove auto-debug-tool 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 |
|---|---|---|
| npmauto-debug-tool | 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 npm package 'auto-debug-tool' versions 1.0.0, 1.0.2, and 1.0.3 contains malicious code that executes automatically during installation on Windows systems. The package.json defines a postinstall hook that runs a hidden PowerShell command to download and execute an unsigned binary from a mutable branch of a personal GitHub repository. This execution is concealed by skipping non-Windows platforms and development environments, and by swallowing errors, allowing the payload to remain dormant on developer machines while activating on Windows installations and CI environments.