How excanear/techrecon works
TechRecon is a Chrome extension for passive web-technology reconnaissance and authorized, scoped site scans. In the tab-analysis path, the popup requests page evidence through the service worker, which runs collection and fingerprinting before vulnerability correlation and enrichment; results are presented and can be exported. Site scans add authorization and permissions, crawling, inventory aggregation, CVE correlation, and passive configuration checks, with results stored for the full-tab dashboard. The README documents these stages and integrations; unsampled implementation details are represented only where the source index or README supports the relationship.
Main entry points: index.ts Service worker · runner.ts Scan runner · App.tsx Popup · useScan.ts Scan controls
Components 24
User interface
- Popup
src/popup/App.tsx - Scan dashboard
src/dashboard/Dashboard.tsx - Scan controls
src/popup/useScan.ts
Page analysis
- Service worker
src/background/index.ts - Page collector
src/content/collector.ts - Fingerprint engine
src/fingerprinting/engine.ts - Signature rules
src/fingerprinting/signature.ts - Page reconnaissance
src/recon/index.ts - Wappalyzer dataset
src/background/datasetChannel.ts
Authorized scanning
- Scope and authorization
src/scope/scope.ts - Host permissions
src/scope/permissions.ts - Scan messaging
src/background/scanChannel.ts - Scan runner
src/scan/runner.ts - Site crawler
src/crawler/crawler.ts - Page fetch and parse
src/offscreen/offscreen.ts - Inventory aggregation
src/crawler/aggregate.ts - Configuration checks
src/misconfig/checks.ts
Vulnerability intelligence
- CVE correlation
src/cve/correlate.ts - Exploit prioritization
src/cve/enrich.ts - Vulnerability sources
Results and storage
- Extension storage
src/storage/index.ts - Scan database
src/db/index.ts - Report export
src/export/index.ts
Other components
- Analyst
Connections 29
- Analyst → Popup: uses
- Popup → Service worker: requests analysis
- Service worker → Page collector: executes collection
src/background/index.ts - Service worker → Fingerprint engine: runs detection
src/background/index.ts - Fingerprint engine → Signature rules: matches rules
src/fingerprinting/engine.ts - Service worker → Page reconnaissance: analyzes page
src/background/index.ts - Service worker → CVE correlation: correlates CVEs
src/background/index.ts - CVE correlation → Exploit prioritization: enriches findings
src/cve/correlate.ts - Exploit prioritization → Vulnerability sources: queries KEV and EPSS
src/cve/enrich.ts - CVE correlation → Vulnerability sources: queries CVE sources
src/cve/correlate.ts - Popup → Extension storage: loads and saves
src/popup/App.tsx - Popup → Report export: exports reports
src/popup/App.tsx - Analyst → Scan controls: starts authorized scan
- Scan controls → Scope and authorization: declares scope
src/popup/useScan.ts - Scan controls → Host permissions: requests access
src/popup/useScan.ts - Scan controls → Scan messaging: sends scan requests
src/popup/useScan.ts - Scan messaging → Scan runner: dispatches scan
src/background/scanChannel.ts - Scan runner → Site crawler: runs crawl
- Site crawler → Page fetch and parse: fetches pages
- Site crawler → Fingerprint engine: fingerprints pages
src/crawler/crawler.ts - Scan runner → Inventory aggregation: aggregates inventory
- Scan runner → CVE correlation: correlates inventory
- Scan runner → Configuration checks: checks configuration
- Scan messaging → Scan database: persists scan data
src/background/scanChannel.ts - Scan dashboard → Scan database: loads scan results
- Scan dashboard → Report export: exports scan report
src/dashboard/Dashboard.tsx - Analyst → Scan dashboard: opens report
- Scan messaging → Exploit prioritization: requests enrichment
src/background/scanChannel.ts - Analyst → Wappalyzer dataset: opts into dataset