MAL-2026-12281

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tinkoff-terminal-kit-test-commons/MAL-2026-12281.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12281
Published
2026-08-05T09:01:18Z
Modified
2026-08-05T10:06:58.811986745Z
Summary
Malicious code in tinkoff-terminal-kit-test-commons (npm)
Details

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

Source: amazon-inspector (c68d83a8e515bebce3319c94274060bdfcef42f2ba45e96e87515c9cfd11e020)

On require() of tinkoff-terminal-kit-test-commons@20.9.7, index.js loads adapter.js which selects a platform-specific endpoint, downloads an opaque binary from one of four hardcoded Cloudflare workers.dev hosts (oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev), writes it to /tmp or %TEMP% under a disguised name (.cache<hex> or dotnetdiag<hex>.exe), chmods it 0755, and spawns it detached via /bin/sh -c or cmd. No hash or signature verification is performed. The destination hostnames and a DNS-TXT fallback channel (*.dl.well1.site, reassembled from base64-encoded TXT record chunks) are constructed at runtime from split string fragments joined via Array.join(''), and the 'child_process' import is similarly assembled — deliberate obfuscation to evade static string scans. The fetch-write-chmod-spawn chain and the DNS-TXT covert transport are unrelated to any stated purpose of the package.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-014511",
            "import_time": "2026-08-05T09:28:20.783438243Z",
            "sha256": "c68d83a8e515bebce3319c94274060bdfcef42f2ba45e96e87515c9cfd11e020",
            "modified_time": "2026-08-05T09:01:18Z",
            "versions": [
                "20.9.7"
            ],
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / tinkoff-terminal-kit-test-commons

Package

Name
tinkoff-terminal-kit-test-commons
View open source insights on deps.dev
Purl
pkg:npm/tinkoff-terminal-kit-test-commons

Affected ranges

Affected versions

20.*
20.9.7

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-tj6Vq5+xUzhfsmTaYLWCfhMxtxMLGFaoNFW1he9I5b/kI9xUb5eAPjDPyCI4OaIWXayHXUvAqTWdMMovzrKTMA==",
                "sha1": "2411d4192d684ffe925a258e7aa49bb4bee47f00"
            },
            "filename": "tinkoff-terminal-kit-test-commons-20.9.7.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "_adapter.js",
            "sha256": "1c3fcea248cbe50711f2ebf47384f7910f7cac731c8a4de54f912afe53037504",
            "tlsh": "48a1a89616a970098bb097e587174816f65bf66337c0c1d0f75ca5985f7302482b2efc"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tinkoff-terminal-kit-test-commons/MAL-2026-12281.json"