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

目标: 1000 元 · 已筹: 1336

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

helmet-pro

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

Summary

Malicious code in helmet-pro (npm)

安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmhelmet-pro10.0.4
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-06T12:30:20Z","published":"2026-08-06T12:30:20Z","schema_version":"1.7.4","id":"MAL-2026-13401","summary":"Malicious code in helmet-pro (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ea17cadddf76a704e98b6c98881f654b13eb16a54d51af5a6b547e36a58d3402)\nhelmet-pro@10.0.4 is a typosquat of the popular helmet HTTP-header middleware. Its package.json postinstall hook runs lib/utils/index.js, which spawns lib/utils/smtp-connection/index.js as a detached child with all stdio silenced. That file is string-array/hex-name obfuscated and, when decoded, performs an axios.get against https://api.jsonbin.io/v3/b/6a719632da38895dfeb7128d and passes the returned record.message to new Function('require',...)(require). The result is arbitrary remote code execution on the installer's machine at npm install time, with require available to the fetched payload. The jsonbin.io record is attacker-mutable, so the executed payload can change at any time without republishing the package. The package also masquerades in metadata/comments as a nodemailer-adjacent SMTP module to disguise the dropper.\n","affected":[{"package":{"ecosystem":"npm","name":"helmet-pro"},"versions":["10.0.4"],"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/utils/smtp-connection/index.js","sha256":"082583b62d90da834dc8e262f6999bcd2a1194e3ef3fefca8d70f6c1ebc4fa79","tlsh":"0b217819bf8427a1278759fb6a679874c223ec92f89c5d099076f0a43cd0924dbc3634"},{"path":"lib/utils/index.js","sha256":"9fb27c30f484650bb4a39f65a03fbccdc0b9b5f1cb84700ca73ee8893c66e06e","tlsh":"dae0686a23533738a034cbc1da30ce3b258b8020b365a0e0f00c406a2bc72c406ea8da"}],"package_integrity":[{"filename":"helmet-pro-10.0.4.tgz","hashes":{"sha1":"3e65b256cfdf774bf631da6faa93ee247126107f","sha512_sri":"sha512-zNEwySdN6ZKHk8ipEFaXWUJZA8mq+zetK6yW/1Z45MZ/Yp87i51kBdZV79d7FmsKQCQhg2XHxrVUFYnz9RjGQQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/helmet-pro/v/10.0.4"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-016093","import_time":"2026-08-06T13:08:48.598419391Z","modified_time":"2026-08-06T12:30:20Z","sha256":"ea17cadddf76a704e98b6c98881f654b13eb16a54d51af5a6b547e36a58d3402","source":"amazon-inspector","versions":["10.0.4"]}]}}

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