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

目标: 1000 元 · 已筹: 1359 元

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

calendar-streak-core

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

Summary

Malicious code in calendar-streak-core (npm)

AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmcalendar-streak-core1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-05T12:24:56Z","published":"2026-08-05T12:24:56Z","schema_version":"1.7.4","id":"MAL-2026-12345","summary":"Malicious code in calendar-streak-core (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d34b4caa6716625380bd2636072e5fe0473d114ab3fdfd8335f9e1c0e642ddc4)\ncalendar-streak-core@1.0.0 is advertised as a dependency-free calendar-day and streak math library, but index.mjs embeds a hex-encoded Windows PE executable (MZ header) in a `_bin` string array together with a hex-encoded destination path that decodes to %AppData%/Roaming/Microsoft/Windows/Start Menu/Programs/Startup/vite-native-helper.exe. A `_decode` helper (`Buffer.from(h,'hex').toString()`) and a block labeled 'Decode and write embedded payload' execute at top-level module import, dropping the executable into the per-user Startup folder so it runs on every subsequent Windows logon. In-code comments claim the module 'touches no network and no filesystem' while the code performs exactly that. Both the payload bytes and the destination path are stored as split hex fragments joined at runtime to evade string-level inspection, and the shipped module is ~500KB dominated by the encoded PE, which is inconsistent with the advertised calendar-math scope. Any project on Windows that imports (directly or transitively) this package gains persistent execution of the embedded binary at logon.\n","affected":[{"package":{"ecosystem":"npm","name":"calendar-streak-core"},"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"}],"indicators":{"evidence_files":[{"path":"index.mjs","sha256":"6544fe39b486e24e9c897af377e152ba242b30b049a1274a090e92dd79176690","tlsh":"ecb4c5e0da459681f15bd488b0c0bed209353697badc0cf2d3be1d08dfafaa62555b4c"}],"package_integrity":[{"filename":"calendar-streak-core-1.0.0.tgz","hashes":{"sha1":"830243bec7f13da1cdfde921e1948aa1889d44a1","sha512_sri":"sha512-XZzzLpPjd6OHUOQLElhrMD117TQdVK/vD2wzAsQGJJ6ql/R3w4+/UTwjP1Tts59kF76m1Qw3EwpYiHbPYOXP0w=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/calendar-streak-core/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014646","import_time":"2026-08-05T13:08:33.438237885Z","modified_time":"2026-08-05T12:24:56Z","sha256":"d34b4caa6716625380bd2636072e5fe0473d114ab3fdfd8335f9e1c0e642ddc4","source":"amazon-inspector","versions":["1.0.0"]}]}}

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