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

目标: 1000 元 · 已筹: 1336

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

streak-calc-metrics

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

Summary

Malicious code in streak-calc-metrics (npm)

凭据/密钥窃取远程访问后门文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
1.0.0archivedVIP 下载
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmstreak-calc-metrics*
npmstreak-calc-metrics1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-12311","published":"2026-08-05T12:13:50Z","modified":"2026-08-06T01:00:42.558974353Z","aliases":["GHSA-7m7x-hmq7-rwm9"],"summary":"Malicious code in streak-calc-metrics (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (91b37a5aa06b2d75f250bd23ce01f2667646c1aa7609ec2323f226842e043e9d)\nstreak-calc-metrics@1.0.0 is presented as a native math accelerator for streak calculations but ships a bundled Linux ELF at dist/calc.bin that the main module unconditionally chmods and spawns detached at import time (cp.spawn(binaryPath, [], { stdio: 'pipe', shell: false, detached: true })). The ELF self-identifies as 'REDSHELL' and beacons to hardcoded C2 IP 217.60.77.63 with the protocol tag SECURE_BEACON|...|REDSHELL, providing a full remote shell over /bin/sh and /bin/bash. The implant downloads and executes arbitrary ELF binaries and shellcode over plain HTTP with TLS verification disabled from http://217.60.77.63/Others/<name> and http://217.60.77.63/SC/<name>, staging into /tmp/.elf_* or via memfd_create (syscall 319) and chmod +x before execution, with no hash or signature check. It exposes command handlers /ssh_keys, /creds, /dbfind, /env, and /dataextract <path> that harvest the installer's SSH keys, credential files, environment variables, and arbitrary filesystem paths, then exfiltrates them in chunks via POST /api/extract-receive using markers such as BIGEXTRACT_START and Destination: Loot_%s_%s_%s. Persistence is established by writing ~/.config/systemd/user/svc-update.service (Description='System Update Service', ExecStart=/proc/self/exe, Restart=always) and enabling it with systemctl --user daemon-reload && systemctl --user enable --now svc-update.service. The implant additionally exposes a remote-controlled SOCKS5 proxy (/socks start <port>) and arbitrary TCP port forwarding (/portfwd start <lport> <rhost> <rport>), turning the installer's host into a pivot into internal networks. The JS wrapper contains a cover story ('Native accelerator loaded and verified', 'Performance mode enabled') and an inverted SHA-256 integrity check against 4537b1189ce419f1a595cf47216c03f80e9170ce80dad8d9227a1e52f9cb3466 that never blocks execution.\n\n## Source: ghsa-malware (96488efc57092e2b1f373623a88bf26607c9ece7ed95270327febc6b536d0d01)\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-calc-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":"69fe4881065cf4a5e30cbaeaf30c16fd891d5bfc5a6263e518fb3ef2e23d0889","tlsh":"9d31522aafbe632897fc0742ce38b293162d44831f82d895e99d573970c175ce3d097a"},{"path":"dist/calc.bin","sha256":"4537b1189ce419f1a595cf47216c03f80e9170ce80dad8d9227a1e52f9cb3466","tlsh":"83531a2bbdc28e3fc084d53087dfd42269b5705aaa33712f26111f293d59a69473f72a"}],"package_integrity":[{"filename":"streak-calc-metrics-1.0.0.tgz","hashes":{"sha1":"6008b2b8c7c685dac5c215ae345f01dca6ce46da","sha512_sri":"sha512-nBN3+8lQq0enHPd1SMLysywjyBvBuyqY3oLvwkELRgcSzbEEZhUcKqMSdfZOMnhGbXhxqSnebcTNGpIctOmxzw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/streak-calc-metrics/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-7m7x-hmq7-rwm9"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014630","import_time":"2026-08-05T12:15:14.203832719Z","modified_time":"2026-08-05T12:13:50Z","sha256":"91b37a5aa06b2d75f250bd23ce01f2667646c1aa7609ec2323f226842e043e9d","source":"amazon-inspector","versions":["1.0.0"]},{"id":"GHSA-7m7x-hmq7-rwm9","import_time":"2026-08-06T00:58:53.315359032Z","modified_time":"2026-08-05T23:51:03Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"96488efc57092e2b1f373623a88bf26607c9ece7ed95270327febc6b536d0d01","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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