A Chrome extension for detecting React Server Components (RSC) and Next.js App Router fingerprints on web pages.
This extension is designed for educational and security research purposes only. It includes functionality that could be used to test for security vulnerabilities. Only use this extension on systems you own or have explicit permission to test. Unauthorized use may be illegal and unethical.
- Automatically scans web pages for RSC indicators
- Detects Next.js App Router patterns
- Monitors page content for RSC-specific markers
- Updates extension badge when RSC is detected
- Sends controlled RSC probe requests
- Analyzes server responses for RSC characteristics
- Identifies Content-Type headers indicating RSC usage
- Detects Vary headers containing 'RSC'
The extension uses multiple detection techniques:
- Content-Type Analysis: Detects
text/x-componentresponses - Pattern Matching: Identifies
window.__next_fand RSC-related patterns - Header Inspection: Analyzes Vary headers for RSC indicators
- Response Structure: Checks for React Flight Protocol patterns
-
Clone this repository:
git clone https://github.com/mrknow001/RSC_Detector.git cd RSC_Detector -
Load the extension in Chrome:
- Open Chrome and go to
chrome://extensions/ - Enable "Developer mode" (toggle in top right)
- Click "Load unpacked"
- Select the RSC_Detector folder
- Open Chrome and go to
- Automatic Detection: The extension automatically scans pages as you browse
- Manual Probe: Click the extension icon and use the "Start Fingerprint Probe" button
- View Results: Check the popup for detection results and detailed information
The screenshot above shows the extension running when RSC is detected, including passive detection results and active probing functionality.
RSC_Detector/
├── manifest.json # Extension configuration
├── content.js # Main detection logic
├── popup.html # Extension popup interface
├── popup.js # Popup functionality
├── background.js # Background service worker
├── rules.json # Network request rules
├── images/
│ └── img1.png # Extension screenshot
├── README.md # This file
└── README_cn.md # 中文文档 (Chinese documentation)
The extension looks for:
- Content-Type:
text/x-component - Global Variables:
window.__next_f - Library References:
react-server-dom-webpack - Response Headers:
Vary: RSC - Protocol Patterns: React Flight Response format
The extension requires:
activeTab- Access current tab contentscripting- Execute scripts on pagesdeclarativeNetRequest- Modify network requests<all_urls>- Work on all websites
Contributions are welcome. Please ensure any changes:
- Maintain the educational/research focus
- Include proper documentation
- Follow Chrome extension best practices
This project is provided for educational purposes. Use responsibly and in accordance with applicable laws and regulations.
This tool is designed for legitimate security research and educational purposes. Users are responsible for ensuring they have proper authorization before testing any systems. The authors are not responsible for misuse of this software.
- English: This file (README.md)
- 中文: README_cn.md - 中文文档