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

目标: 1000 元 · 已筹: 1359 元

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

streak-metrics-math

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

Summary

Malicious code in streak-metrics-math (npm)

凭据/密钥窃取远程访问后门文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
373
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmstreak-metrics-math*
npmstreak-metrics-math1.0.0
npmstreak-metrics-math1.0.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-11388","published":"2026-07-30T20:13:35Z","modified":"2026-08-04T21:35:13.948276348Z","aliases":["GHSA-57m5-24x9-2xr5"],"summary":"Malicious code in streak-metrics-math (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6a3508138a215de5140d5c7922b41c602866a034ab1e8b28076f2cb734256844)\nThe package advertises itself as a dependency-free calendar/streak math library but its main entrypoint dist/index.mjs contains a top-level IIFE that, on import, spawns the bundled ELF dist/math-calc.bin as a detached child process. The binary is a full-featured C2 implant, not a math accelerator: it beacons to a hardcoded operator at 217.60.77.63 over TLS and exposes command handlers (/redshell, /portfwd, /socks, /spawn) that pipe network-supplied input into /bin/bash and /bin/sh, giving the remote operator interactive shell control of the installer's machine. The implant additionally exposes /ssh_keys, /creds, /dbfind, /clipboard, /env, and /users commands that harvest SSH keys, saved credentials, clipboard contents, environment variables, and user accounts; a /dataextract flow (BIGEXTRACT) that walks arbitrary filesystem paths and POSTs chunked file contents to /api/extract-receive on the operator's server in named Loot_ collections; a /persist command that writes ~/.config/systemd/user/svc-update.service pointing ExecStart at /proc/self/exe and runs systemctl --user daemon-reload && enable --now for reboot persistence (with cron/bashrc/xdg variants); and a memfd_create-based stager (/stage, /dlopen, /redshell elf) that fetches follow-on ELFs and shellcode from the operator's HTTP server (Others/, SC/) and executes them fileless. A daymath.mjs stub contains a comment stating it 'makes the math functions look like they rely on the binary', confirming the math library framing is a cover story for the implant.\n\n## Source: ghsa-malware (a913fd5a875b9f4d9e28f9dad275141e725aa3ed6c2709d7c3744fa998264443)\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-metrics-math","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0","1.0.1"],"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":"dist/index.mjs","sha256":"5537e187a3a1c1cdbd598246079910232add2b0097d15fba9aaf8004b92384c1","tlsh":"e8316576efbd931943fc4385ce38a57218ac44536fa9ca90dc4c873871c669de3d0aa9"},{"path":"dist/math-calc.bin","sha256":"4537b1189ce419f1a595cf47216c03f80e9170ce80dad8d9227a1e52f9cb3466","tlsh":"83531a2bbdc28e3fc084d53087dfd42269b5705aaa33712f26111f293d59a69473f72a"},{"path":"dist/internal/daymath.mjs","sha256":"16f2ef3e1bd72d51ea491d91cf463de12e5f6db179cf83bdecdee2da943c5cf9","tlsh":"fb3120f9e2d85378d7b9a3508e0ad54aa31cf6263fa6c541104c25a02483862e37dfe9"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-57m5-24x9-2xr5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/streak-metrics-math/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/streak-metrics-math/v/1.0.1"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-57m5-24x9-2xr5","import_time":"2026-07-31T01:10:09.569653438Z","modified_time":"2026-07-30T20:13:36Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"a913fd5a875b9f4d9e28f9dad275141e725aa3ed6c2709d7c3744fa998264443","source":"ghsa-malware"},{"id":"IN-MAL-2026-010984","import_time":"2026-08-04T21:33:12.370012945Z","modified_time":"2026-08-04T21:15:29Z","sha256":"6a3508138a215de5140d5c7922b41c602866a034ab1e8b28076f2cb734256844","source":"amazon-inspector","versions":["1.0.0"]},{"id":"IN-MAL-2026-010985","import_time":"2026-08-04T21:33:12.422285738Z","modified_time":"2026-08-04T21:15:37Z","sha256":"93d234e1c2ac51c6d6643013b7fb784d9d214b1a4cc37edad5111a81df18e79d","source":"amazon-inspector","versions":["1.0.1"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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