
CVE-2025-55182 react2shell을 분석하기 위한 dart 패키지
강력한 HTTP 프록시 분석기입니다. 브라우저/PoC와 Next.js 서버 간의 Next.js Server Actions 트래픽을 검사합니다.
GitHub 저장소
https://github.com/Benrich127N/react2shell_analyzer.git
$@, $K:)__proto__, constructor.prototype)PoC/Browser → Dart Proxy (4000) → Next.js Server (3000)
dart pub global activate react2shell_analyzer
dependencies:
react2shell_analyzer: ^1.0.0
dart pub get
# 기본값으로 시작 (프록시 4000, localhost:3000으로 전달)
react2shell_analyzer
# 사용자 설정
react2shell_analyzer --proxy-port 8080 --target-port 3000 --target-host example.com
# 특정 기능 비활성화
react2shell_analyzer --no-headers --no-color
import 'package:react2shell_analyzer/react2shell_analyzer.dart';
void main() async {
final config = ProxyConfig(
proxyPort: 4000,
targetHost: 'localhost',
targetPort: 3000,
);
await runProxy(config: config);
}
================================================================================
[a3f8bc21] POST /api/action
Time: 2025-12-07T10:30:45.123Z
REQUEST HEADERS:
content-type: multipart/form-data; boundary=----WebKitFormBoundary
next-action: abc123def456
MULTIPART REQUEST BODY:
Found 2 parts
PART 1:
Content-Disposition: form-data; name="0"
Content:
{"action":"$@1","data":{"userId":123}}
PART 2:
Content-Disposition: form-data; name="1_$ACTION_REF_1"
Content:
$K:1234567890abcdef
[a3f8bc21] RESPONSE: 200
⚠️ SUSPICIOUS PATTERNS DETECTED:
[React Flight action reference] \$@ at Part 1
Context: {"action":"$@1","data":{"userId":123}}
[React Flight key marker] \$K: at Part 2
Context: $K:1234567890abcdef
🐛 보안 연구: Next.js Server Actions의 취약점 분석
🔬 개발: 멀티파트 폼 제출 디버깅
📊 트래픽 분석: React Flight 프로토콜 이해
🛡️ 침투 테스트: 프로토타입 오염 벡터 식별
기여를 환영합니다! GitHub에서 이슈를 열거나 풀 리퀘스트를 제출해 주세요.