Malicious code in axois-utils (npm)
The npm package 'axois-utils' is a malicious package designed to steal sensitive user data during installation. It uses install hooks to execute a script that collects SSH keys, cloud credentials, shell histories, browser profiles, crypto wallet files, environment variables, and recursively searches common development directories for .env files. The stolen data is sent unencrypted to a hardcoded command-and-control server. The package has no legitimate functionality and explicitly identifies its users as 'victims' in the source code comments.
AI Analysis
Technical Summary
The 'axois-utils' npm package, a single-character typo-squatting variant of 'axios', contains malicious code executed via preinstall, install, and postinstall hooks. The postinstall.js script harvests a wide range of sensitive files and environment data from the victim's system, including SSH keys, AWS, Google Cloud, Azure credentials, npm configuration, shell histories, browser profiles, crypto wallets, and recursively scans common project directories for .env files. This data is exfiltrated via plain HTTP to a hardcoded IP address. The package's exposed API is non-functional, serving only to mask its malicious intent. Source comments explicitly label the installers as victims, confirming the package's malicious purpose.
Potential Impact
Users who install affected versions of 'axois-utils' risk having extensive sensitive information stolen from their systems, including private keys, cloud credentials, environment variables, and development secrets. This can lead to unauthorized access to cloud resources, code repositories, personal accounts, and potentially financial assets. The data exfiltration occurs silently during installation, increasing the risk of unnoticed compromise.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing or using the 'axois-utils' package entirely. Verify package names carefully to avoid typo-squatting attacks. Remove any instances of this package from projects and systems. Monitor for suspicious network traffic to the indicated IP address. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for updates.
Malicious code in axois-utils (npm)
Description
The npm package 'axois-utils' is a malicious package designed to steal sensitive user data during installation. It uses install hooks to execute a script that collects SSH keys, cloud credentials, shell histories, browser profiles, crypto wallet files, environment variables, and recursively searches common development directories for .env files. The stolen data is sent unencrypted to a hardcoded command-and-control server. The package has no legitimate functionality and explicitly identifies its users as 'victims' in the source code comments.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'axois-utils' npm package, a single-character typo-squatting variant of 'axios', contains malicious code executed via preinstall, install, and postinstall hooks. The postinstall.js script harvests a wide range of sensitive files and environment data from the victim's system, including SSH keys, AWS, Google Cloud, Azure credentials, npm configuration, shell histories, browser profiles, crypto wallets, and recursively scans common project directories for .env files. This data is exfiltrated via plain HTTP to a hardcoded IP address. The package's exposed API is non-functional, serving only to mask its malicious intent. Source comments explicitly label the installers as victims, confirming the package's malicious purpose.
Potential Impact
Users who install affected versions of 'axois-utils' risk having extensive sensitive information stolen from their systems, including private keys, cloud credentials, environment variables, and development secrets. This can lead to unauthorized access to cloud resources, code repositories, personal accounts, and potentially financial assets. The data exfiltration occurs silently during installation, increasing the risk of unnoticed compromise.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing or using the 'axois-utils' package entirely. Verify package names carefully to avoid typo-squatting attacks. Remove any instances of this package from projects and systems. Monitor for suspicious network traffic to the indicated IP address. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-4494
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-pvvv-cmc6-c323"]
- Ecosystems
- ["npm"]
Threat ID: 6a96f319acd9273b49e49787
Added to database: 09/01/2026, 15:45:29 UTC
Last enriched: 09/08/2026, 08:37:47 UTC
Last updated: 09/08/2026, 08:37:47 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.