fetch-runtime (npm) · Malicious Code
Affects fetch-runtimeSource GCVE Database
Malicious package : remove fetch-runtime and rotate any secrets on hosts that installed it.
Data as of 12 Aug 2026, 16:47 UTC
Malicious package
Published to npm · OSV MAL-2026-13763
What to do
Remove fetch-runtime 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 |
|---|---|---|
| npmfetch-runtime | 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 'fetch-runtime' npm package is a malicious rebranded copy of the legitimate 'make-fetch-happen' library. It includes inert base64-encoded strings exported but not used within the package, suggesting a possible two-stage attack design. Although the package itself does not perform malicious actions upon installation or import, its presence indicates a fully compromised system. Immediate removal and secret/key rotation are strongly advised, but full remediation may require a complete system rebuild due to potential persistent compromise.
References
- github.com/advisories/GHSA-3hqj-592v-g33j (opens in a new tab)
- npmjs.com/package/fetch-runtime/v/1.5.0 (opens in a new tab)
- npmjs.com/package/fetch-runtime/v/1.3.0 (opens in a new tab)
- npmjs.com/package/fetch-runtime/v/1.2.0 (opens in a new tab)
- npmjs.com/package/fetch-runtime/v/1.4.0 (opens in a new tab)