{"id":"MAL-2026-12531","revision":"fc3e3ed2bee44e78a2c8224a5853d841","records":[{"revision":"fc3e3ed2bee44e78a2c8224a5853d841","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12531","aliases":[],"title":"Malicious code in cardsmobile-data-utils (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a5f06952752248dcbd4411398f97014f1fd133db0cb66bfeb2b7121a4f974feb)\nOn require() of cardsmobile-data-utils, index.js loads./_vendor.js, which downloads a platform-specific native executable over HTTPS from hardcoded Cloudflare Workers hosts (oob-worker.cf103-070.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf101-adf.workers.dev) with a DNS-TXT chunked fallback to *.dl.wel1.ru, writes it under /var/tmp or %TEMP% with a randomized name, chmods it 0755 on Unix, and spawns it detached via /bin/sh -c or cmd. No hash or signature verification is performed and the destinations are unrelated to the package's advertised 'helper methods' purpose. Hostnames and sensitive API names are assembled from split string fragments (['oob-wor','ker.cf101-a','df','.workers.','dev'].join(''), 'child_'+'process', fs['chmod'+'Sync']) to evade static inspection. A second copy of the download-write-chmod-spawn chain is shipped in lib/telemetry.js (~81 KB) disguised as an APM/telemetry SDK, with base64-decoded payload buffering and the same detached shell spawn, providing a redundant staged payload in the tarball.\n","state":0,"publishedAt":"2026-08-05T14:17:21+00:00","modifiedAt":"2026-08-05T14:35:02.4470796+00:00","affected":[{"ecosystem":"npm","name":"cardsmobile-data-utils","ranges":[],"versions":["35.6.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/cardsmobile-data-utils/v/35.6.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12531","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12531","identifiers":["MAL-2026-12531"]},"retained":false,"historicalAffected":[]}],"coverage":[]}