Malicious code in webdev-conf (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12005
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (9577d9f40486af224c5dd365ffbab6a5d45c4a052dfe6de50bc1d8f130d9642a) [email protected] is a typosquat of the sindresorhus/pkg-conf library, published under author 'Sinde Sorus' <[email protected]> (homoglyph of Sindre Sorhus). index.js appends an eval(atob(...)) block after the legitimate library code. On require(), the decoded payload queries public Ethereum RPC endpoints and blockscout.com/api for the latest transaction sent from the attacker address 0xa322E5f3D311D3080e6f01210263e9aDC2490Ef1, extracts an IP address from that transaction, then fetches XOR-encrypted next-stage JavaScript from http://<IP>:443/0x/cls and http://<IP>:443/0x/ls, eval()s it in-process, and re-executes it via spawn('node', ['-e', payload], {detached:true, windowsHide:true}).unref(). Identifiers such as http, https, child_process, spawn, and the RPC URLs are hidden with \uXXXX unicode escapes. The C2 IP is rotatable by the attacker via on-chain transactions (EtherHiding technique). Any package that require()s webdev-conf triggers remote code execution on the installer's host.
- Source published
- 4 Aug 2026 23:57:12 UTC
- Source modified
- 5 Aug 2026 00:38:10 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.