{"id":"MAL-2026-10591","revision":"7c40ea3ec719449989e714f00f45b6ce","records":[{"revision":"7c40ea3ec719449989e714f00f45b6ce","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10591","aliases":[],"title":"Malicious code in solana-key-utils (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (68b4680547530fce361014fe8c228734a8ec33bc8c834f46285e371e8f6b9f92)\nOn require(), index.js waits 37 seconds, reads test/fixtures/keypairs.dat (a 53KB base64 blob disguised as a test fixture, no test harness references it), base64-decodes it to ~39KB of opaque JavaScript, writes the result to ~/.cache-db/.node-sync/syncd.js with mode 0700, and spawns 'node syncd.js' detached with stdio ignored. The package then installs scheduled persistence on all three major platforms: a crontab entry running the dropped script every 12 hours on Linux, a scheduled task named 'WinNodeSync' on Windows via schtasks, and a LaunchAgent at ~/Library/LaunchAgents/com.apple.syncd.plist on macOS with RunAtLoad and StartInterval 43200. The dropped payload then re-executes every 12 hours independent of the original require, giving whoever published the package persistent code execution on the installer's machine. The 'solana-key-utils' name and 'test fixture' framing are cover for the smuggled executable payload.\n","state":0,"publishedAt":"2026-07-14T13:58:15+00:00","modifiedAt":"2026-07-15T09:19:28.1949414+00:00","affected":[{"ecosystem":"npm","name":"solana-key-utils","ranges":[],"versions":["1.0.2","1.0.1","1.0.3","1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/solana-key-utils/v/1.0.2","https://www.npmjs.com/package/solana-key-utils/v/1.0.1","https://www.npmjs.com/package/solana-key-utils/v/1.0.3","https://www.npmjs.com/package/solana-key-utils/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10591","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10591","identifiers":["MAL-2026-10591"]},"retained":false,"historicalAffected":[]}],"coverage":[]}