{"schema_version":"1.8.0","id":"MAL-2026-12528","published":"2026-08-05T14:18:35Z","modified":"2026-08-05T14:34:59.373608002Z","summary":"Malicious code in cards-forms-debit-clone (npm)","details":"\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","affected":[{"package":{"name":"cards-forms-debit-clone","ecosystem":"npm","purl":"pkg:npm/cards-forms-debit-clone"},"versions":["35.2.3"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"_shim.js","sha256":"18699570b4392250b79741d5f69f32b5edc75b68c9d7def8b62737e2df65717f","tlsh":"98a1866a16a971184bb0ebe4c7175416f567f653338082d8fb9c65941fb31248372efc"}],"package_integrity":[{"filename":"cards-forms-debit-clone-35.2.3.tgz","hashes":{"sha1":"64d8d83d9140c42a40a3ff224ed60e464b6c8a15","sha512_sri":"sha512-xZi0QQi505qRjsCJvoZV5jZh51eUvFC7arYxnsJ2F8dXsjpgl7kvYNcteRFqqqfcM6QEctDL21QwAHcREsMhRQ=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/cards-forms-debit-clone/MAL-2026-12528.json"}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/cards-forms-debit-clone/v/35.2.3"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015249","import_time":"2026-08-05T14:20:16.5685452Z","modified_time":"2026-08-05T14:18:35Z","sha256":"7cfb99b5f4ad953f445a050a5cb70c26e477398cedef5406fdce1343887a6e38","source":"amazon-inspector","versions":["35.2.3"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}