autoheal-dev-cli (npm) · Malicious Code
Affects autoheal-dev-cliSource GCVE Database
Malicious package : remove autoheal-dev-cli and rotate any secrets on hosts that installed it.
Data as of 1 Dec 2026, 15:34 UTC
Malicious package
Published to npm · OSV MAL-2026-4492
What to do
Remove autoheal-dev-cli 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 |
|---|---|---|
| npmautoheal-dev-cli | 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 autoheal-dev-cli npm package contains malicious code in its setup wizard that exfiltrates users' GitHub Personal Access Tokens and other sensitive configuration data to a typo-squatted domain. It forces routing of patch dispatches through an attacker-controlled server and injects a remote, mutable JavaScript into the user's deployed site, enabling persistent unauthorized control over the developer's GitHub repositories and deployed websites. The package also embeds the stolen GitHub token into the local git configuration and force-pushes changes without user consent, compromising the developer's environment.
References
- npmjs.com/package/autoheal-dev-cli/v/1.2.9 (opens in a new tab)
- npmjs.com/package/autoheal-dev-cli/v/1.2.7 (opens in a new tab)
- npmjs.com/package/autoheal-dev-cli/v/1.2.5 (opens in a new tab)
- npmjs.com/package/autoheal-dev-cli/v/1.0.6 (opens in a new tab)
- npmjs.com/package/autoheal-dev-cli/v/1.0.7 (opens in a new tab)
- npmjs.com/package/autoheal-dev-cli/v/1.0.9 (opens in a new tab)
- npmjs.com/package/autoheal-dev-cli/v/1.0.4 (opens in a new tab)
- npmjs.com/package/autoheal-dev-cli/v/1.2.6 (opens in a new tab)
- npmjs.com/package/autoheal-dev-cli/v/1.0.5 (opens in a new tab)
- github.com/advisories/GHSA-ph9v-xmv2-6qp5 (opens in a new tab)