How arunava-27/vapt-toolkit works
VAPT Toolkit is a vulnerability-assessment platform with a React dashboard, REST API, scan execution, persistence, and reporting. The main user workflow is to manage a project and targets, configure and run a scan, monitor results, then review or export a report. Reconnaissance, port discovery, CVE correlation, and web testing are distinct scan stages; the web scanner orchestrator coordinates specialized probes. The graph includes README-documented capabilities whose detailed wiring was not excerpted; those relationships are omitted or marked unverified where appropriate.
Main entry points: scan_service.py Scan execution · server/main.py FastAPI app · main.py CLI entry point · App.jsx Dashboard app
Components 26
Dashboard
- Dashboard app
frontend/src/App.jsx - Scan workflow
frontend/src/pages/ScanPage.jsx - Scan state
frontend/src/context/ScanContext.jsx - Project views
frontend/src/pages/ProjectsPage.jsx - Project results
frontend/src/pages/ProjectDetailPage.jsx - Results dashboard
frontend/src/components/ResultsDashboard.jsx
API and Services
- FastAPI app
server/main.py - Scan endpoints
server/routes/scan.py - Project endpoints
server/routes/projects.py - Report endpoints
server/routes/reports.py - Bulk scan endpoints
server/routes/bulk.py - Webhook endpoints
server/routes/webhooks.py - Scan execution
server/services/scan_service.py
Assessment
- Reconnaissance
scanner/recon.py - Port scanning
scanner/port_scanner.py - CVE correlation
scanner/cve_scanner.py - Web scanning
scanner/web_scanner.py - Web probe orchestration
scanner/web/web_scanner_orchestrator.py - Specialized web tests
scanner/web - Target scope
scanner/scope_manager.py
Persistence and Reporting
- Scan database
database.py - Report templates
scanner/reporters/template_engine.py - Report exports
scanner/reporters
Other components
- Security user
- CLI entry point
main.py - External webhook consumers
Connections 31
- Security user → Dashboard app: uses
- Dashboard app → Scan workflow: routes to
frontend/src/App.jsx - Dashboard app → Project views: routes to
frontend/src/App.jsx - Dashboard app → Project results: routes to
frontend/src/App.jsx - Scan workflow → Scan state: uses state
frontend/src/pages/ScanPage.jsx - Project results → Results dashboard: renders
frontend/src/pages/ProjectDetailPage.jsx - Dashboard app → FastAPI app: calls REST API
- FastAPI app → Scan endpoints: registers
server/main.py - FastAPI app → Project endpoints: registers
server/main.py - FastAPI app → Report endpoints: registers
server/main.py - FastAPI app → Bulk scan endpoints: registers
server/main.py - FastAPI app → Webhook endpoints: registers
server/main.py - Scan endpoints → Scan execution: dispatches to
- Scan execution → Port scanning: runs
server/services/scan_service.py - Scan execution → CVE correlation: runs
server/services/scan_service.py - Scan execution → Reconnaissance: invokes
server/services/scan_service.py - Scan execution → Web scanning: invokes
server/services/scan_service.py - Web scanning → Web probe orchestration: delegates to
- Web probe orchestration → Specialized web tests: coordinates probes
scanner/web/web_scanner_orchestrator.py - Scan execution → Target scope: uses scope
- Scan execution → Scan database: persists results
server/services/scan_service.py - Project endpoints → Scan database: reads projects
- Report endpoints → Report exports: uses exporters
server/routes/reports.py - Report endpoints → Report templates: uses templates
server/routes/reports.py - Report templates → Scan database: reads and writes
scanner/reporters/template_engine.py - CLI entry point → Reconnaissance: runs
main.py - CLI entry point → Port scanning: runs
main.py - CLI entry point → CVE correlation: correlates
main.py - CLI entry point → Web scanning: runs
main.py - CLI entry point → Report exports: generates HTML
main.py - External webhook consumers → Webhook endpoints: receives events