How yashab-cyber/hackgpt works
HackGPT Enterprise is an AI-assisted penetration-testing and SOC platform. An authorized security user enters an assessment through the application entry point; authentication and authorization guard the request, the assessment engine records the session, AI analyzes findings, exploitation verifies payloads, and reporting returns technical and executive results. SOC analysis is a parallel log-correlation workflow. The graph also preserves documented persistence, caching, distributed workers, SIEM integrations, monitoring, and cloud orchestration. Several service links are based on README architecture because their callers were not sampled.
Main entry points: advance_hackgpt.py Application Entry · advanced_engine.py AI Analysis · manager.py PostgreSQL Store · authentication.py Authentication
Components 26
Access Runtime
- Application Entry
advance_hackgpt.py - Authentication
security/authentication.py
Assessment Intelligence
- Assessment Engine
advance_hackgpt.py - AI Analysis
ai_engine/advanced_engine.py - Model Registry
ai_engine/model_registry.py - Provider Adapters
ai_engine/providers.py - Safe Exploitation
exploitation/advanced_engine.py - Report Generator
reporting/dynamic_reports.py - Live Dashboard
reporting/realtime_dashboard.py
SOC Operations
- SOC Analysis
security/soc_analysis.py - SIEM Connectors
security/soc_analysis.py
State and Scale
- PostgreSQL Store
database/manager.py - Redis Cache
performance/cache_manager.py - Parallel Processor
performance/parallel_processor.py - Celery Workers
performance/parallel_processor.py
Cloud Platform
- Service Registry
cloud/service_registry.py - Docker Manager
cloud/docker_manager.py - Kubernetes Manager
cloud/kubernetes_manager.py
Other components
- Security User
- AI Providers
- SIEM Services
- Redis Queue
- Container Platform
- Consul Registry
- Prometheus Metrics
- Grafana Analytics
Connections 29
- Security User → Application Entry: starts assessment
- Application Entry → Authentication: authenticates request
- Authentication → PostgreSQL Store: checks users
- Authentication → SIEM Connectors: audits activity
- Application Entry → Assessment Engine: dispatches assessment
- Assessment Engine → PostgreSQL Store: stores findings
- Assessment Engine → AI Analysis: analyzes findings
- Assessment Engine → Safe Exploitation: verifies findings
- Assessment Engine → Report Generator: requests reports
- AI Analysis → Model Registry: selects model
- Model Registry → Provider Adapters: routes provider
- Provider Adapters → AI Providers: generates analysis
- AI Analysis → PostgreSQL Store: saves context
- AI Analysis → Redis Cache: caches analysis
- Safe Exploitation → Parallel Processor: parallelizes tests
- Parallel Processor → Celery Workers: dispatches tasks
- Celery Workers → Redis Queue: queues work
- Report Generator → PostgreSQL Store: reads results
- Report Generator → Live Dashboard: publishes updates
- Live Dashboard → Prometheus Metrics: exposes metrics
- Prometheus Metrics → Grafana Analytics: feeds analytics
- Application Entry → SOC Analysis: dispatches SOC analysis
- SOC Analysis → SIEM Connectors: queries SIEM
- SIEM Connectors → SIEM Services: collects events
- Service Registry → Consul Registry: registers services
- Docker Manager → Container Platform: manages containers
- Kubernetes Manager → Container Platform: orchestrates workloads
- Service Registry → Docker Manager: discovers services
- Application Entry → Security User: returns results