axios-fast (npm) · Malicious Code
Affects axios-fastSource GCVE Database
Malicious package : remove axios-fast and rotate any secrets on hosts that installed it.
Data as of 14 Aug 2026, 16:43 UTC
Malicious package
Published to npm · OSV MAL-2026-14029
What to do
Remove axios-fast 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 |
|---|---|---|
| npmaxios-fast | 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 axios-fast versions 1.0.0 and 1.0.1 contains malicious code that executes during installation. Specifically, a preinstall script sends all environment variables from the installing machine to an attacker-controlled webhook URL. This can expose sensitive secrets such as AWS credentials, NPM tokens, and GitHub tokens. The package is a typosquat of the popular axios HTTP client and does not provide legitimate functionality beyond this exfiltration.