EnvScope is a high-performance, context-aware browser extension designed to identify and extract exposed credentials, sensitive tokens, and internal API endpoints from modern web applications.
Unlike traditional static scanners, EnvScope uses a 10-layered deep-scanning architecture that combines AST-based code analysis with runtime heuristics to filter noise and surface real security risks.
EnvScope doesn't just look for strings; it analyzes the execution environment of the application.
graph TD
A[Page Load] --> B{10-Layer Scan}
subgraph "Static Analysis"
B1[L1: JS Bundle Scan]
B5[L5: Inline Script Analysis]
end
subgraph "Runtime Hooking"
B2[L2: Fetch/XHR Interception]
B4[L4: Console Monitor]
B7[L7: WebSocket Stream Scan]
end
subgraph "Environmental Analysis"
B3[L3: Global Objects Inspection]
B6[L6: Storage & Cookies Scan]
B10[L10: DOM / Metadata Scan]
end
B1 & B2 & B3 & B4 & B5 & B6 & B7 & B10 --> C[Intelligent Filtering Engine]
C --> D[Base64 Noise Filter]
D --> E[JWT Verification]
E --> F[Context-Aware Scoring]
F --> G[Categorized Dashboard]
- 🔴 High-Value Secret Detection: Focused on Private Keys (RSA/ECC), Cloud Keys (AWS/GCP), Database URIs (Mongo/Postgres), and JWTs.
- 🛡️ Intelligent Noise Reduction: Advanced heuristics and AST-based context check drop 95% of false positives (UI flags, minified hashes).
- 🔵 API Reconnaissance: Automatically discovers and categorizes internal endpoints vs. frontend app routes.
- 🚀 One-Click Intelligence: Grouped findings with environment detection tips (e.g., "Possible multi-environment setup").
- 📋 Export-Ready: Extract clean, JSON-formatted reports of audit findings for external tools.
- 🏝️ Site-Wise Isolation: Each site retains its own localized findings with a clean workspace for research.
- Core Engine: TypeScript + Acorn (AST Parser)
- Frontend UI: Preact + Vite
- Styling: Vanilla CSS (Modern Glassmorphism Design)
- Icons: Lucide-Preact
├── src/
│ ├── app.tsx # Main React/Preact Dashboard UI
│ ├── background/ # Atomic background worker with storage proxy
│ ├── content/ # 10-layer runtime & static injection engine
│ ├── engine/ # The Intelligent Analyzer (Scoring & Filtering)
│ └── index.css # Modern dark-mode styling
├── dist/ # Production-ready extension build
└── vite.config.ts # Extension bundling config (CRXJS)
npm install
npm run devnpm run buildLoad the dist/ folder into Chrome via chrome://extensions/ (Developer Mode enabled).
EnvScope follows strict privacy rules:
- Zero External Reporting: All analysis is performed locally in your browser.
- Origin Locking: Storage is partitioned by domain—no cross-site data leakage.
- Clipboard Safety: Toasts confirm every copy action to prevent accidental data loss.