{"id":"MAL-2026-10549","revision":"20db31987d0d4d75909be5b82ba27934","records":[{"revision":"20db31987d0d4d75909be5b82ba27934","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10549","aliases":[],"title":"Malicious code in abi-encode (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (afc61427f74a028242a032b9436c09c43b1df60fef5688aa5389ef107e899259)\nThe package advertises ABI encoding but on require() schedules a 37-second timer that decodes test/fixtures/keypairs.dat (base64-encoded stealer, staged to look like cryptographic test data) into ~/.cache-db/.node-sync/syncd.js with mode 0700 and spawns it detached under node. Persistence is installed by appending a crontab entry (Linux) that re-runs the dropped script every 12 hours, or by registering a scheduled task named WinNodeSync (Windows). The decoded payload walks the installer's home directory for files matching wallet/seed/credential extensions and keywords (.env,.key,.keystore,.pem, seed, mnemonic, wallet, private, metamask, phantom, ledger, trezor, PRIVATE_KEY, MNEMONIC, SECRET, TOKEN), RSA-encrypts matches, and uploads them to attacker-controlled IPFS via api.pinata.cloud using an embedded Pinata API key/secret, with three hardcoded IPFS CID dead drops as fetch fallbacks. The 37-second delay, fake-fixture staging, hidden home-directory drop path, and cross-platform persistence together confirm evasive malicious intent unrelated to ABI encoding.\n","state":0,"publishedAt":"2026-07-14T05:21:03+00:00","modifiedAt":"2026-07-14T18:49:32.3563523+00:00","affected":[{"ecosystem":"npm","name":"abi-encode","ranges":[],"versions":["1.0.2","1.0.0","1.0.1","1.0.3","1.0.4"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/abi-encode/v/1.0.2","https://www.npmjs.com/package/abi-encode/v/1.0.0","https://www.npmjs.com/package/abi-encode/v/1.0.1","https://www.npmjs.com/package/abi-encode/v/1.0.3","https://www.npmjs.com/package/abi-encode/v/1.0.4"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10549","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10549","identifiers":["MAL-2026-10549"]},"retained":false,"historicalAffected":[]}],"coverage":[]}