{"schema_version":"1.8.0","id":"MAL-2026-12523","published":"2026-08-05T14:17:57Z","modified":"2026-08-05T14:34:55.501246121Z","summary":"Malicious code in cards-forms-cards-core-clone (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9d987094f38a49c0bb9ae5329e3ff47d97489ee5af348ebc7e056e752cffc1fb)\nOn require(), index.js loads _runtime.js which detects OS and CPU architecture, reconstructs C2 hostnames from split string fragments (oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf99-9b3.workers.dev), and downloads a platform-specific executable over HTTPS. If those origins are unreachable, it falls back to a DNS-TXT-based delivery channel that reassembles a base64-encoded payload from numbered subdomains under *.dl.wel1.ru. The fetched binary is written to /tmp or %TEMP% under a disguised name (e.g. dotnet_diag_<rand>.exe or.cache_<rand>), chmodded 0755, and spawned detached via /bin/sh -c or cmd /c start. A TTL cache file (/tmp/.analytics_state) suppresses re-detonation on subsequent installs. The package name resembles a legitimate forms/cards library but ships no matching functionality; its only import-time effect is dropper execution.\n","affected":[{"package":{"name":"cards-forms-cards-core-clone","ecosystem":"npm","purl":"pkg:npm/cards-forms-cards-core-clone"},"versions":["35.3.2"],"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":"_runtime.js","sha256":"35703c454c3d5298b24df675ed558e057e63193b33bfb063bffacd25f942170e","tlsh":"8fa1979a166671088bb0dbe4ca274416f65bf6633780c2d4f79ca5985fb31244372efc"}],"package_integrity":[{"filename":"cards-forms-cards-core-clone-35.3.2.tgz","hashes":{"sha1":"7dcdd4ee4e30136bba54f0169ddfbb7de015cc79","sha512_sri":"sha512-LkKunPujvYuvQKXyzhrx59FJryAzHggGXACScYekvoUNNziUzgjwDTAsh1MLlT2lyiCUcNOsmDPM693LI08qUw=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/cards-forms-cards-core-clone/MAL-2026-12523.json"}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/cards-forms-cards-core-clone/v/35.3.2"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015245","import_time":"2026-08-05T14:20:16.205362206Z","modified_time":"2026-08-05T14:17:57Z","sha256":"9d987094f38a49c0bb9ae5329e3ff47d97489ee5af348ebc7e056e752cffc1fb","source":"amazon-inspector","versions":["35.3.2"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}