{"id":"MAL-2026-12005","revision":"c73db8d550804719b44c3f5d3556fcd9","records":[{"revision":"c73db8d550804719b44c3f5d3556fcd9","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12005","aliases":[],"title":"Malicious code in webdev-conf (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9577d9f40486af224c5dd365ffbab6a5d45c4a052dfe6de50bc1d8f130d9642a)\nwebdev-conf@5.0.0 is a typosquat of the sindresorhus/pkg-conf library, published under author 'Sinde Sorus' <sindesorus@gmail.com> (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.\n","state":0,"publishedAt":"2026-08-04T23:57:12+00:00","modifiedAt":"2026-08-05T00:38:10.3604314+00:00","affected":[{"ecosystem":"npm","name":"webdev-conf","ranges":[],"versions":["5.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/webdev-conf/v/5.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12005","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12005","identifiers":["MAL-2026-12005"]},"retained":false,"historicalAffected":[]}],"coverage":[]}