
Detection tools for finding vulnerable React Server Components in your infrastructure.
# Install dependencies
pip3 install requests
# Version detection (passive, safe for production)
python3 checker.py -u https://your-app.com
React Server Components:
Next.js:
Fixed in:
Passive version detection. Safe to run on production without triggering alerts.
# 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
Checks for version strings in package.json, JavaScript bundles, HTTP headers, and API endpoints.
If you use 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
Update to patched versions:
npm update react-server-dom-webpack@latest
npm update next@latest
Verify the fix:
npm list react-server-dom-webpack next

The version detection tool is safe for production and won't trigger security alerts. Use it for initial discovery and continuous monitoring.