HomeCase studiesDistributed Website Vulnerability Scanner and Attack Surface...

Case study · Berlin, Germany

Distributed Website Vulnerability Scanner and Attack Surface Verification Engine

Application Security & Attack Surface Scanning

Conventional dynamic scanners routinely miss vulnerabilities hidden inside JavaScript-heavy single-page applications while overwhelming engineering teams with speculative signature alerts. We engineered a distributed website vulnerability scanner pairing high-concurrency Go network workers, Python payload analysis modules, and a React security triage workbench. The platform renders modern client-side routes in isolated headless browsers, replays verified proof-of-exploit probes safely, and delivers reproducible remediation traces directly into developer workflows.

Industry
Application Security & Attack Surface Scanning
Solution
An automated dynamic application security testing (DAST) and attack-surface scanning platform powered by Go workers, Python exploit-verification plugins, and a React triage console.
Platforms
Web & API
Stack
Go · Python · React · PostgreSQL · Redis · Docker
Location
Berlin, Germany · delivered remotely
Role
Engineering, with the team behind for mobile and QA

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.

01 — Questions

asked about this kind of project

Why combine Go and Python in the scanning backend instead of writing the entire engine in one language?

Go excels at managing thousands of concurrent network sockets, TLS handshakes, and strict per-target rate limiters with minimal memory overhead. Python accelerates authoring, updating, and sandboxing specialized detection logic, HTML/JS AST inspection, and custom protocol fuzzers without recompiling the core scheduler.

How does the scanner discover endpoints inside authenticated React or Vue single-page applications?

Instead of relying purely on static HTML link extraction, Go workers dispatch dynamic routes to isolated headless Chromium containers. The browser executes client JavaScript, records authenticated XHR/fetch requests and GraphQL operations, and feeds those discovered API contracts back into the fuzzing frontier.

How do you avoid taking down fragile staging or production websites during aggressive active scans?

Every scan profile enforces adaptive token-bucket rate limits in Redis paired with latency-feedback circuit breakers. If target response times degrade or HTTP 429/503 responses rise, Go workers automatically throttle concurrency and pause intrusive checks.

How does the platform minimize false positives on reflected XSS, SSRF, and SQL injection checks?

The Python verification layer avoids fragile regex guesses on error strings. For XSS, it confirms actual DOM execution or unencoded attribute breakouts in a sandboxed browser; for SSRF and blind injection, it requires deterministic out-of-band callback tokens or differential timing proofs.

How are authenticated scans kept working when targets rotate CSRF tokens or short-lived JWTs?

Scan configurations support scripted login sequences and live session health checks. Whenever a worker detects an HTTP 401/403 redirect or expired session marker, the Go coordinator triggers an automatic re-authentication hook and injects refreshed cookies or bearer headers across active workers.

What prevents malicious targets from exploiting the scanner's own headless browsers or parsers?

Chromium instances run inside ephemeral rootless Docker containers with strict egress filtering, blocked access to internal cloud metadata IPs, and per-page memory/CPU cgroups destroyed immediately after each crawl batch.

03 — Similar project?

describe what is different about yours

Build yours.

Tell me what exists, what you need and the deadline. Fixed price for a defined scope, or $55/day (8–9 hours work) with a written plan first.

Solitaire Corporate Park, Makarba, Ahmedabad, Gujarat 380015, India · IST (UTC+5:30) · --:-- IST · Mon–Fri 09:00–18:00 IST · US & EU overlap daily

No newsletter, no CRM. Just a reply.