Malicious code in @baanx/blockchain-config (npm)
The npm package '@baanx/blockchain-config' version 9.9.11 contains malicious code that executes automatically during installation and when required. It performs an obfuscated probe that collects system information including the username, hostname, and current working directory, then exfiltrates this data via DNS queries to an external domain unrelated to the legitimate publisher. This behavior indicates a compromise of any system where the package is installed, potentially exposing all stored secrets and keys.
AI Analysis
Technical Summary
The '@baanx/blockchain-config' npm package version 9.9.11 includes malicious code embedded in obfuscated scripts that run during the install lifecycle and module loading. The code collects sensitive system information such as os.userInfo().username, os.hostname(), and the basename of process.cwd(), concatenates these with a static tag and a timestamp, and sends this data via DNS resolution requests to a non-affiliated external domain 'oob.algamil7x.xyz'. The obfuscation uses hex-decoded byte arrays and dynamic module loading to evade static analysis. This exfiltration occurs automatically on 'npm install' and on requiring the package, indicating a supply chain compromise.
Potential Impact
Any system with this package installed or running is considered fully compromised. The malicious code exfiltrates sensitive system identity information to an attacker-controlled domain, potentially allowing unauthorized access or further exploitation. All secrets and keys stored on the compromised system should be considered exposed and must be rotated immediately from a secure, unaffected environment. Removal of the package alone does not guarantee elimination of all malicious artifacts or backdoors.
Mitigation Recommendations
Immediate removal of the '@baanx/blockchain-config' package version 9.9.11 is required. All secrets, credentials, and keys stored on the affected system should be rotated from a different, trusted machine. Due to the full compromise risk, a thorough system investigation and remediation are recommended. No official patch or fix is indicated; users should avoid this package version entirely.
Malicious code in @baanx/blockchain-config (npm)
Description
The npm package '@baanx/blockchain-config' version 9.9.11 contains malicious code that executes automatically during installation and when required. It performs an obfuscated probe that collects system information including the username, hostname, and current working directory, then exfiltrates this data via DNS queries to an external domain unrelated to the legitimate publisher. This behavior indicates a compromise of any system where the package is installed, 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/blockchain-config' npm package version 9.9.11 includes malicious code embedded in obfuscated scripts that run during the install lifecycle and module loading. The code collects sensitive system information such as os.userInfo().username, os.hostname(), and the basename of process.cwd(), concatenates these with a static tag and a timestamp, and sends this data via DNS resolution requests to a non-affiliated external domain 'oob.algamil7x.xyz'. The obfuscation uses hex-decoded byte arrays and dynamic module loading to evade static analysis. This exfiltration occurs automatically on 'npm install' and on requiring the package, indicating a supply chain compromise.
Potential Impact
Any system with this package installed or running is considered fully compromised. The malicious code exfiltrates sensitive system identity information to an attacker-controlled domain, potentially allowing unauthorized access or further exploitation. All secrets and keys stored on the compromised system should be considered exposed and must be rotated immediately from a secure, unaffected environment. Removal of the package alone does not guarantee elimination of all malicious artifacts or backdoors.
Mitigation Recommendations
Immediate removal of the '@baanx/blockchain-config' package version 9.9.11 is required. All secrets, credentials, and keys stored on the affected system should be rotated from a different, trusted machine. Due to the full compromise risk, a thorough system investigation and remediation are recommended. No official patch or fix is indicated; users should avoid this package version entirely.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-16352
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-f67m-pjx9-96cv"]
- Ecosystems
- ["npm"]
Threat ID: 6ab4be1df7a7c54106eee6b2
Added to database: 09/24/2026, 06:07:25 UTC
Last enriched: 09/24/2026, 06:15:40 UTC
Last updated: 09/24/2026, 08:01:55 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.