Malicious code in @vboxdev/common (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (d4b16f8f98ad89c1276884f96b2ef878d2c597356aa2194c7067d2d0bbda943f) build/index.js appends an eval(atob('...')) block that fires when the module is required. The decoded payload queries Ethereum JSON-RPC endpoints (eth.blockscout.com, 1rpc.io/eth, eth.drpc.org, blastapi.io) for transactions from a hardcoded attacker wallet (0xa322E5f3D311D3080e6f01210639aDC2490Ef1a), reconstructs an IPv4 address from the bytes of tx.to, then fetches http://<resolved-ip>:443/0x/cls and http://<resolved-ip>:443/0x/ls. The response body is XOR-decoded with a hardcoded key and executed via eval() and a detached spawn('node','-e',...) child process (detached:true, stdio:'ignore', windowsHide:true, unref()). The C2 endpoint is mutable — the attacker rotates it by publishing new on-chain transactions from the controlled wallet — giving persistent remote code execution on any machine that imports the library. All require targets, URLs, HTTP header/method names, and error strings in the appended region are written as \u00XX unicode escapes and wrapped in base64+atob+eval; the legitimate __exportStar re-exports above the appended block are plain text, so the sole obfuscated region is the loader. ## Source: ghsa-malware (cd595e257df7f4732d6451f4cb0203806490fb7226f8815b0c583cf860d3b3ce) 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
The @vboxdev/common npm package version 1.0.73 includes an obfuscated eval(atob('...')) block appended to its build/index.js file. This block activates upon requiring the module, querying Ethereum JSON-RPC endpoints for transactions from a specific attacker-controlled wallet address. It reconstructs an IPv4 address from the transaction 'to' field bytes and fetches additional payloads from this dynamically resolved IP over HTTP on port 443. The fetched payloads are XOR-decoded with a hardcoded key and executed via eval() and a detached Node.js child process, enabling persistent remote code execution. The attacker rotates the C2 endpoint by publishing new transactions from the wallet, allowing ongoing control. All malicious code strings are heavily obfuscated using Unicode escapes and base64 encoding, with only the legitimate exports in plain text.
Potential Impact
This malicious package enables an attacker to execute arbitrary code remotely on any system that imports version 1.0.73 of @vboxdev/common. The attacker gains persistent remote code execution by dynamically updating the command and control server via blockchain transactions. This can lead to full system compromise, unauthorized access, and potential lateral movement within affected environments.
Mitigation Recommendations
No official patch or remediation guidance is provided in the available data. Users should immediately stop using @vboxdev/common version 1.0.73 and remove it from their projects. Audit dependencies for this package and replace it with a trusted alternative. Monitor for any signs of compromise on systems that imported this package. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for updates.
Malicious code in @vboxdev/common (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (d4b16f8f98ad89c1276884f96b2ef878d2c597356aa2194c7067d2d0bbda943f) build/index.js appends an eval(atob('...')) block that fires when the module is required. The decoded payload queries Ethereum JSON-RPC endpoints (eth.blockscout.com, 1rpc.io/eth, eth.drpc.org, blastapi.io) for transactions from a hardcoded attacker wallet (0xa322E5f3D311D3080e6f01210639aDC2490Ef1a), reconstructs an IPv4 address from the bytes of tx.to, then fetches http://<resolved-ip>:443/0x/cls and http://<resolved-ip>:443/0x/ls. The response body is XOR-decoded with a hardcoded key and executed via eval() and a detached spawn('node','-e',...) child process (detached:true, stdio:'ignore', windowsHide:true, unref()). The C2 endpoint is mutable — the attacker rotates it by publishing new on-chain transactions from the controlled wallet — giving persistent remote code execution on any machine that imports the library. All require targets, URLs, HTTP header/method names, and error strings in the appended region are written as \u00XX unicode escapes and wrapped in base64+atob+eval; the legitimate __exportStar re-exports above the appended block are plain text, so the sole obfuscated region is the loader. ## Source: ghsa-malware (cd595e257df7f4732d6451f4cb0203806490fb7226f8815b0c583cf860d3b3ce) 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
The @vboxdev/common npm package version 1.0.73 includes an obfuscated eval(atob('...')) block appended to its build/index.js file. This block activates upon requiring the module, querying Ethereum JSON-RPC endpoints for transactions from a specific attacker-controlled wallet address. It reconstructs an IPv4 address from the transaction 'to' field bytes and fetches additional payloads from this dynamically resolved IP over HTTP on port 443. The fetched payloads are XOR-decoded with a hardcoded key and executed via eval() and a detached Node.js child process, enabling persistent remote code execution. The attacker rotates the C2 endpoint by publishing new transactions from the wallet, allowing ongoing control. All malicious code strings are heavily obfuscated using Unicode escapes and base64 encoding, with only the legitimate exports in plain text.
Potential Impact
This malicious package enables an attacker to execute arbitrary code remotely on any system that imports version 1.0.73 of @vboxdev/common. The attacker gains persistent remote code execution by dynamically updating the command and control server via blockchain transactions. This can lead to full system compromise, unauthorized access, and potential lateral movement within affected environments.
Mitigation Recommendations
No official patch or remediation guidance is provided in the available data. Users should immediately stop using @vboxdev/common version 1.0.73 and remove it from their projects. Audit dependencies for this package and replace it with a trusted alternative. Monitor for any signs of compromise on systems that imported this package. 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-12330
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735746bf8831d53915a039
Added to database: 08/05/2026, 15:31:18 UTC
Last enriched: 08/05/2026, 17:32:27 UTC
Last updated: 09/07/2026, 21:58:34 UTC
Views: 15
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.