Web Security Inspector Pro: Dynamic DOM Analysis & Routing
An enterprise-grade, multi-threaded desktop application designed for secure webpage extraction, deep DOM parsing, and automated secret discovery via dynamic Tor and proxy routing.
Performance & metrics
- Pygments syntax highlighting is strictly capped at 300,000 characters to prevent UI thread lockups (OOM) on large obfuscated scripts
- Asynchronous network dispatching prevents the main event loop from hanging during slow Tor node handshakes or WAF timeouts
- Efficient decoupled component rendering updates GUI tabs only when specific thread payloads clear the queue
Why I built it
When analyzing potentially malicious or heavily obfuscated web targets, opening them in a standard browser or relying on raw curl commands is either dangerous or highly inefficient. I engineered this tool to securely fetch, dissect, and visualize the DOM without executing embedded malicious payloads. It automates the extraction of embedded scripts, stylesheets, and hardcoded secrets while offering strict OPSEC through Tor network forcing and custom proxy failovers.Architecture & decisions
The application leverages a decoupled GUI architecture utilizing Python's threading and queue.Queue to maintain absolute UI responsiveness during high-latency network requests (especially over Tor). The extraction engine uses BeautifulSoup to physically partition the DOM into 'safe' (JS/CSS stripped) and 'unsafe' components for offline viewing. To handle large HTML/JS payloads without freezing the Tkinter text widgets, I implemented a custom Pygments lexing wrapper with strict character limits, ensuring optimal memory management during syntax highlighting.
Key features
- Dynamic proxy routing with automated Tor fallback for
.onionand standard domains - DOM manipulation engine that isolates and strips executable JavaScript for secure local viewing
- Regex-based heuristic vulnerability scanner targeting hardcoded JWTs, API keys, and credentials
- Thread-safe, non-blocking Tkinter GUI featuring real-time logging and segmented artifact workspaces
- Automated CSS extraction and real-time visual color palette harvesting directly in the UI
Technical review
This tool bridges the gap between manual scraping and heavyweight automated vulnerability scanners. The desktop interface provides immediate visual feedback and segregated workspaces for HTML, CSS, and JS artifacts. By enforcing strict separation between the frontend Tkinter rendering UI and the backend network/parsing threads, it guarantees a fluid experience even when analyzing hostile, WAF-protected, or exceptionally large web applications.
Related projects
Major project
TinkerMole: Automated Reverse Engineering & Static Analysis Pipeline
A multi-threaded, GUI-driven Android reverse engineering pipeline. It automates APK extraction, deep Flutter engine analysis, static vulnerability scanning, and Ghidra workspace initialization.
- Python
- Shell
- Tkinter
- +7
Pro Hex Analyzer & Binary Patcher
A lightweight, heavily multi-threaded desktop utility for rapid static binary triage. It provides real-time x86-64 disassembly, heuristic string extraction (IoC tagging), and live assembly injection.
- Python
- Tkinter
- Capstone Engine
- +3
Major project
Ferivonus Swagger Gen: Zero-Boilerplate OpenAPI Macro Engine
A zero-boilerplate OpenAPI 3.0.0 generator and custom Swagger UI engine for Actix-Web, distributed as a native Cargo crate and powered by compile-time procedural macros.
- Rust
- JavaScript
- HTML
- +10
Need something similar?
I can build a system like this for you, too.
Describe your project in a few sentences, and we'll work out the right approach and an estimated scope together.