{"id":"MAL-2026-12177","revision":"fa67d871b3e74088b4ab42c4c53a2ec5","records":[{"revision":"fa67d871b3e74088b4ab42c4c53a2ec5","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12177","aliases":[],"title":"Malicious code in devpack-conf (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (fabc4baeb912d72d08ef42d8b6b5e147b1f7dc18fc01e796bc6ac17f1c7dff68)\ndevpack-conf@5.0.0 is a typosquat of pkg-conf. index.js contains a top-level eval(atob(...)) that decodes an obfuscated loader. The loader queries Ethereum RPC/blockscout endpoints for transactions from the hardcoded address 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a, extracts an IPv4 address from the transaction's `to` field, fetches an XOR-encoded payload from http://<resolved-ip>:443/0x/cls and /0x/ls (XOR key delivered via the x-payload-b64 response header), eval()s the decrypted payload, and spawns a detached `node -e <payload>` child process with stdio:'ignore' and windowsHide:true. Sensitive strings (`http`, `https`, `child_process`, `spawn`, endpoint paths) are hidden behind \\u unicode escapes. The malicious code executes automatically at require/import time on any consumer of the package.\n","state":0,"publishedAt":"2026-08-05T08:49:50+00:00","modifiedAt":"2026-08-05T10:06:08.2100955+00:00","affected":[{"ecosystem":"npm","name":"devpack-conf","ranges":[],"versions":["5.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/devpack-conf/v/5.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12177","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12177","identifiers":["MAL-2026-12177"]},"retained":false,"historicalAffected":[]}],"coverage":[]}