目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%
← 返回恶意软件包
npm active

tinkoff-pfpa-tools

MAL-2026-12251
2026-08-06 01:00:43
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in tinkoff-pfpa-tools (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
180
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmtinkoff-pfpa-tools*
npmtinkoff-pfpa-tools20.3.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-12251","published":"2026-08-05T08:59:03Z","modified":"2026-08-06T01:00:43.003974785Z","aliases":["GHSA-5c36-p54m-5gh9"],"summary":"Malicious code in tinkoff-pfpa-tools (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a29d523fe4960435cd996806856c38d2fde0c9862135d3a71a14322670f73d41)\nOn require() of tinkoff-pfpa-tools, index.js loads _adapter.js which downloads a platform-specific native executable from Cloudflare Workers hosts whose names are assembled at runtime from split string fragments (oob-worker.cf102-baf.workers.dev, cf101-adf, cf103-070, cf99-9b3 under workers.dev), writes it to /tmp or %TEMP% under a decoy name (dotnet_diag_<hex>.exe on Windows,.cache_<hex> on Unix), chmods it 0755, and spawns it detached via cp.spawn('/bin/sh', ['-c', filePath+' &'], {detached:true}) or the cmd equivalent. A '.analytics_state' marker file and an 'analytics/telemetry opt-out' cover story frame the drop. If HTTPS fetch fails, _adapter.js falls back to a DNS-TXT covert channel: it resolves c.<domain> for a chunk count and N.<domain> for each base64 chunk under tin.dl.well1.site, tina.dl.well1.site, ldr.dl.well1.site, and win.dl.well1.site, reassembles the payload, and executes it. A second, currently-unreferenced module lib/telemetry.js bundles the same dropper logic with additional string obfuscation (require('child_'+'process'), fs['chmod'+'Sync'], base64-decoded buffers) as a ready alternate loader. Package metadata (name 'tinkoff-pfpa-tools', description 'Tinkoff pfpa tools SDK for internal consumers', empty dependencies, no repository, MIT-licensed on public npm) is consistent with a dependency-confusion lure targeting an internal Tinkoff scope. Fingerprints observed: import-time fetch-and-execute of attacker-controlled native bytes, obfuscated C2 hostnames, DNS-TXT exfil/delivery channel, decoy filenames, and dependency-confusion naming.\n\n## Source: ghsa-malware (56b6f8e4a750ebe193fdd54d9164a91480b188eb0758e136dec6c30da1f193fd)\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-pfpa-tools","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["20.3.1"],"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":"e9fa541255123ccfdf7965a8960cbc6637ad10883468f7f9aee96a7161ebba66","tlsh":"68a1a7aa11a5701847b0d7e4c7175815f657f6637380c694fb9c99980ff212482f2efc"},{"path":"lib/telemetry.js","sha256":"e9357e0d2469cc0b8073d4805bc86e470113bd9eaaf8456fa5da7e105ee31bed","tlsh":"43835056566a142186b2b368df234107ff3685272642429dbafc82dc1fbd72092a5ffc"},{"path":"package.json","sha256":"19386d7688e2e8db3c2a4666f21cc58d747fdfa20d3cb19e1de71f14dfdfe2ef","tlsh":"48c0229b8921183300b08a6088e6c613f3d30f2f2038cc0b3af76124048937d84ae330"}],"package_integrity":[{"filename":"tinkoff-pfpa-tools-20.3.1.tgz","hashes":{"sha1":"401b617a5cfaa24a9a4f83d6584fc9ed8425e1ac","sha512_sri":"sha512-cWSN5S4irT4ds4pp7hM0V0fV3ejd0qmW9cjUk5MPguumK627mZ5VWDXT+CGk9nv6G47Q9EsK/S5/LvNHCNeoJw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/tinkoff-pfpa-tools/v/20.3.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-5c36-p54m-5gh9"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014496","import_time":"2026-08-05T09:28:18.689842356Z","modified_time":"2026-08-05T08:59:03Z","sha256":"a29d523fe4960435cd996806856c38d2fde0c9862135d3a71a14322670f73d41","source":"amazon-inspector","versions":["20.3.1"]},{"id":"GHSA-5c36-p54m-5gh9","import_time":"2026-08-06T00:58:53.292437766Z","modified_time":"2026-08-05T18:37:13Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"56b6f8e4a750ebe193fdd54d9164a91480b188eb0758e136dec6c30da1f193fd","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

数据来源:OpenSSF Malicious Packages · Apache-2.0