GHSA-7f9g-2m48-c7v6
Malicious code in axios-fast (npm)
Impact
## Source: amazon-inspector (9cc76e819084a35126e067bd65bd3cf2fc52b6d8e068b67d14360ef71505fa7e) axios-fast@1.0.1 declares a preinstall lifecycle script in package.json that runs a Node one-liner which POSTs the entire process.env of the installing machine to a hardcoded webhook.site inbox (https://webhook.site/31e82bcd-a220-42e6-82f0-4f082e8fa80e/). The script fires automatically on npm install, before any code is reviewed, and dumps all environment variables — routinely including AWS_*, NPM_TOKEN, GH_TOKEN, and other CI/build secrets — to a third-party attacker-controlled endpoint. The package name typosquats the popular axios HTTP client but its shipped functionality is limited to this install-time exfiltration. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/054edd6673215726663bfea25dc2124cb50ca7f9/osv/malicious/npm/axios-fast/MAL-2026-14029.json))
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | axios-fast | = 1.0.0 | none recorded |
| npm | axios-fast | = 1.0.1 | none recorded |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-7f9g-2m48-c7v6
- https://github.com/ossf/malicious-packages/blob/054edd6673215726663bfea25dc2124cb50ca7f9/osv/malicious/npm/axios-fast/MAL-2026-14029.json
- https://www.npmjs.com/package/axios-fast/v/1.0.0
- https://www.npmjs.com/package/axios-fast/v/1.0.1
- https://github.com/ossf/malicious-packages/blob/672afd706555c110bda936d989979013c03d62f2/osv/malicious/npm/axios-fast/MAL-2026-14029.json