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

目标: 1000 元 · 已筹: 1359 元

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

request-logger-canary

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

Summary

Malicious code in request-logger-canary (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
156
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
1.0.0unavailable———
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmrequest-logger-canary*
npmrequest-logger-canary1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-3771","published":"2026-05-14T19:25:32Z","modified":"2026-07-31T01:15:51.072351229Z","aliases":["GHSA-hvf9-xwj5-pqqj"],"summary":"Malicious code in request-logger-canary (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (cf0d566d7abb400988aea74b00099a6db4c5ea928f32e7d44648193e21a36035)\nrequest-logger-canary@1.0.0 ships a preinstall.js that, when `npm install` runs, opens a TCP socket to 52.74.242.200:8851 and pipes an interactive `/bin/sh` to the remote endpoint (stdin/stdout/stderr all bridged to the socket). The code executes unconditionally at install time via scripts.preinstall — there is no guard, no `if (false)`, no environment check. The README falsely claims the reverse shell is dead code wrapped in `if (false)` and located in postinstall.js; the live payload is actually in preinstall.js with no guard. This misdirection is itself evidence of deliberate supply-chain attack intent. Any machine running `npm install request-logger-canary` hands a root-of-user interactive shell to the operator of 52.74.242.200.\n\n## Source: ghsa-malware (e062eb5188333b18e9564689cde147929e1f109a0e8ed461d73ba0cad1990b24)\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":"request-logger-canary","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":"preinstall.js","sha256":"17268959e805d34e252d226171a791ebce45546db77a0803108e7744d6a7f843","tlsh":"20e0d8dc0bf5a238b6f60cf0e9b055372623c2103343e2e5859d48a156c39ca4e23ef2"},{"path":"README.md","sha256":"170a50fd96bdda7a4338c3340844a5d2fae917eaea34d1579972910303cba251","tlsh":"463126e5d80153a7395682bdd093d058e9e960348b20a879c9f58078a12739ec21fd77"}],"package_integrity":[{"filename":"request-logger-canary-1.0.0.tgz","hashes":{"sha1":"4b76c8104a294ac2c7cac6787163795ed52a7885","sha512_sri":"sha512-qkTCj7DAIjUmY+Deb4ohssmG4BWuzSYMCJHA0XWmdcnugvwI8eP/t+1XH+BhbdpyPzUlAqQ5jVVrcJHeaDyPVw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/request-logger-canary/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-hvf9-xwj5-pqqj"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-002731","import_time":"2026-05-15T07:37:18.417685682Z","modified_time":"2026-05-14T19:25:32Z","sha256":"cf0d566d7abb400988aea74b00099a6db4c5ea928f32e7d44648193e21a36035","source":"amazon-inspector","versions":["1.0.0"]},{"id":"GHSA-hvf9-xwj5-pqqj","import_time":"2026-07-31T01:10:09.658408104Z","modified_time":"2026-07-30T22:14:58Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"e062eb5188333b18e9564689cde147929e1f109a0e8ed461d73ba0cad1990b24","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["actran@amazon.com"],"type":"FINDER"}]}

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