How larlarua/autocve works
AutoCVE is a web-based security-audit and CVE-discovery product. Its documented main journey is project selection/import, audit-task creation, coordinated agent analysis and verification, then vulnerability management and report generation; users can also follow live progress and continue an audit in a session. The graph preserves the documented scan, skills, and one-click CVE branches. Source excerpts show selected runtime details, while other subsystems are represented from the README and source index; their internal links are omitted where implementation evidence was not shown.
Main entry points: query_loop.py Finding runtime · agent_tasks.py Agent task API · orchestrator.py Agent orchestration · audit_sessions.py Session APIs
Components 24
User interface
- AutoCVE UI
frontend/src/app/routes.tsx - Audit workspace
frontend/src/pages/AgentAudit/index.tsx - Audit session
frontend/src/pages/AuditSession/index.tsx
API and persistence
- Project APIs
backend/app/api/v1/endpoints/projects.py - Agent task API
backend/app/api/v1/endpoints/agent_tasks.py - Session APIs
backend/app/api/v1/endpoints/audit_sessions.py - Task event stream
backend/app/services/agent/event_manager.py - Application database
backend/app/db/session.py - Project source storage
backend/app/services/zip_storage.py
Audit runtimes
- Agent orchestration
backend/app/services/agent/agents/orchestrator.py - Static scan pipeline
backend/app/services/scan_runtime/pipeline.py - Finding runtime
backend/app/services/finding_runtime/query_loop.py - Finding state model
backend/app/services/finding_runtime/models.py - LLM service
backend/app/services/llm/service.py - Security knowledge
backend/app/services/agent/knowledge/frameworks/fastapi.py
CVE and reporting
- CVE discovery
backend/app/services/one_click_cve/discovery.py - One-click CVE runner
backend/app/services/one_click_cve/runner.py - Vulnerability management
backend/app/services/managed_vulnerability_service.py - Report generation
backend/app/services/vulnerability_report_generation.py
Analysis integrations
- Checkmarx integration
backend/app/services/checkmarx_scan/workflow.py - Knowledge retrieval
backend/app/services/rag/retriever.py - Semgrep executor
backend/app/services/scan_runtime/executors/semgrep.py - Skills catalog
backend/app/services/skills_runtime/catalog.py
Other components
- Security auditor
Connections 26
- Security auditor → AutoCVE UI: uses
README.md - AutoCVE UI → Project APIs: imports project
- Project APIs → Project source storage: stores source
- Security auditor → Agent task API: creates audit
README.md - Agent task API → Agent orchestration: dispatches agents
README.md - Agent orchestration → Static scan pipeline: runs scan stage
README.md - Agent orchestration → Finding runtime: runs finding stage
README.md - Agent orchestration → LLM service: requests model
- Finding runtime → Finding state model: uses state model
backend/app/services/finding_runtime/query_loop.py - Finding runtime → Security knowledge: consults knowledge
- Static scan pipeline → Semgrep executor: executes scans
backend/app/services/scan_runtime/pipeline.py - Agent task API → Task event stream: streams task events
backend/app/api/v1/endpoints/agent_tasks.py - Task event stream → Audit workspace: delivers progress
README.md - Security auditor → Audit session: continues audit
README.md - Audit session → Session APIs: sends follow-up
- Session APIs → Finding runtime: continues runtime
backend/app/api/v1/endpoints/audit_sessions.py - Agent task API → Application database: persists tasks
backend/app/api/v1/endpoints/agent_tasks.py - Session APIs → Application database: persists sessions
backend/app/api/v1/endpoints/audit_sessions.py - Security auditor → CVE discovery: starts CVE search
README.md - CVE discovery → One-click CVE runner: selects projects
- One-click CVE runner → Agent task API: creates audit task
- Finding runtime → Vulnerability management: submits findings
README.md - Vulnerability management → Report generation: feeds report
README.md - Security auditor → Checkmarx integration: runs integration
- Finding runtime → Knowledge retrieval: retrieves context
- Security auditor → Skills catalog: configures skills
README.md