MAL-2026-12667

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/csc-csc-core/MAL-2026-12667.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12667
Published
2026-08-05T13:58:36Z
Modified
2026-08-05T14:36:16.163146071Z
Summary
Malicious code in csc-csc-core (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (0339e6587ac1d675e493fc3edc1e7d325982284f794a681327053e1131ce689c)

On 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<hex>, dotnetdiag<hex>.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 DONOTTRACK opt-out are used to evade sandboxes. The README advertises the package as a 'base framework module' with no such behavior.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-05T14:20:03.630660412Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-015115",
            "versions": [
                "35.8.6"
            ],
            "modified_time": "2026-08-05T13:58:36Z",
            "sha256": "0339e6587ac1d675e493fc3edc1e7d325982284f794a681327053e1131ce689c"
        }
    ]
}
References
Credits

Affected packages

npm / csc-csc-core

Package

Affected ranges

Affected versions

35.*
35.8.6

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/csc-csc-core/MAL-2026-12667.json"
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-gwclat0WrWmQ/4QlBPwoB6aPWIoVwJvQ8EP1cn15kRYa9thnXoQy46T8e1nr+8VI7j/C67TUqHgir0dZy5pN/w==",
                "sha1": "a47005bb87973373e60d75937e7401bacc97ed37"
            },
            "filename": "csc-csc-core-35.8.6.tgz"
        }
    ],
    "evidence_files": [
        {
            "sha256": "862dd38862b1c34f97aee58accd71a1b2b6c6d26fe54b0fb1c8cafd33a6ba7d2",
            "path": "_init.js",
            "tlsh": "f6b18696166630194bb09bf487179415f65be6633380c294fb5ca9d41f73224c3b2dfc"
        }
    ]
}
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]