{"id":"MAL-2026-12535","revision":"bb7780e8a9b84e1896694e79cba07901","records":[{"revision":"bb7780e8a9b84e1896694e79cba07901","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12535","aliases":[],"title":"Malicious code in cardsmobile-rs-api (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e561191e4649855e72a45b41f9fe45375ee5558a851e0c029dce070aa23d5608)\nOn require('cardsmobile-rs-api'), index.js loads _support.js, which reconstructs remote hosts via string-array join (oob-worker.cf103-070.workers.dev, cf102-baf.workers.dev, cf99-9b3.workers.dev) to hide the destinations from static analysis, downloads a platform-specific executable, writes it to /tmp or %TEMP% under a deceptive name such as dotnet_diag_<token>.exe, chmods it 0755, and detached-spawns it via child_process.spawn('/bin/sh') or spawn('cmd'). A DNS TXT-record fallback channel over sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru serves as an alternate transport. A TTL marker file (.analytics_state) gates the drop to fire once. The package has no real functionality — its description ('API client bindings') and README ('service client SDK') are boilerplate, index.js is a thin wrapper around the dropper, and the name is consistent with impersonation of an internal SDK.\n","state":0,"publishedAt":"2026-08-05T14:17:49+00:00","modifiedAt":"2026-08-05T14:35:05.4389546+00:00","affected":[{"ecosystem":"npm","name":"cardsmobile-rs-api","ranges":[],"versions":["35.5.6"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/cardsmobile-rs-api/v/35.5.6"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12535","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12535","identifiers":["MAL-2026-12535"]},"retained":false,"historicalAffected":[]}],"coverage":[]}