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

目标: 1000 元 · 已筹: 1359 元

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

streak-daycount

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

Summary

Malicious code in streak-daycount (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
75
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmstreak-daycount*
npmstreak-daycount1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-10982","published":"2026-07-21T23:17:25Z","modified":"2026-08-04T22:32:06.313592999Z","aliases":["GHSA-2v57-6hmf-hpfj"],"summary":"Malicious code in streak-daycount (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f787426dd4d04d5cd527bdb19d309c64de82e252af4af0714dc33b07a26b73b0)\nstreak-daycount@1.0.0 ships an index.mjs whose top-level async IIFE runs on import. When the host is Linux and NODE_ENV is not 'production', the code enumerates /mnt/c/Users (WSL access to the Windows host filesystem), skips built-in profiles ('Default','Public','All Users'), and identifies real user profiles by the presence of NTUSER.DAT. It then constructs the path AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup under that user, downloads a binary from https://f004.backblazeb2.com/file/<bucket>/vite-deps.dat (URL assembled from split fragments p/h/b/f), and writes the bytes as 'vite-native-helper.exe' into the Windows Startup folder — causing the fetched binary to auto-execute on the next Windows logon. The download uses no hash or signature verification, the destination is an anonymous Backblaze B2 bucket unrelated to the package's advertised 'streak day counter' purpose, and the 'vite-native-helper' naming is a decoy referencing an unrelated tool. The bucket identifier is currently a 'YOUR_BUCKET_NAME' placeholder, but the code path is fully wired and activates as soon as it is populated. The Linux+WSL gating specifically targets developer machines that run Node under WSL while backing onto a Windows user profile.\n\n## Source: ghsa-malware (d5a02c91969e01fc57050b8fabfc6abe2e50b9455cdaa4357791d24546b5623a)\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-daycount","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":"index.mjs","sha256":"73935265e043e14c5a17daa662019204cbd98da378a3672f83f754f3d229a5fd","tlsh":"1a815696cdba233446b1d2a16e8b861bf369e1323a45d5a4705c96542f8382ac23decd"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2v57-6hmf-hpfj"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/streak-daycount/v/1.0.0"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-2v57-6hmf-hpfj","import_time":"2026-07-22T03:44:28.719864498Z","modified_time":"2026-07-21T23:17:26Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"d5a02c91969e01fc57050b8fabfc6abe2e50b9455cdaa4357791d24546b5623a","source":"ghsa-malware"},{"id":"IN-MAL-2026-011196","import_time":"2026-08-04T22:30:04.495542552Z","modified_time":"2026-08-04T21:46:18Z","sha256":"f787426dd4d04d5cd527bdb19d309c64de82e252af4af0714dc33b07a26b73b0","source":"amazon-inspector","versions":["1.0.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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