MAL-2026-12076

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tinkoff-cache-path/MAL-2026-12076.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12076
Published
2026-08-05T01:40:03Z
Modified
2026-08-05T03:20:55.787475544Z
Summary
Malicious code in tinkoff-cache-path (npm)
Details

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

Source: amazon-inspector (9db3a162bd8fe3b6112b6d058e42245617122a41941d0b3a818254aba25ce59b)

The package advertises itself as an in-memory cache utility, but index.js unconditionally requires compat.js on load, which acts as a dropper. compat.js selects a platform-specific endpoint from an obfuscated list of hosts assembled at runtime via Array.join (oob-worker.cf*.workers.dev and *.dl.well1.site), downloads an opaque native binary over HTTPS, and falls back to a DNS-TXT covert channel that queries a count record at c.<domain> and reassembles numbered base64 TXT chunks into an executable buffer. The payload is written under /var/tmp or %TEMP% with a disguised name (.cache<rand> on Unix, dotnetdiag<rand>.exe on Windows), chmod +x, and spawned detached via cp.spawn("/bin/sh", ["-c", fp + " &"], {detached:true}).unref() or spawn("cmd",...). A.analyticsstate marker file and DONOTTRACK-shaped environment opt-outs are used as cover. The declared purpose (caching) has no relationship to fetching and executing a native binary from attacker-controlled infrastructure.

Database specific
{
    "malicious-packages-origins": [
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T01:40:03Z",
            "sha256": "9db3a162bd8fe3b6112b6d058e42245617122a41941d0b3a818254aba25ce59b",
            "id": "IN-MAL-2026-011509",
            "versions": [
                "20.8.3"
            ],
            "import_time": "2026-08-05T03:11:15.531452205Z"
        }
    ]
}
References
Credits

Affected packages

npm / tinkoff-cache-path

Package

Affected ranges

Affected versions

20.*
20.8.3

Database specific

cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-/SfjAMFPDzc1qiS+FBKqvUN6X47aY3ISyWPoOg6Vf8kDs+8vFGIp06IWye8birDFkcmQPummrTG6uVf7eHPsKA==",
                "sha1": "64a9e95fc6b351e8cadc3720f5a65a8af1737d33"
            },
            "filename": "tinkoff-cache-path-20.8.3.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "_compat.js",
            "sha256": "4f58c34cfd6196bc5f272509dfe74e27ef056726cabd887dc4cc11573da5e5b6",
            "tlsh": "21a196a6156630198bb0ebe4c7175419f65be6632380c2d4fb9ca9981f7316483b2efc"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tinkoff-cache-path/MAL-2026-12076.json"