MAL-2026-12281Malicious code in tinkoff-terminal-kit-test-commons (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
20.9.7 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| npm | tinkoff-terminal-kit-test-commons | 20.9.7 |
{"schema_version":"1.7.4","id":"MAL-2026-12281","published":"2026-08-05T09:01:18Z","modified":"2026-08-25T16:28:08.508141957Z","aliases":["GHSA-p8g2-ph77-f7r9"],"summary":"Malicious code in tinkoff-terminal-kit-test-commons (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c68d83a8e515bebce3319c94274060bdfcef42f2ba45e96e87515c9cfd11e020)\nOn 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 dotnet_diag_<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.\n\n## Source: ghsa-malware (d74658ea213467fe61d91ef562769c8427b2346bd61e587f44c3f26f3b8972d3)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","affected":[{"package":{"name":"tinkoff-terminal-kit-test-commons","ecosystem":"npm"},"versions":["20.9.7"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"_adapter.js","sha256":"1c3fcea248cbe50711f2ebf47384f7910f7cac731c8a4de54f912afe53037504","tlsh":"48a1a89616a970098bb097e587174816f65bf66337c0c1d0f75ca5985f7302482b2efc"}],"package_integrity":[{"filename":"tinkoff-terminal-kit-test-commons-20.9.7.tgz","hashes":{"sha1":"2411d4192d684ffe925a258e7aa49bb4bee47f00","sha512_sri":"sha512-tj6Vq5+xUzhfsmTaYLWCfhMxtxMLGFaoNFW1he9I5b/kI9xUb5eAPjDPyCI4OaIWXayHXUvAqTWdMMovzrKTMA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/tinkoff-terminal-kit-test-commons/v/20.9.7"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-p8g2-ph77-f7r9"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014511","import_time":"2026-08-05T09:28:20.783438243Z","modified_time":"2026-08-05T09:01:18Z","sha256":"c68d83a8e515bebce3319c94274060bdfcef42f2ba45e96e87515c9cfd11e020","source":"amazon-inspector","versions":["20.9.7"]},{"id":"GHSA-p8g2-ph77-f7r9","import_time":"2026-08-25T16:26:05.048723702Z","modified_time":"2026-08-25T16:05:40Z","sha256":"d74658ea213467fe61d91ef562769c8427b2346bd61e587f44c3f26f3b8972d3","source":"ghsa-malware","versions":["20.9.7"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0