Malicious code in nodepathbalance54 (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (d5ade836e7f92049242a01dbc0782900900c4e28eb7e08f9d9ebc611aab80762) nodepathbalance54 exports a single function (`nodeaxionweb`) whose implementation is hidden inside a hand-rolled stack-based JavaScript VM in index.js (functions iL/iw with ~200 opcodes, base64-encoded bytecode chunks in array S). Decoding the VM's constant pool reveals a hardcoded Telegram bot token (8604230339:AAE0jcxBc1QC_YV1Um6TT4bvC0mgZGlhoy4), chat id (-1002861294159), the base URL https://api.telegram.org/bot, and a message template prefixed `Private Key: ` followed by getLocalIP / getPublicIP / os.hostname / platform / arch / ISO timestamp fields, posted via axios.post to /sendMessage. Any caller that invokes the exported API with a wallet private key (the package depends on `[email protected]` and is named/described in the wallet-tooling family) silently relays that key plus host fingerprinting data to the attacker's Telegram channel. The custom-VM obfuscation has no legitimate engineering purpose in a 100KB utility module and is paired with a numeric-suffix squat cluster (nodepathbalance45/54) where this package also pulls in nodepathbalance45 as a dependency. ## Source: ghsa-malware (cdc355f0a37fdea9334e29b85d8ee4fa970dfc51471cd95d9ebaa5d1f7e7e9ee) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
AI Analysis
Technical Summary
[email protected] exports a function that, when called with a wallet private key, uses a hand-rolled stack-based JavaScript VM to exfiltrate that key along with host fingerprinting data to a Telegram bot controlled by the attacker. The exfiltration is performed by sending a message via the Telegram Bot API, including private key and system details such as IP addresses, hostname, platform, architecture, and timestamp. The package is obfuscated and part of a numeric-suffix squat cluster, also depending on nodepathbalance45. This behavior indicates a fully compromised system upon installation or execution of the package.
Potential Impact
Any system with [email protected] installed or running is fully compromised, as private keys and system fingerprinting data are silently sent to an attacker-controlled Telegram channel. This leads to the exposure of sensitive cryptographic secrets and potentially complete loss of control over wallet assets. The attacker gains persistent access to sensitive information, which can be used for further attacks or theft.
Mitigation Recommendations
Remove the nodepathbalance54 package immediately from all affected systems. Rotate all secrets and keys that may have been exposed, performing this rotation from a separate, uncompromised system. Because the package gives attackers full control, consider the system fully compromised and perform a thorough security assessment and remediation. No official patch or fix is available for this malicious package.
Malicious code in nodepathbalance54 (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (d5ade836e7f92049242a01dbc0782900900c4e28eb7e08f9d9ebc611aab80762) nodepathbalance54 exports a single function (`nodeaxionweb`) whose implementation is hidden inside a hand-rolled stack-based JavaScript VM in index.js (functions iL/iw with ~200 opcodes, base64-encoded bytecode chunks in array S). Decoding the VM's constant pool reveals a hardcoded Telegram bot token (8604230339:AAE0jcxBc1QC_YV1Um6TT4bvC0mgZGlhoy4), chat id (-1002861294159), the base URL https://api.telegram.org/bot, and a message template prefixed `Private Key: ` followed by getLocalIP / getPublicIP / os.hostname / platform / arch / ISO timestamp fields, posted via axios.post to /sendMessage. Any caller that invokes the exported API with a wallet private key (the package depends on `[email protected]` and is named/described in the wallet-tooling family) silently relays that key plus host fingerprinting data to the attacker's Telegram channel. The custom-VM obfuscation has no legitimate engineering purpose in a 100KB utility module and is paired with a numeric-suffix squat cluster (nodepathbalance45/54) where this package also pulls in nodepathbalance45 as a dependency. ## Source: ghsa-malware (cdc355f0a37fdea9334e29b85d8ee4fa970dfc51471cd95d9ebaa5d1f7e7e9ee) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
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
[email protected] exports a function that, when called with a wallet private key, uses a hand-rolled stack-based JavaScript VM to exfiltrate that key along with host fingerprinting data to a Telegram bot controlled by the attacker. The exfiltration is performed by sending a message via the Telegram Bot API, including private key and system details such as IP addresses, hostname, platform, architecture, and timestamp. The package is obfuscated and part of a numeric-suffix squat cluster, also depending on nodepathbalance45. This behavior indicates a fully compromised system upon installation or execution of the package.
Potential Impact
Any system with [email protected] installed or running is fully compromised, as private keys and system fingerprinting data are silently sent to an attacker-controlled Telegram channel. This leads to the exposure of sensitive cryptographic secrets and potentially complete loss of control over wallet assets. The attacker gains persistent access to sensitive information, which can be used for further attacks or theft.
Mitigation Recommendations
Remove the nodepathbalance54 package immediately from all affected systems. Rotate all secrets and keys that may have been exposed, performing this rotation from a separate, uncompromised system. Because the package gives attackers full control, consider the system fully compromised and perform a thorough security assessment and remediation. No official patch or fix is available for this malicious package.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6192
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-hrp4-xprg-wqxw"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4c341527e9c797195f7ef1
Added to database: 07/06/2026, 23:02:45 UTC
Last enriched: 07/06/2026, 23:18:41 UTC
Last updated: 07/27/2026, 07:11:43 UTC
Views: 16
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.