fetchcraft (npm) · Malicious Code
Affects fetchcraftSource GCVE Database
Malicious package : remove fetchcraft and rotate any secrets on hosts that installed it.
Data as of 20 Aug 2026, 14:36 UTC
Malicious package
Published to npm · OSV MAL-2026-10435
What to do
Remove fetchcraft 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 |
|---|---|---|
| npmfetchcraft | 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 fetchcraft npm package versions 1.0.0 and 1.0.1 include a runtime dependency on a mutable tarball from a personal GitHub repository without integrity verification. This allows arbitrary code execution during installation, as the dependency can be changed at any time without modifying fetchcraft itself. The malicious code can fully compromise the host system, potentially exposing all stored secrets and keys. Removing the package may not fully remediate the compromise.