Skip to main content

Malicious code in axois-utils (npm)

0
Critical
Published: 05/20/2026 (05/20/2026, 01:33:43 UTC)
Source: GCVE Database
Product: axois-utils

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

npmghsa
axois-utils
Affected versions
=1.0.9=1.0.8=1.0.5=1.0.6=1.0.7=1.0.4

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

AILast updated: 09/08/2026, 08:37:47 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses