
Defensive scanner + mitigation guidance for CVE-2025-55182 (React Server Components / Flight protocol insecure deserialization).
This tool is intended to help you:
From December 2025 guidance:
19.0.1 or 19.1.2 or 19.2.116.0.7 or 15.5.7 or 15.4.8 or 15.3.6 or 15.2.6 or 15.1.9 or 15.0.5From this repo:
npm install
Run via Node:
node cli.js scan .
Or install globally:
npm install -g .
cve-2025-55182 scan .
cve-2025-55182 scan /path/to/repo
JSON output:
cve-2025-55182 scan /path/to/repo --json
CI-friendly exit code:
cve-2025-55182 scan /path/to/repo --fail-on-vulnerable
2 if likely vulnerable0 if not flagged1 on errorscve-2025-55182 help-mitigate
These are not a substitute for patching.
cve-2025-55182 generate --express
cve-2025-55182 generate --nginx
package.json dependency ranges for next, react, react-dom, react-serverpackage-lock.jsonpnpm-lock.yamlyarn.lockMIT