用于在您的基础设施中发现存在漏洞的 React Server Components 的检测工具。
# Install dependencies
pip3 install requests
# Version detection (passive, safe for production)
python3 checker.py -u https://your-app.com
React Server Components:
Next.js:
已修复版本:
被动式版本检测。可在生产环境安全运行,不会触发告警。
# Single target
python3 checker.py -u https://app.example.com
# Multiple targets
python3 checker.py -l targets.txt -o results.json
# Verbose mode
python3 checker.py -u https://app.example.com -v
检查 package.json、JavaScript 打包文件、HTTP 标头和 API 端点中的版本字符串。
如果您使用 Nuclei:
# Version detection
nuclei -t CVE-2025-55182-react2shell.yaml -u https://app.example.com
nuclei -t CVE-2025-55182-react2shell.yaml -l targets.txt
更新到已修复版本:
npm update react-server-dom-webpack@latest
npm update next@latest
验证修复:
npm list react-server-dom-webpack next

版本检测工具可安全用于生产环境,不会触发安全告警。可用于初始发现和持续监控。