{"id":"MAL-2026-12667","summary":"Malicious code in csc-csc-core (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0339e6587ac1d675e493fc3edc1e7d325982284f794a681327053e1131ce689c)\nOn require of csc-csc-core, index.js loads _init.js which downloads a platform-specific binary from string-split obfuscated Cloudflare Workers hostnames (oob-worker.cf100-416.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf103-070.workers.dev) with a DNS TXT chunked fallback via *.dl.wel1.ru subdomains, writes it to /var/tmp or %TEMP% under a disguised name (e.g..cache_\u003chex\u003e, dotnet_diag_\u003chex\u003e.exe), chmods 0755, and spawns it detached via cp.spawn('/bin/sh',['-c', fp+' &'],{detached:true}).unref(). C2 hostnames and resolver domains are assembled at runtime from arrays of fragments to defeat static scanners. A /tmp cooldown marker and DO_NOT_TRACK opt-out are used to evade sandboxes. The README advertises the package as a 'base framework module' with no such behavior.\n","modified":"2026-08-05T14:36:16.163146071Z","published":"2026-08-05T13:58:36Z","database_specific":{"malicious-packages-origins":[{"sha256":"0339e6587ac1d675e493fc3edc1e7d325982284f794a681327053e1131ce689c","source":"amazon-inspector","versions":["35.8.6"],"id":"IN-MAL-2026-015115","import_time":"2026-08-05T14:20:03.630660412Z","modified_time":"2026-08-05T13:58:36Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/csc-csc-core/v/35.8.6"}],"affected":[{"package":{"name":"csc-csc-core","ecosystem":"npm","purl":"pkg:npm/csc-csc-core"},"versions":["35.8.6"],"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":"_init.js","sha256":"862dd38862b1c34f97aee58accd71a1b2b6c6d26fe54b0fb1c8cafd33a6ba7d2","tlsh":"f6b18696166630194bb09bf487179415f65be6633380c294fb5ca9d41f73224c3b2dfc"}],"package_integrity":[{"filename":"csc-csc-core-35.8.6.tgz","hashes":{"sha512_sri":"sha512-gwclat0WrWmQ/4QlBPwoB6aPWIoVwJvQ8EP1cn15kRYa9thnXoQy46T8e1nr+8VI7j/C67TUqHgir0dZy5pN/w==","sha1":"a47005bb87973373e60d75937e7401bacc97ed37"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/csc-csc-core/MAL-2026-12667.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}