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

目标: 1000 元 · 已筹: 1336

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

streak-metric-core

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

Summary

Malicious code in streak-metric-core (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
132
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmstreak-metric-core*
npmstreak-metric-core1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-12808","published":"2026-08-05T13:34:06Z","modified":"2026-08-25T15:32:18.210179013Z","aliases":["GHSA-86ww-mvrj-xx43"],"summary":"Malicious code in streak-metric-core (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d85f4f43ac36e53cc3254c7e5050d63105543deb781c8884046b7f5443fc3e21)\nOn any `require`/`import` of streak-metric-core, top-level code in the main entry reconstructs a URL from `String.fromCharCode` integer arrays, resolving to https://f004.backblazeb2.com/file/dp8hbvocjd2fpza/service. The package downloads that opaque binary, writes it to `~/.cache/streak-metric/service`, chmods it to 0755, and spawns it detached with a randomized delay via `spawn(p, [], { detached: true }).unref()`. There is no hash or signature verification, the destination is an anonymous Backblaze B2 bucket unrelated to any declared publisher infrastructure, and the URL is reconstructed at runtime specifically to avoid appearing as a plain string. A comment frames the behavior as an 'optional runtime accelerator', but the code executes unconditionally at module load. This grants the package author arbitrary code execution on the installer's host at import time.\n\n## Source: ghsa-malware (d14df6d032e0c3c8eb69f078cac0df7f3cce58eee48c5c36468dda45779497ec)\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":{"name":"streak-metric-core","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.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"}],"indicators":{"evidence_files":[{"path":"dist/index.mjs","sha256":"c2bcfaff130936646cc0d3f13cab5f60c95901c1226c08a8943c98bea180c36b","tlsh":"aa61c7436fb813711570c3d49eace1e6d326889077695ed0e41ca39830474d5d5bd6eb"}],"package_integrity":[{"filename":"streak-metric-core-1.0.0.tgz","hashes":{"sha1":"83d43c6e11f0ad38aef3ba1529e4e24e4427669f","sha512_sri":"sha512-fWBcWMSoGTRbgs4FrnkBEuBhb22SA+IC46t2HaJJcCSGw9dEAoRbKAOgqIzbQnVeF8cnUYViIlWaHqEwfWy5Sw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/streak-metric-core/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-86ww-mvrj-xx43"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014979","import_time":"2026-08-05T14:19:48.850924313Z","modified_time":"2026-08-05T13:34:06Z","sha256":"d85f4f43ac36e53cc3254c7e5050d63105543deb781c8884046b7f5443fc3e21","source":"amazon-inspector","versions":["1.0.0"]},{"id":"GHSA-86ww-mvrj-xx43","import_time":"2026-08-25T15:30:22.790270461Z","modified_time":"2026-08-25T14:51:33Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"d14df6d032e0c3c8eb69f078cac0df7f3cce58eee48c5c36468dda45779497ec","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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