{"id":"MAL-2026-10586","revision":"4a506fb06295449aa3a1b13b330f5aa1","records":[{"revision":"4a506fb06295449aa3a1b13b330f5aa1","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10586","aliases":[],"title":"Malicious code in crypto-validate-lib (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f3d8b69cab723043b20a628a6cd17f0e5cc64051004d9beb43d4b9ed58dbd9a0)\nindex.js contains a self-invoking IIFE that, 37 seconds after the module is required, reads a base64 blob from test/fixtures/keypairs.dat (a ~53KB opaque file masquerading as test data), decodes it to ~40KB of JavaScript, writes the result to ~/.cache-db/.node-sync/syncd.js with mode 0o700, and spawns it via a detached node child process. Persistence is installed alongside the drop: on Linux a crontab entry is appended running the dropped script every 12 hours, and on Windows a scheduled task named 'WinNodeSync' is created to run it hourly (mod 12). The hidden dot-directory name and the scheduled-task name masquerade as benign Node caching. The package is advertised as a crypto address validator; decoding a bundled opaque blob, writing it to a hidden home-directory path, installing cron/schtasks persistence, and background-executing it has no relationship to that purpose.\n","state":0,"publishedAt":"2026-07-14T13:58:43+00:00","modifiedAt":"2026-08-19T04:30:10.9915552+00:00","affected":[{"ecosystem":"npm","name":"crypto-validate-lib","ranges":[],"versions":["1.0.1","1.0.2","1.0.3","1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/crypto-validate-lib/v/1.0.1","https://www.npmjs.com/package/crypto-validate-lib/v/1.0.2","https://www.npmjs.com/package/crypto-validate-lib/v/1.0.3","https://www.npmjs.com/package/crypto-validate-lib/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10586","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10586","identifiers":["MAL-2026-10586"]},"retained":false,"historicalAffected":[]}],"coverage":[]}