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

目标: 1000 元 · 已筹: 1359 元

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

web-main

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

Summary

Malicious code in web-main (npm)

安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmweb-main22.1.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-09-14T16:42:39Z","published":"2026-09-14T16:42:39Z","schema_version":"1.7.4","id":"MAL-2026-16153","summary":"Malicious code in web-main (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (61680a5d53758bc9eb99b1cd2566e6e19139d09fee10a0096a5e72bb0953a5b2)\npackage.json declares `preinstall: node index.js`, causing index.js to execute automatically on `npm install`. The script collects os.hostname(), os.userInfo() (username/uid/gid/shell), platform, arch, homedir, and the stdout of `whoami`, `id`, and `pwd` via child_process.exec, then POSTs the aggregated JSON to a hardcoded endpoint at https://smi54v4uvb9q7ve5t6fnyro16scj0co1.oastify.com/system-info (a Burp Collaborator out-of-band host). No legitimate functionality is present; the package's sole effect on install is host reconnaissance and exfiltration to an attacker-controlled OOB collector.\n","affected":[{"package":{"ecosystem":"npm","name":"web-main"},"versions":["22.1.2"],"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":"index.js","sha256":"d35df18d79caf14c25e114745aa01e21569ca00c80cb42f008f41613ba2c40f7","tlsh":"465130c515f659251ba7a8494a0f9402a327e0033509ee55bfcc8740af9937c97f0af6"},{"path":"package.json","sha256":"80cd4d0d2a3ea294a07d692ed116b1e05f55272fddf07ca3004dc0fa663ffb23","tlsh":"69d05e345e216a2329c506d6086ea44662a18f2f4904780997cb183c95de67398ff30d"}],"package_integrity":[{"filename":"web-main-22.1.2.tgz","hashes":{"sha1":"f22e35d441c60acc213e1b251420ac150309d714","sha512_sri":"sha512-lebglOYs2XS9DoLLgGZG7z0SElaox3Pyst5TBxZg2ntvwZSzRivCp717qy59Zz52a+n2/bb0zhSdZ9/bFWnFoQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/web-main/v/22.1.2"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-020023","import_time":"2026-09-14T17:15:20.390495237Z","modified_time":"2026-09-14T16:42:39Z","sha256":"61680a5d53758bc9eb99b1cd2566e6e19139d09fee10a0096a5e72bb0953a5b2","source":"amazon-inspector","versions":["22.1.2"]}]}}

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