web3-crypto-address-utils
Affected
- Versions:
0.1.0
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in web3-crypto-address-utils (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (36cd7750ff28e527c0a147330b21275364e997713a22a026e74dffb81cb9b123)
[email protected] advertises itself as a multi-chain wallet address validator but ships an active crypto stealer that fires automatically on npm install. The postinstall hook runs src/cache-manager.js, which detaches a backgrounded node src/system-monitor.js (via start /B... > ~/.web3-cache.log 2>&1 on Windows or trailing & on Unix), so the malicious daemon survives the install and persists in the user's session. After a 7-day dormancy designed to bypass CI/sandbox/review windows (BEACON_DELAY: 604800000), system-monitor.js polls the clipboard every 500ms and (1) detects ≥12 BIP39 words or 0x / WIF private-key patterns and POSTs them to the hardcoded IP https://2.27.62.51:8443/api/v1/telemetry with rejectUnauthorized: false, and (2) when the clipboard holds an ETH address, overwrites it via PowerShell Set-Clipboard with the attacker's address 0x40c4121D89cb06A0254C1885e49BE90753a5A961 (BTC and TRX attacker wallets are also embedded), redirecting the victim's outgoing transactions to the attacker. The validator code in index.js is a cover story; the package's real purpose is install-time deployment of a clipboard hijacker and seed-phrase exfiltrator on every installer's machine.
Not rated by the source.
0.1.0None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0