{"id":"MAL-2026-12528","revision":"01099470d8944ed3b4cce10c7bd6c839","records":[{"revision":"01099470d8944ed3b4cce10c7bd6c839","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12528","aliases":[],"title":"Malicious code in cards-forms-debit-clone (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7cfb99b5f4ad953f445a050a5cb70c26e477398cedef5406fdce1343887a6e38)\nOn require(), index.js loads _shim.js which downloads a platform-specific binary from anonymous *.workers.dev subdomains (hostnames assembled at runtime by joining split string fragments to evade static matching), writes the bytes to /tmp or %TEMP% under disguised names (\".cache_<hex>\" on Unix, \"dotnet_diag_<hex>.exe\" on Windows), chmods 0755, and spawns the binary detached via child_process.spawn(\"/bin/sh\") or spawn(\"cmd\"). If HTTPS retrieval fails, a DNS TXT fallback channel against *.dl.wel1.ru reads a chunk count from c.<domain>, iterates N subdomains to reassemble a base64-encoded payload, and executes the decoded bytes. No signature or hash verification is performed, the fetched content is opaque, and the routine is labeled \"telemetry\" as a cover story with a nominal opt-out. The behavior fires on any import of the package.\n","state":0,"publishedAt":"2026-08-05T14:18:35+00:00","modifiedAt":"2026-08-05T14:34:59.373608+00:00","affected":[{"ecosystem":"npm","name":"cards-forms-debit-clone","ranges":[],"versions":["35.2.3"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/cards-forms-debit-clone/v/35.2.3"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12528","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12528","identifiers":["MAL-2026-12528"]},"retained":false,"historicalAffected":[]}],"coverage":[]}