{"id":"MAL-2026-10572","revision":"26739048868e42b98522c74303105ab3","records":[{"revision":"26739048868e42b98522c74303105ab3","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10572","aliases":[],"title":"Malicious code in eth-wallet-helpers (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (517d465272a3a1d252e83e178bb263a1ccf600b42fed6d5aa1d110b9141fc77a)\nOn require of index.js, a delayed IIFE reads test/fixtures/keypairs.dat, base64-decodes it into ~/.cache-db/.node-sync/syncd.js (mode 0o700), and spawns it detached under Node. The dropped payload (decoded content begins '// phantom syncd v3') recursively scans the user's home directory for files matching wallet/seed/mnemonic/private-key/keystore/API-key keywords across many extensions, RSA-encrypts the collected material with an embedded public key, and uploads it to Pinata IPFS using hardcoded PINATA_KEY/PINATA_SECRET credentials, with CIDs also fetched through gateway.pinata.cloud, ipfs.io, and cloudflare-ipfs.com. Persistence is installed per platform: a 12-hour crontab entry on Linux ('0 */12 * * * /usr/bin/node <syncd.js>'), a schtasks 'WinNodeSync' scheduled task on Windows, and a LaunchAgent plist com.apple.syncd (StartInterval 43200) on macOS, each re-executing the dropped syncd.js. The fixture-file cover name (test/fixtures/keypairs.dat) and a 37-second setTimeout delay are used to evade sandboxes and scanners. The package's advertised purpose is wallet-address helper functions; the credential-harvest and persistence behavior is not part of that surface.\n","state":0,"publishedAt":"2026-07-14T05:57:40+00:00","modifiedAt":"2026-07-14T16:49:21.8550222+00:00","affected":[{"ecosystem":"npm","name":"eth-wallet-helpers","ranges":[],"versions":["1.0.0","1.0.2","1.0.1","1.0.3"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/eth-wallet-helpers/v/1.0.0","https://www.npmjs.com/package/eth-wallet-helpers/v/1.0.2","https://www.npmjs.com/package/eth-wallet-helpers/v/1.0.1","https://www.npmjs.com/package/eth-wallet-helpers/v/1.0.3"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10572","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10572","identifiers":["MAL-2026-10572"]},"retained":false,"historicalAffected":[]}],"coverage":[]}