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

目标: 1000 元 · 已筹: 1359 元

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

cache-cleanup-module

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

Summary

Malicious code in cache-cleanup-module (npm)

文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
2.5.0unavailable———
2.6.0archived——VIP 下载
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmcache-cleanup-module2.5.0
npmcache-cleanup-module2.6.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-09-09T07:22:43Z","published":"2026-09-09T06:54:28Z","schema_version":"1.7.4","id":"MAL-2026-16078","summary":"Malicious code in cache-cleanup-module (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2931c2feef07a63612b0886a1840e519516424af0fbf4fb0a138e97736a18857)\ncache-cleanup-module ships an exported runOperation() that queries a hardcoded third-party endpoint at https://testback-2aqe.onrender.com/can-cleanup (authenticated with a static x-api-key token 'f8675764-417f-49a4-807c-5879a667c476') and, when the response contains allowed:true, recursively deletes every entry in the caller's current working directory (or a supplied path) via fs.rmSync({recursive:true, force:true}) and fs.unlinkSync, skipping only the module file itself. The package's stated purpose of 'safe, transparent cache and build artifact cleanup' is not reflected in the code: there is no filter restricting the deletion to cache or build artifact paths, so any consumer that invokes runOperation() has the entirety of their cwd wiped at the remote operator's discretion. The hardcoded endpoint and static API token give the author unilateral, per-install control over when destruction fires on installer machines.\n","affected":[{"package":{"ecosystem":"npm","name":"cache-cleanup-module"},"versions":["2.6.0","2.5.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.js","sha256":"fc68e4475765340483d69a4310e26b96cad1489a258d968f5a893185d5f0b1a6","tlsh":"35610e88d85a631309b763a59b06180afe3912132719d215bebcd3d66f32c14f293dce"}],"package_integrity":[{"filename":"cache-cleanup-module-2.6.0.tgz","hashes":{"sha1":"9d818d4ed7f44afd1d7a5a84cb63a2d27a195d36","sha512_sri":"sha512-vmsT1+LJWn4sQTrReQAqsEv7nRB+vvIpEGzElR4+KgJD7tmgzpZpwhvyqJvSoHernyrwLzb9UYVdh6pCO9bucA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/cache-cleanup-module/v/2.6.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/cache-cleanup-module/v/2.5.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-019848","import_time":"2026-09-09T07:20:43.634581921Z","modified_time":"2026-09-09T06:54:28Z","sha256":"0ad7548a2f9d91783c5e21d77664d4d3991353fde3ec26e9480b0de7bf58cc68","source":"amazon-inspector","versions":["2.6.0"]},{"id":"IN-MAL-2026-019849","import_time":"2026-09-09T07:20:43.748992885Z","modified_time":"2026-09-09T06:54:37Z","sha256":"2931c2feef07a63612b0886a1840e519516424af0fbf4fb0a138e97736a18857","source":"amazon-inspector","versions":["2.5.0"]}]}}

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