Source Detector is a Chrome extension for discovering source maps, collecting client-side artifacts, and detecting potential secret leakage in web assets.
- Install: Chrome Web Store
- Website: English (Home) · 简体中文 · 日本語
- Privacy Policy: Online · Repo file
- Issues: GitHub Issues
- Docs: Pages Guide · Growth Roadmap
- Changelog: CHANGELOG
- FAQ: Online FAQ · Repo file
- Screenshot plan: docs/assets/README.md
- Detects source map files on visited pages
- Detects potential API/AI key leakage via built-in and custom rules
- Shows popup risk summaries with drill-down evidence
- Provides a unified Source Explorer for domains, pages, versions, and code evidence
- Supports ZIP export for selected versions or domain batches
- Lets you manage built-in and custom scanner rules from Settings
- Security researchers
- Bug bounty hunters
- Front-end engineers
- Developers auditing client-side exposure
- Visit a website in Chrome.
- Source Detector watches relevant client-side assets and source map references.
- The extension stores findings locally on your device.
- Built-in and custom rules scan collected assets for risky patterns.
- You review evidence in the popup / explorer and export artifacts when needed.
Source Detector is designed to work locally on your device.
- Local-first storage for collected artifacts and settings
- No account required
- No remote backend required for core functionality
- Permissions are used for source map discovery, local storage, and analysis workflows
Read the full policy here:
Install here:
- Clone the repository
- Install dependencies
- Start watch build:
npm run dev:chrome- Load extension in Chrome:
- Open
chrome://extensions - Enable Developer mode
- Click Load unpacked
- Select
dist/chrome
- Open
npm run build:chromeArtifacts:
- Unpacked extension:
dist/chrome - Packed zip:
dist/source-detector-chrome.zip
This repo includes .github/workflows/release.yml.
- Push a semver tag:
v*.*.*(example:v1.3.1) - Or run manually from Actions → Release Extension → Run workflow
npm cinpm run build:chrome- Verifies
dist/source-detector-chrome.zip - Creates or updates a GitHub Release and uploads the zip artifact
- Website (English home): https://sunhuawei.github.io/SourceDetector/
- Website (简体中文): https://sunhuawei.github.io/SourceDetector/zh/
- Website (日本語): https://sunhuawei.github.io/SourceDetector/ja/
- Issues: https://github.com/SunHuawei/SourceDetector/issues
MIT