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

目标: 1000 元 · 已筹: 1359 元

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

txs-lib-sdk

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

Summary

Malicious code in txs-lib-sdk (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
289
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmtxs-lib-sdk*
npmtxs-lib-sdk1.0.1
npmtxs-lib-sdk1.0.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-14198","published":"2026-08-19T01:17:26Z","modified":"2026-09-30T00:54:51.852040345Z","aliases":["GHSA-g36j-xxq9-x243"],"summary":"Malicious code in txs-lib-sdk (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (5575013ead36c1ebb523009215200be0a1bf61d21285ca8515573963a63e3aa5)\nThe package's advertised getTransactions() API invokes an internal loader that reads database.js — a file disguised as a product catalog — extracts each record's `mark` field, base64-decodes it and applies a per-byte Caesar shift, concatenates the result into a code string, and passes it to the Function constructor together with Buffer, require, and process. This yields arbitrary Node.js execution with full filesystem, network, and child_process capabilities on the caller's host whenever the documented API is used. index.js hides the sink by reconstructing the identifiers 'setTimeout', 'Function', 'Buffer', 'require', and 'process' from a split string-array and by resolving the Function constructor indirectly via globalThis.constructor.constructor. The multi-layer obfuscation (identifier reassembly, indirect constructor lookup, base64+Caesar-encoded payload, JSON-shaped carrier file, deferred setTimeout) has no legitimate purpose for a package presented as a transactions helper and is the concealment layer of a supply-chain loader.\n\n## Source: ghsa-malware (be8fdee0fed990fd22edd1188e06d7601d45db4031bd545667852f91b8120395)\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":"txs-lib-sdk","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.2","1.0.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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"c0a1a7e54e1c759e62e48cfa835d79494163da3b37b30c1bd55c5875d9dd24f0","tlsh":"0ef10f6839f930248857b07c67eb9449612de0576e9a6ca87f4d83101f7d13ce1f6ba8"}],"package_integrity":[{"filename":"txs-lib-sdk-1.0.2.tgz","hashes":{"sha1":"50ecafed1e2e1dc44734289055f64dc1bebb3a5e","sha512_sri":"sha512-O97tStb5/aXDgBuTUVQLYbI6BX5nj+cisfAkuQ6MTL23XjWrZfEarSObUHANOFCqLZp3u1lukB1WwixbEcWcew=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/txs-lib-sdk/v/1.0.2"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-g36j-xxq9-x243"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/txs-lib-sdk/v/1.0.1"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018277","import_time":"2026-08-19T01:34:41.768858733Z","modified_time":"2026-08-19T01:17:26Z","sha256":"5575013ead36c1ebb523009215200be0a1bf61d21285ca8515573963a63e3aa5","source":"amazon-inspector","versions":["1.0.2"]},{"id":"GHSA-g36j-xxq9-x243","import_time":"2026-09-29T18:33:19.285228887Z","modified_time":"2026-09-29T17:31:38Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"be8fdee0fed990fd22edd1188e06d7601d45db4031bd545667852f91b8120395","source":"ghsa-malware"},{"id":"IN-MAL-2026-020710","import_time":"2026-09-30T00:52:51.268354607Z","modified_time":"2026-09-30T00:25:23Z","sha256":"092ed7a991ca9ca8d028133dde7e6812ed09fe9a510285127c19c78608a77ac7","source":"amazon-inspector","versions":["1.0.1"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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