
대상 웹사이트가 React Server Components의 CVE-2025-66478 RCE에 영향을 받는 취약한 Next.js 버전을 실행 중인지 탐지하는 CLI 스캐너.
CVE-2025-66478 Next.js 취약점 스캐너입니다. 웹사이트가 RSC(React Server Components) RCE 취약점에 영향을 받는 Next.js 버전을 사용하고 있는지 감지합니다.
uv는 빠른 Python 패키지 관리자입니다.
# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
# 가상환경 생성 및 의존성 설치
uv venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
uv pip install -r requirements.txt
# Playwright 브라우저 설치
playwright install chromium
# 스캐너 실행
python scanner.py <URL>
# uv run을 사용하면 가상환경 없이 바로 실행 가능
uv run --with playwright scanner.py <URL>
# 단, Playwright 브라우저는 별도로 설치 필요
uv run --with playwright playwright install chromium
pip install -r requirements.txt
playwright install chromium
python scanner.py <URL>
# 웹사이트 스캔
python scanner.py https://example.com
# 타임아웃 설정 (기본값: 30000ms)
python scanner.py https://example.com --timeout 60000
0: 안전함 (패치된 버전 또는 Next.js 미사용)1: 취약함2: 알 수 없음 (버전 확인 불가)