Malicious code in @baanx/abis (npm)
The npm package @baanx/abis version 9.9.11 contains malicious code that performs DNS-based exfiltration of the installer's host identity. During installation and runtime, it collects the OS username, hostname, and current working directory name, combines these with a timestamp and a specific prefix, and sends this data via DNS queries to an attacker-controlled domain. This behavior is disguised under misleading telemetry and connectivity probe comments. The package compromises the host system, potentially exposing all stored secrets and keys.
AI Analysis
Technical Summary
The @baanx/abis npm package version 9.9.11 declares an install script that executes code loading a module which collects sensitive host information (OS username, hostname, current working directory basename) and sends it via DNS resolution requests to a malicious domain (oob.algamil7x.xyz). The code is obfuscated using character code hex arrays and disguised with comments suggesting telemetry functionality. This exfiltration occurs automatically on npm install and on require, indicating persistent malicious behavior. The package is unrelated to legitimate smart-contract ABI libraries and represents a supply chain compromise.
Potential Impact
Any system with @baanx/abis version 9.9.11 installed or running is considered fully compromised. The attacker-controlled DNS queries leak host identity information, and the presence of this package implies potential full control by an attacker. All secrets and keys stored on the compromised system should be considered exposed and must be rotated immediately. Removing the package alone does not guarantee removal of all malicious artifacts or backdoors.
Mitigation Recommendations
Immediate removal of the @baanx/abis package version 9.9.11 is required. All secrets and keys stored on the affected system should be rotated from a separate, trusted environment. Due to the potential full compromise, consider rebuilding or restoring the system from a known good backup. No official patch or fix is available; the package itself is malicious. Monitor for any signs of persistent compromise beyond the package installation.
Malicious code in @baanx/abis (npm)
Description
The npm package @baanx/abis version 9.9.11 contains malicious code that performs DNS-based exfiltration of the installer's host identity. During installation and runtime, it collects the OS username, hostname, and current working directory name, combines these with a timestamp and a specific prefix, and sends this data via DNS queries to an attacker-controlled domain. This behavior is disguised under misleading telemetry and connectivity probe comments. The package compromises the host system, potentially exposing all stored secrets and keys.
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 @baanx/abis npm package version 9.9.11 declares an install script that executes code loading a module which collects sensitive host information (OS username, hostname, current working directory basename) and sends it via DNS resolution requests to a malicious domain (oob.algamil7x.xyz). The code is obfuscated using character code hex arrays and disguised with comments suggesting telemetry functionality. This exfiltration occurs automatically on npm install and on require, indicating persistent malicious behavior. The package is unrelated to legitimate smart-contract ABI libraries and represents a supply chain compromise.
Potential Impact
Any system with @baanx/abis version 9.9.11 installed or running is considered fully compromised. The attacker-controlled DNS queries leak host identity information, and the presence of this package implies potential full control by an attacker. All secrets and keys stored on the compromised system should be considered exposed and must be rotated immediately. Removing the package alone does not guarantee removal of all malicious artifacts or backdoors.
Mitigation Recommendations
Immediate removal of the @baanx/abis package version 9.9.11 is required. All secrets and keys stored on the affected system should be rotated from a separate, trusted environment. Due to the potential full compromise, consider rebuilding or restoring the system from a known good backup. No official patch or fix is available; the package itself is malicious. Monitor for any signs of persistent compromise beyond the package installation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-16351
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-598m-93qh-82f9"]
- Ecosystems
- ["npm"]
Threat ID: 6ab4be1df7a7c54106eee6b3
Added to database: 09/24/2026, 06:07:25 UTC
Last enriched: 09/24/2026, 06:15:46 UTC
Last updated: 09/24/2026, 08:01:59 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.
External Links
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.