Delivered remotely for a business based in Berlin, Germany. Names withheld by agreement.
Project Overview
Engineering teams ship APIs and single-page web applications faster than manual penetration tests can keep pace, yet legacy dynamic scanners frequently leave wide blind spots. Regex-driven HTML crawlers fail to trigger routes hidden behind client-side state, while naive payload spraying floods security queues with unverified warnings that developers ignore.
We built a distributed website vulnerability scanner combining high-concurrency Go network workers, extensible Python vulnerability plugins, and a React security operations workbench. The platform maps modern JavaScript attack surfaces accurately, verifies exploitability safely through sandboxed execution and out-of-band correlation, and produces actionable HTTP request-response proofs ready for pull-request remediation.
Crawl Surface & False-Positive Challenges
Modern web architectures break the assumptions baked into older HTTP-only vulnerability scanners:
- Invisible client-side routes: Single-page frameworks bind navigation, GraphQL mutations, and REST calls inside bundled JavaScript rather than server-rendered anchor tags.
- Noisy heuristic alerts: Flagging any reflected parameter or generic database error message produces long backlogs of non-exploitable findings that erode developer trust.
- Session drift during long scans: Multi-factor logins, rotating CSRF nonces, and short-lived bearer tokens routinely expire mid-scan, causing unauthenticated workers to scan login redirects uselessly.
- Target fragility under concurrency: Unthrottled scanner threads can accidentally overwhelm staging databases or trigger WAF IP bans mid-release.
Architectural Strategy
We divided the system cleanly between Go for deterministic network orchestration and Python for expressive vulnerability verification. Go services own target domain verification, DNS resolution safety, adaptive rate pacing, TLS/header inspection, and crawl-frontier scheduling over Redis. When routes require JavaScript execution or stateful form interaction, Go delegates page batches to containerized headless Chromium workers that capture live DOM state, cookies, and intercepted API calls.
Discovered endpoints and parameter schemas pass to stateless Python detection plugins. Rather than stopping at suspicious response substrings, Python analyzers execute multi-step confirmation—verifying DOM sink execution, validating out-of-band DNS/HTTP interaction callbacks on an isolated listener, and comparing differential responses before promoting a candidate into a confirmed finding in PostgreSQL.
Core Capabilities
- Hybrid Static & Headless Crawling: Combines fast Go HTTP spidering with sandboxed Chromium rendering to enumerate SPAs, shadow APIs, OpenAPI schemas, and WebSocket endpoints.
- Proof-Based Vulnerability Checks: Verifies OWASP Top 10 vectors—including XSS, SQLi, SSRF, open redirects, CORS misconfigurations, and broken object-level authorization—using deterministic confirmation probes.
- Out-of-Band Callback Correlation: Generates unique per-probe subdomains and tokens so blind SSRF, XXE, and asynchronous command-injection paths are proven without destructive payloads.
- Adaptive Rate & WAF-Safe Throttling: Dynamically tunes request concurrency per host based on latency variance and status codes, respecting maintenance windows and excluded destructive paths.
- React Attack-Surface & Diff Workbench: Visualizes discovered endpoints, TLS posture, reproducible cURL commands, highlighted payload diffs, and scan-over-scan regression tracking.
Technical Architecture
Users configure target scopes, domain-ownership proofs, and authentication macros in the React console, persisting schedules in PostgreSQL. Go schedulers enqueue seed URLs into Redis frontiers and coordinate worker pools across two tracks: high-speed Go HTTP/TLS scanners and Docker-isolated Chromium crawlers that stream intercepted XHR endpoints back into the frontier. Enriched parameter maps route to Python detection workers, which run safe verification probes and listen for out-of-band callbacks before storing confirmed evidence for React triage and SARIF CI/CD exports.
Flow: React Console & CI Triggers → Go Scan Coordinator → Redis Crawl Frontier → Go HTTP Probers + Docker Chromium Crawlers → Python Exploit-Verification Plugins → Out-of-Band Listener → PostgreSQL Findings & SARIF Export
Decoupling discovery from plugin verification allows AppSec engineers to deploy new CVE or business-logic checks in Python immediately without touching core Go scheduling or browser pool mechanics.
Technology Stack
| Category | Technology detail |
|---|---|
| Concurrency Engine | Go orchestrating scan job scheduling, rate pacing, and raw HTTP/TLS probing |
| DOM & SPA Crawler | Headless Chromium pools executing client-side routes, XHR calls, and auth flows |
| Detection Plugins | Python analyzer modules running parameterized XSS, SSRF, and injection probes |
| Frontend Console | React SPA rendering interactive attack-surface maps, HTTP diffs, and severity triage |
| Findings Database | PostgreSQL storing target inventories, scan baselines, and verified vulnerability proofs |
| Crawl Frontier | Redis managing URL deduplication sets, token-bucket rate limits, and worker queues |
| Worker Isolation | Docker containers sandboxing headless browser sessions and untrusted target responses |
| CI/CD Integration | Signed REST webhooks and SARIF report exporters gating pull-request deployments |
Engineering Trade-offs & Solutions
| Engineering Challenge | Solution & Trade-off |
|---|---|
| Avoiding infinite crawl loops on parameterized e-commerce or calendar URLs | Implemented structural URL canonicalization and DOM-similarity hashing in Redis; prevents combinatorial path explosions at the cost of potentially skipping near-identical template routes unless explicitly whitelisted. |
| Balancing deep SPA JavaScript execution with scan completion speed | Routed static assets and known REST routes through Go HTTP workers while reserving Chromium containers for unique UI states and unmapped scripts; cuts heavy browser compute overhead substantially. |
| Verifying blind SSRF safely without leaking sensitive customer data | Used an isolated zero-payload DNS/HTTP callback verifier returning only unique probe IDs; requires operating dedicated callback domains while guaranteeing non-invasive proof generation. |
| Handling destructive POST/DELETE forms during automated crawling | Enforced read-only safe-method defaults and semantic button filtering (logout, delete, charge) unless staging sandboxes explicitly opt into state-mutating fuzzing. |
Security & Reliability
Active security scanners sit at the intersection of offensive probing and customer trust, demanding strict scope enforcement. Every target domain requires DNS TXT or well-known file verification before active fuzzing unlocks, and Go network dialers explicitly block RFC 1918 private ranges, loopback addresses, and cloud metadata endpoints (169.254.169.254) to prevent the scanner itself from becoming an SSRF pivot.
Headless Chromium workers run inside non-privileged, ephemeral Docker containers with read-only root filesystems and hard memory ceilings, recycled between tenant jobs so cached scripts or cookies never bleed across organizations. On the reliability front, scan checkpoints persist continuously to PostgreSQL and Redis so worker preemption resumes from the last unvisited frontier batch rather than restarting multi-hour assessments from scratch.
Performance & Scale
Scanning large enterprise portfolios means balancing breadth across thousands of subdomains with depth inside complex authenticated apps. Go's lightweight goroutines sustain high socket concurrency for TLS certificate validation, HTTP header auditing, and fast parameter probing while keeping memory predictable. Redis HyperLogLog and Bloom-style structures deduplicate millions of seen URL patterns in constant time.
When heavy JavaScript apps require headless rendering, container autoscaling spins up Chromium pools strictly in proportion to queued DOM tasks, tearing idle browsers down promptly. Meanwhile, the React dashboard paginates large finding inventories and streams live scan progress via server-sent events so security engineers monitor discovery in real time without browser lag.
Operational Outcomes
Deploying a unified Go, Python, and React vulnerability scanner transformed how product security and development teams collaborate on web risk:
- Trusted vulnerability reports: Proof-backed findings accompanied by exact HTTP requests, DOM execution evidence, and copy-ready reproduction steps eliminate back-and-forth debates over false positives.
- Full modern SPA visibility: Headless browser route discovery exposes client-side APIs and authenticated state transitions that traditional static crawlers routinely missed.
- Safe continuous CI/CD gating: Adaptive rate limiting and SARIF output let teams embed targeted pre-release scans directly into deployment pipelines without destabilizing staging environments.
- Rapid rule extensibility: Isolated Python detection plugins allow AppSec engineers to ship coverage for newly disclosed framework flaws as soon as advisories appear.