How aegis-it-research/pstva works
PSTVA is a web-based security assessment platform. Users authenticate in the React UI, select a project and scanner, and submit a scan through the API; Celery tasks run scanner containers and persist results for graph browsing. Users can also request findings and PDF reports. The README documents six scanner capabilities, all represented below. Some scanner persistence paths and ingestion wiring are unsampled, so those links are omitted rather than inferred.
Main entry points: tasks.py Celery tasks · App.js React application · api.py HTTP API · neo4j_manager.py Neo4j manager
Components 21
User Interface
- React application
modules/frontend/app/src/App.js - Token storage
modules/frontend/app/src/auth.js - Graph viewer
modules/frontend/app/src/GraphViewer.js - Assessment panel
modules/frontend/app/src/components/SidebarPanel.js
API and Tasks
- HTTP API
core/app/api.py - Celery tasks
core/app/tasks.py - Container runner
core/app/docker_runner.py
Security Scanners
- Nmap scanner
modules/tools/nmap/scripts/nmap_scan.py - Nikto scanner
modules/tools/nikto/scripts/nikto_scan.py - FFuF scanner
modules/tools/ffuf/scripts/ffuf_scan.py - Horusec scanner
modules/tools/horusec/scripts/horusec_scan.py - ADenum scanner
modules/tools/adenum/scripts/ad_scan.py - Kerbrute scanner
modules/tools/kerbrute/scripts/kerb_scan.py
Graph Data
- Neo4j manager
core/database/neo4j/neo4j_manager.py - Core ingestion
core/database/neo4j/ingest/core_consumer.py - Network ingestion
core/database/neo4j/ingest/network_consumer.py - Legacy ingestion
core/database/neo4j/ingest/legacy_ingesters/legacy_base.py
Reporting
- Report service
modules/reporting/runtime/report_builder.py - Markdown generator
modules/reporting/scripts/generate_report.py - PDF converter
modules/reporting/scripts/md_to_pdf_latex.py
Other components
- Assessment user
Connections 23
- Assessment user → React application: uses
README.md - React application → Token storage: checks tokens
modules/frontend/app/src/App.js - React application → Assessment panel: renders
modules/frontend/app/src/App.js - React application → Graph viewer: renders
modules/frontend/app/src/App.js - React application → HTTP API: sends requests
modules/frontend/app/src/App.js - React application → HTTP API: requests reports
modules/frontend/app/src/App.js - HTTP API → Celery tasks: dispatches scans
core/app/api.py - Celery tasks → Container runner: runs containers
core/app/tasks.py - Celery tasks → Nmap scanner: calls
core/app/tasks.py - Celery tasks → Nikto scanner: calls
core/app/tasks.py - Celery tasks → FFuF scanner: calls
core/app/tasks.py - Celery tasks → Horusec scanner: calls
core/app/tasks.py - Celery tasks → ADenum scanner: calls
core/app/tasks.py - Celery tasks → Kerbrute scanner: calls
core/app/tasks.py - HTTP API → Neo4j manager: queries and updates
core/app/api.py - HTTP API → Report service: requests report builds
core/app/api.py - Celery tasks → Legacy ingestion: persists scan payloads
core/app/tasks.py - Core ingestion → Neo4j manager: writes graph data
core/database/neo4j/ingest/core_consumer.py - Network ingestion → Neo4j manager: writes graph data
core/database/neo4j/ingest/network_consumer.py - Legacy ingestion → Neo4j manager: uses manager
core/database/neo4j/ingest/legacy_ingesters/legacy_base.py - Report service → Neo4j manager: checks project
modules/reporting/runtime/report_builder.py - Report service → Markdown generator: runs generator
modules/reporting/runtime/report_builder.py - Report service → PDF converter: runs converter
modules/reporting/runtime/report_builder.py