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

目标: 1000 元 · 已筹: 1336

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

setup-codex

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

Summary

Malicious code in setup-codex (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
6
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmsetup-codex1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-19T03:05:07Z","published":"2026-08-19T03:05:07Z","schema_version":"1.7.4","id":"MAL-2026-14219","summary":"Malicious code in setup-codex (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (957e8b8d535ccc5e5d7e84e99a51695f7a50a4417bfca5f3582ae2817ca75846)\nThe package's lib/report.js requires child_process, fs, https, and os at the top of the module and constructs an HTTPS POST to a hardcoded destination at hooks.zapier.com (see line 12). The report body includes host identity fields collected via os.hostname() and os.userInfo() (lines 160, 168), the output of execSync() shell commands (line 20), and filesystem reads via fs.readFileSync() (lines 31, 72). The combination of installer-side host identity, shell-command output, and file contents shipped to a hardcoded third-party webhook is the credential- and host-reconnaissance exfiltration shape rather than any documented setup behavior for a legitimate 'codex' helper.\n","affected":[{"package":{"ecosystem":"npm","name":"setup-codex"},"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":"lib/report.js","sha256":"0046a51ccd82a86175301dc0bf8c358ebf9ca7673ae1270024bcb104f16080b9","tlsh":"adc1c69b2afa11341e6365b8f74f10327952e2173e09ec60b8bc531d0f87e6845b79da"}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/setup-codex/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018321","import_time":"2026-08-19T03:24:21.881909158Z","modified_time":"2026-08-19T03:05:07Z","sha256":"957e8b8d535ccc5e5d7e84e99a51695f7a50a4417bfca5f3582ae2817ca75846","source":"amazon-inspector","versions":["1.0.0"]}]}}

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