Soifon is a browser extension that monitors network traffic and browser storage for given URL rules, automatically capturing and recording regex-matched values from requests and browser storage.
Features • Installation • Usage • Security
- Network Request Monitoring: Automatically captures values from POST request bodies using regex patterns
- Storage Extraction: Extracts values from
localStorage,sessionStorage, and cookies based on URL patterns - Rule-Based Configuration: Define custom rules with URL patterns and capture patterns
- Automatic Notifications: Get notified when values are captured
- Easy Access: View and copy copied data directly from the extension popup
- Dark Theme UI: Clean, modern interface optimized for developer workflows
- Data Retention: Keeps the last 50 captured items
- Clone this repository:
git clone <repository-url>
cd soifon-
Open Chrome/Chromium and navigate to
chrome://extensions/ -
Enable "Developer mode" (toggle in the top right)
-
Click "Load unpacked" and select the
soifondirectory -
The Soifon extension icon should now appear in your browser toolbar
Network rules capture values from POST request bodies:
- Click the Soifon extension icon
- Navigate to the Settings tab
- Under "Network Auto-Copy Rules":
- Rule Name: A descriptive name for this rule (e.g., "AWS SAML")
- URL Regex (Trigger): Regex pattern to match URLs (e.g.,
signin\.aws\.amazon\.com) - Body Regex (Capture Group 1): Regex pattern with a capture group to extract the value (e.g.,
SAMLResponse=([^&]+))
- Click "Add Network Rule"
Storage rules extract values from browser storage:
- In the Settings tab, under "Storage Extraction Rules":
- Rule Name: A descriptive name for this rule (e.g., "Session Token")
- URL Regex (Trigger): Regex pattern to match URLs (e.g.,
mywebsite\.com) - Key Name: The storage key name to extract (e.g.,
auth_token)
- Click "Add Storage Rule"
The extension will check:
localStoragesessionStorage- Cookies
- Click the Soifon extension icon
- Navigate to the Captured tab
- View all captured values with timestamps
- Click "Copy" to copy a value to your clipboard
- Use "Clear All" to remove all captured data
Soifon requires the following permissions:
webRequest: Monitor network trafficstorage: Store rules and captured datacookies: Read cookie valuesscripting: Extract values from page storagetabs: Access tab informationnotifications: Show capture notifications<all_urls>: Monitor requests across all websites
Soifon is designed for developer and security workflows such as capturing SAML assertions, session tokens, and API keys for debugging and testing purposes.
- All captured data is stored locally in Chrome's extension storage and is never transmitted externally
- The extension requires broad permissions (
<all_urls>,tabs,webRequest) to monitor arbitrary URLs based on user-defined rules -- these permissions are necessary for core functionality - Review your configured rules carefully, as the extension will capture and store any values that match your regex patterns
- Clear captured data regularly, especially when working with sensitive credentials