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

目标: 1000 元 · 已筹: 1359 元

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

ts-ecro

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

Summary

Malicious code in ts-ecro (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
5
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmts-ecro*
npmts-ecro0.0.5
npmts-ecro0.0.6
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-06-19T09:53:39Z","published":"2026-06-11T13:19:22Z","schema_version":"1.7.4","id":"MAL-2026-5647","aliases":["GHSA-cwjv-7gg4-fp86"],"summary":"Malicious code in ts-ecro (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (37901692194f47c987610aab18ef37d4361e8ab01efd1a8008876920dd8b8aa2)\nPackage is published as 'ts-ecro' but ships a verbatim copy of big.js v7.0.1 with the original author's copyright, email, and GitHub repository URL — a typosquat/impersonation façade for the upstream big.js library. At module top-level, the entrypoint require()s a sibling attacker-controlled package and immediately invokes its from_str() method, executing arbitrary code from that dependency on every import. The CommonJS variant (big.js:606-608) loads 'websocket-slot' and calls doc.from_str().then(...).catch(...); the ESM variant (big.mjs:606-608) wraps require(\"parket-slot\") + doc.from_str() in a try/catch that swallows errors so the import appears clean. package.json declares 'parket-slot': '^0.0.6' as a runtime dependency, ensuring the loader executes on a default install. The genuine big.js library has no such require call — the loader is appended on top of an otherwise-legitimate codebase to disguise the attack. Any project that installs and imports this package automatically runs whatever code parket-slot / websocket-slot ships, with attacker control over those packages' contents.\n\n## Source: ghsa-malware (df2a8949f08aa95cbb792e388cbd5a4e4775ead2606277185203a77264f2389a)\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-ecro"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.0.5","0.0.6"],"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":{"domains":["datasecure-service.vercel.app"],"evidence_files":[{"path":"big.mjs","sha256":"cc4f38d2c43eae53227a80cb79358fe6373f067d82d5b4b9e1cc135a0fbfbcc3","tlsh":"50c2658c3ac67579593363788f4a5088eb38525712c8b186b4ae63b46f78cb107b5fdc"},{"path":"package.json","sha256":"defd0c08e5add03737a0d979034cb5509b86c8a94313789f913f6ab1e66770fb","tlsh":"93210163c9a19da70af85ba4bc6c03aaf1161b2f40a05c5bb07b131c4b3345b2095bbd"}],"package_integrity":[{"filename":"ts-ecro-0.0.5.tgz","hashes":{"sha1":"617c8e5af9e25937b83a08c10eb962f6701814f2","sha512_sri":"sha512-eVds3vphhGSNiX2T/VtfC+3BaNyes449zUK8RP/oJhl9k9xsBGUo+2j1KuevHsvqSLPmrLvMewDGmVenK5tkjA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/ts-ecro/v/0.0.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/ts-ecro/v/0.0.6"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-cwjv-7gg4-fp86"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"37901692194f47c987610aab18ef37d4361e8ab01efd1a8008876920dd8b8aa2","import_time":"2026-06-11T13:27:21.151877739Z","id":"IN-MAL-2026-005741","modified_time":"2026-06-11T13:19:22Z","versions":["0.0.5"]},{"source":"amazon-inspector","sha256":"6c0bc0efa5cfcc82b1f5b92bdbe69263b1da4cd9430a12c3e115e32002deda7e","import_time":"2026-06-11T13:27:21.274204488Z","id":"IN-MAL-2026-005744","modified_time":"2026-06-11T13:19:25Z","versions":["0.0.6"]},{"source":"amazon-inspector","sha256":"8f2e942dcd86b8cef2bd0eb8809553bdd339bfc9c30b23ed3908df264a28fac0","import_time":"2026-06-11T13:27:21.219174567Z","id":"IN-MAL-2026-005743","modified_time":"2026-06-11T13:19:25Z","versions":["0.0.6"]},{"source":"amazon-inspector","sha256":"f7dba297ddf69a33859e42330e69aefaba884b2893aae47b98d531129c45d212","import_time":"2026-06-11T13:27:21.190505859Z","id":"IN-MAL-2026-005742","modified_time":"2026-06-11T13:19:23Z","versions":["0.0.5"]},{"source":"ghsa-malware","sha256":"df2a8949f08aa95cbb792e388cbd5a4e4775ead2606277185203a77264f2389a","import_time":"2026-06-19T09:51:49.46241081Z","id":"GHSA-cwjv-7gg4-fp86","modified_time":"2026-06-19T08:28:32Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

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