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

目标: 1000 元 · 已筹: 1359 元

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

ts-esys

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

Summary

Malicious code in ts-esys (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
5
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmts-esys*
npmts-esys0.0.5
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-09T16:23:05Z","published":"2026-06-19T08:28:32Z","schema_version":"1.7.4","id":"MAL-2026-6205","aliases":["GHSA-76f5-jq4m-cjc3"],"summary":"Malicious code in ts-esys (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (041ff0fd2b76f380705ef23061ebfe469477b2fbec8e025eab49a557431a551e)\nThe package is published as `ts-esys` but its package.json author, repository URL, funding metadata, and README are copied verbatim from MikeMcl/big.js (which advertises 'No dependencies'). Both entrypoints `big.js` and `big.mjs` contain a top-level `try { const doc = require('websocket-slot'); doc.from_str().then(...).catch(...) } catch {}` block that runs on every `require('ts-esys')` / `import` of either entrypoint. The dependency `websocket-slot ^0.0.6` is unrelated to the advertised arbitrary-precision-decimal purpose, is not mentioned in the README (which still claims 'No dependencies'), and any error from its execution is silently swallowed. The combination of identity impersonation + hidden runtime dependency loader + concealed errors is the standard supply-chain launcher pattern: installers who pull `ts-esys` (e.g., expecting big.js-compatible behavior) execute whatever code `websocket-slot` ships, with no surface visibility.\n\n## Source: ghsa-malware (3cfd9a57243111f1df0cde9d2fca7698afc995009e1263fc8f1f203d49d53741)\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":{"ecosystem":"npm","name":"ts-esys"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.0.5"],"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":"big.js","sha256":"ca9e3c12e641e97314d2d9f6557998c9d77b81637cfce6be333dcbccb1950904","tlsh":"1bc2658c3ac67579593363788f465088eb38525712c8b186b4ae63b46f78cb107b5fdc"},{"path":"package.json","sha256":"5ca40489159d27e1d626914f6256af0db6a7dfc0d20fab3db1893c1a7cadfa6a","tlsh":"dc213163c9a19da70af89ba4bc6c03aaf1161b2f00a04c5bb07b130c4b3345b2095bbd"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-76f5-jq4m-cjc3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/ts-esys/v/0.0.5"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"3cfd9a57243111f1df0cde9d2fca7698afc995009e1263fc8f1f203d49d53741","import_time":"2026-06-19T09:51:49.46015167Z","id":"GHSA-76f5-jq4m-cjc3","modified_time":"2026-06-19T08:28:32Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"041ff0fd2b76f380705ef23061ebfe469477b2fbec8e025eab49a557431a551e","import_time":"2026-07-09T16:20:50.281271979Z","id":"IN-MAL-2026-009195","modified_time":"2026-07-09T15:42:14Z","versions":["0.0.5"]}]}}

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