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

目标: 1000 元 · 已筹: 1336

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

streak-math-metrics

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

Summary

Malicious code in streak-math-metrics (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
63
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmstreak-math-metrics*
npmstreak-math-metrics1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-12000","published":"2026-08-05T00:02:35Z","modified":"2026-08-25T15:32:18.208783418Z","aliases":["GHSA-3ph5-6m86-7v7r"],"summary":"Malicious code in streak-math-metrics (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3769541ab9576413a88f4e32ef21b55090b7efc17fd44750269f9e19e854abb1)\nThe package's module entry dist/index.mjs runs a top-level IIFE on import that chmods dist/math-calc.bin to 0755 and spawns it detached. dist/math-calc.bin is a Linux x86_64 ELF linked against libssl/libcrypto implementing a RedShell-style remote-access agent: /bin/sh-backed command execution, HTTP downloaders that fetch payloads from 217.60.77.63 under /Others/ and /SC/ paths and execute them from /tmp or via memfd_create, a SOCKS5 proxy, TCP port forwarders, credential/SSH-key/database collectors, and a persistence installer that drops a systemd user unit at ~/.config/systemd/user/svc-update.service (masquerading as 'System Update Service') with Restart=always. A sha256 'integrity check' is present in the JS wrapper but its mismatch branch only logs and still proceeds, and the wrapper's comments and log strings ('Native accelerator loaded and verified.', 'Performance mode enabled.') present the implant as a native math accelerator despite the package having no plausible need for a native binary. Any consumer that imports the package hands a remote operator interactive shell, file/credential exfiltration, arbitrary payload execution, and persistence on the installer host.\n\n## Source: ghsa-malware (3baafec10b3726413ecc6129f8a3b1d9a4e53c7a721049d79f7b619a118e007c)\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-math-metrics","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":"3ad446777c04146aa878643fd286094363a3ed74865a1644a39c76079d72960b","tlsh":"eb4153a6abfd232857fc4786ce3921930a5d4c837f55d674e448433860c16add3e4d7a"},{"path":"dist/math-calc.bin","sha256":"4537b1189ce419f1a595cf47216c03f80e9170ce80dad8d9227a1e52f9cb3466","tlsh":"83531a2bbdc28e3fc084d53087dfd42269b5705aaa33712f26111f293d59a69473f72a"}],"package_integrity":[{"filename":"streak-math-metrics-1.0.0.tgz","hashes":{"sha1":"2b3b5fd44a51f64afd3ff6d9fca6f3811a552874","sha512_sri":"sha512-UOi84y64X8l2XUzQndmuun4QTH0YaGmZcH6GFV/bcckgbKp13ygg1NT8c5C/0hGLbcSTOJihQOiRenKKfpPeLw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/streak-math-metrics/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3ph5-6m86-7v7r"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-011368","import_time":"2026-08-05T00:04:39.582259728Z","modified_time":"2026-08-05T00:02:35Z","sha256":"3769541ab9576413a88f4e32ef21b55090b7efc17fd44750269f9e19e854abb1","source":"amazon-inspector","versions":["1.0.0"]},{"id":"GHSA-3ph5-6m86-7v7r","import_time":"2026-08-25T15:30:22.77168398Z","modified_time":"2026-08-25T14:50:22Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"3baafec10b3726413ecc6129f8a3b1d9a4e53c7a721049d79f7b619a118e007c","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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