该仓库提供了一个基于 Python 的扫描器,用于检测与 CVE-2025-55182(React Server Components RCE)以及 Asleepace 事件报告中描述的多阶段恶意软件相关的入侵指标。它设计在 Linux 和 macOS 上运行,专注于受影响系统上可能出现的主机级和应用程序级痕迹。
meshagent、fghgf、defunct、0dd1429aws、systemd-daemon、sex.sh、临时目录 kodoha*/xmrig 及相关负载/脚本位置)。meshagent、nextjss、nginxx、fghgf、xmrig、systemd-daemon 或 docker-daemon)的进程。nginxx.service、nextjss.service、system-daemon.service 和 system-update-service.service。/proc 绑定挂载技术)的条目。xorDecode( 模式的 JavaScript/TypeScript 文件,该模式被注入到 node_modules 和 ecosystem.config.js 中的 XOR 编码加载器使用,如事件报告中所述。该扫描器不尝试修复;它仅报告可疑发现,并在检测到任何可疑内容时返回非零退出码。
脚本仅使用 Python 标准库;无需外部 Python 包。
python3 cve_2025_55182_scanner.py
python3 cve_2025_55182_scanner.py --root /path/to/your/nextjs-or-react-project
python3 cve_2025_55182_scanner.py --json
python3 cve_2025_55182_scanner.py --skip-js-scan
python3 cve_2025_55182_scanner.py --root /var/www/app --json
快速主机分类(Linux 或 macOS):
python3 cve_2025_55182_scanner.py应用程序重点扫描(Next.js/React 项目):
python3 cve_2025_55182_scanner.py --root /path/to/appnode_modules 或应用程序代码中)时。CI / 自动化环境:
python3 cve_2025_55182_scanner.py --root . --jsonhttps://asleepace.com/blog/malware-cve-2025-55182-exploitation-incident-report特别感谢 Asleepace 深入记录了 CVE-2025-55182 的利用过程及相关恶意软件行为,使得构建此针对性扫描器成为可能。