SunHuawei / SourceDetector
Discover source maps. Inspect client-side assets. Catch risky leaks faster.
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing SunHuawei/SourceDetector in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewSource Detector English | 简体中文 | 日本語 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 What it does • 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 Who it is for • Security researchers • Bug bounty hunters • Front-end engineers • Developers auditing client-side exposure How it works • 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. Privacy and permissions 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: • Privacy Policy Install Chrome Web Store Install here: • https://chromewebstore.google.com/detail/source-detector/aioimldmpakibclgckpdfpfkadbflfkn Local development • Clone the repository • Install dependencies • Start watch build: • Load extension in Chrome: • Open • Enable **Developer mode** • Click **Load unpacked** • Select Build Artifacts: • Unpacked extension: • Packed zip: Automated GitHub Release This repo includes . Trigger • Push a semver tag: (example: ) • Or run manually from **Actions → Release Extension → Run workflow** What it does • • • Verifies • Creates or updates a GitHub Release and uploads the zip artifact Feedback • 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 License MIT