README.md

August 4, 2026 ยท View on GitHub

anve-offsec banner

๐Ÿ›ก๏ธ anve-offsec

The Open-Source Autonomous AI Security Engineer & Bug Bounty Platform

Autonomously assesses web applications for vulnerabilities โ€ข Produces evidence-backed security reports โ€ข Integrates browser automation & active scanning

License Made in India Docker Kali Linux FastAPI Qdrant


โšก What anve-offsec Does

anve-offsec is an open-source, autonomous AI security engineering platform proudly engineered in India ๐Ÿ‡ฎ๐Ÿ‡ณ. Designed for security teams, researchers, and bug bounty operators, it delivers three primary outcomes:

  • ๐ŸŽฏ Autonomously Assesses Web Applications: Discovers attack surfaces, identifies web and infrastructure vulnerabilities, and runs end-to-end security evaluations without manual intervention.
  • ๐Ÿ“‹ Produces Structured Security Reports: Emits executive and platform-ready Markdown/JSON reports complete with CVSS vectors, CWE mappings, step-by-step reproduction instructions, and proof-of-concept evidence.
  • ๐Ÿ” Validates Findings with Multimodal Reasoning: Combines headless browser automation, active tool scanning, and AI reasoning loops to verify vulnerabilities and minimize false positives.

๐Ÿ”„ The Autonomous AI Assessment Workflow

anve-offsec follows a structured 8-stage assessment pipeline that guides the AI agent from initial target input to final report output:

graph TD
    Target([๐ŸŽฏ Authorized Target Scope]) --> Recon[๐Ÿ“ก 1. Target Reconnaissance]
    Recon --> Browser[๐ŸŒ 2. Browser Exploration & Crawling]
    Browser --> Planning[๐Ÿง  3. Attack Planning & Vector RAG]
    Planning --> Testing[โšก 4. Active Security Testing]
    Testing --> Verification[๐Ÿ›ก๏ธ 5. Verification & PoC Validation]
    Verification --> Evidence[๐Ÿ“ธ 6. Evidence Collection]
    Evidence --> Scoring[๐Ÿ“Š 7. CVSS 4.0 Risk Scoring]
    Scoring --> Report[๐Ÿ“„ 8. Professional Report Generation]
View Text-Based Assessment Lifecycle
Target URL / IP Scope
    โ†“
1. Reconnaissance (Port Scanning & Tech Fingerprinting)
    โ†“
2. Browser Exploration (DOM Navigation & SPA Crawling)
    โ†“
3. Attack Planning (Strategy Formulation & Qdrant RAG)
    โ†“
4. Active Testing (Vulnerability Assessment)
    โ†“
5. Verification (PoC Execution & False Positive Filtering)
    โ†“
6. Evidence Collection (HTTP Traces & Loot Storage)
    โ†“
7. Risk Scoring (CVSS 4.0 Vectors & CWE Mappings)
    โ†“
8. Professional Report (Executive & Platform Submissions)

๐Ÿ—๏ธ Underlying Architecture

Under the hood, anve-offsec powers these capabilities using a stateful, multi-container infrastructure:

  • Kali Linux Core Container: Executes native security binaries in an isolated sandbox.
  • Hermes AI Reasoning Brain: Maintains stateful, multi-turn session persistence across multi-hour assessments.
  • OpenClaw Chromium Gateway: Handles authentication forms, SPA crawling, and DOM interactions.
  • Qdrant Vector Memory: Indexes historical attack strategies for continuous self-evolution.

๐ŸŽฌ See it in Action

โ”Œโ”€โ”€(pentestใ‰ฟanve-offsec)-[/work]
โ””โ”€$ ./scripts/hermes.sh --task "Run a full bug bounty assessment on http://dvwa:8080"

[๐Ÿง  Hermes Reasoning Engine] Analyzing target http://dvwa:8080...
[+] Initializing Recon Phase: Fingerprinting PHP/Apache stack...
[+] Invoking OpenClaw Chromium Gateway for authentication flow...
[+] Discovered endpoint: /vulnerabilities/sqli/ (SQL Injection)
[+] Crafting dynamic exploit payload: 1' OR '1'='1 ...
[+] Exploit Verified! Dumping database schema to /work/loot/sqli_dump.json
[+] Ingesting successful payload into Qdrant Vector Memory RAG...
[+] PHASE_COMPLETE: Recon -> Scan -> Exploit -> Report (Time: 7m 42s)

๐Ÿ“š Multipage Technical Documentation Index

Explore the complete sub-documentation system in docs/:


โšก Frontier Benchmark Comparison

anve-offsec is built to bridge the gap between closed-source enterprise platforms and open-source accessibility. Here is how anve-offsec compares against the platforms defining the future of AI cybersecurity:

Dimension๐Ÿ›ก๏ธ anve-offsec๐Ÿ”ฎ Anthropic Project Glasswing๐ŸŒ Horizon3.ai (NodeZero)โšก Pentera
Access Model100% Open-Source (Apache 2.0)Closed Frontier ResearchProprietary SaaSEnterprise On-Prem/SaaS
Reasoning EngineStateful Hermes LLM + Session ResumeFrontier Claude Cyber ModelsProprietary Rule/AI EngineProprietary Attack Graph
Execution EnvironmentNative Kali Linux ContainerIsolated SandboxesAgentless Cloud/NodeAgentless Network Probe
Self-Evolution RAGQdrant Vector Strategy MemoryModel Training/RLHFInternal Threat DataStatic Vulnerability DB
Browser & Auth CrawlingOpenClaw Chromium GatewayMultimodal APIBasic Web CrawlingBasic Web Crawling
Safety GovernancePrompt Injection Guardrails & Scope AuditConstitutional AIScope ConstraintsScope Constraints
Deployment CostFree & Self-HostedEnterprise / Research OnlyEnterprise ($50k+/yr)Enterprise ($50k+/yr)

๐Ÿš€ Quick Start (Up in 60 Seconds)

1. One-Line Launch

# 1. Clone the repository
git clone https://github.com/ANVEAI/anve-offsec.git && cd anve-offsec

# 2. Configure runtime environment
cp .env.example .env && nano .env

# 3. Spin up all microservices with Docker Compose
docker compose up -d && ./scripts/setup-openclaw.sh

2. Open Control Plane Dashboard

Open http://127.0.0.1:8000 in your browser to launch agent runs, view live SSE logs, inspect captured loot, and inject instructions in real time.

# Or trigger a run directly via REST API:
curl -X POST http://127.0.0.1:8000/api/agents/bug-bounty/run \
  -H "Content-Type: application/json" \
  -d '{"task":"Run full assessment on http://dvwa:8080"}'

๐Ÿ—๏ธ System Architecture & Microservice Sidecars

graph TD
    Operator([๐Ÿ‘จโ€๐Ÿ’ป Security Researcher / Operator]) -->|HTTP / SSE Stream :8000| ControlPlane[๐Ÿ“Š FastAPI Control Plane - dashboard/app.py]
    ControlPlane -->|Orchestrates Runs| Runner[โš™๏ธ Engagement Runner - tools/engagement_runner.py]
    
    subgraph Core Platform Microservices
        Runner -->|Native Terminal Shell| KaliCore[๐Ÿ›ก๏ธ Kali Linux Core Container]
        Runner -->|DinD Container Spawning| DinD[๐Ÿณ Docker Socket / var/run/docker.sock]
        Runner -->|API Web Scanning| ZAPDaemon[โšก OWASP ZAP Daemon - :8090]
        Runner -->|Headless DOM Automation| OpenClawGateway[๐ŸŒ OpenClaw Chromium - :18789]
        Runner -->|Vector Strategy RAG| QdrantDB[๐Ÿง  Qdrant Vector DB - :6333]
        Runner -->|Lab VPN Tunneling| OpenVPN[๐Ÿ”’ OpenVPN Client Container]
    end

    subgraph Safe Local Testing Sandbox
        KaliCore -. Authorized Scans .-> DVWA[๐Ÿงช DVWA Target - :8080]
        KaliCore -. Authorized Scans .-> Meta[๐Ÿงช Metasploitable2 Target - :8081]
    end
  • DinD Worker Spawning: Kali core mounts /var/run/docker.sock to spin up ephemeral sub-worker containers for isolated task flows.
  • OOB Callback Listeners (28000-30000): Dynamic host port allocation for handling reverse shell callbacks, out-of-band HTTP verification, and blind SSRF callbacks.

๐Ÿง  The Hermes AI Reasoning Engine (tools/engagement_runner.py)

Hermes acts as the stateful reasoning brain inside Kali Linux. It operates across 40+ specialized agent roles:

                               โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                               โ”‚   Hermes Reasoning Brain  โ”‚
                               โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                                             โ”‚
      โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
      โ”‚                      โ”‚                               โ”‚                      โ”‚
      โ–ผ                      โ–ผ                               โ–ผ                      โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”      โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”           โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”      โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Core Rolesโ”‚      โ”‚ OWASP Specialists โ”‚           โ”‚ MITRE ATT&CK      โ”‚      โ”‚ Safety    โ”‚
โ”‚ - Recon   โ”‚      โ”‚ - owasp/injection โ”‚           โ”‚ - initial-access  โ”‚      โ”‚ - adviser โ”‚
โ”‚ - Web     โ”‚      โ”‚ - owasp/auth      โ”‚           โ”‚ - cred-access     โ”‚      โ”‚ - reflect โ”‚
โ”‚ - Exploit โ”‚      โ”‚ - owasp/ssrf      โ”‚           โ”‚ - priv-escalation โ”‚      โ”‚ - barrier โ”‚
โ”‚ - Report  โ”‚      โ”‚ - owasp/idor      โ”‚           โ”‚ - lateral-move    โ”‚      โ”‚ (Human)   โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜      โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜           โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜      โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿงฌ Self-Evolving Strategy RAG Engine (tools/evolution_engine.py)

Every engagement outcome is processed, embedded, and stored in Qdrant Vector DB:

[Completed Run] โ”€โ”€โ–บ [Scenario Matcher] โ”€โ”€โ–บ [Score Strategy] โ”€โ”€โ–บ [Qdrant RAG Ingestion]
                                                                        โ”‚
                                                                        โ–ผ
[Next Target]  โ—„โ”€โ”€ [Inject Past Lessons] โ—„โ”€โ”€ [Query Vector DB] โ—„โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
  1. Scenario Classification: Automatically categorizes target tasks into structured scenarios (web-app:sql-injection, web-app:ssrf, api:idor, infra:ssh-enum).
  2. Confidence Thresholding:
    • CONFIDENCE_THRESHOLD = 0.7: RAG strategies above 70% confidence are injected into active prompts.
    • AUTO_PROMPT_UPDATE_THRESHOLD = 0.85: Strategies above 85% confidence automatically update static agent prompts (config/agents/*.prompt).

๐Ÿ›ก๏ธ Defensive Guardrails & Safety Governance (tools/guardrails.py)

anve-offsec includes production-grade security controls:

  • Input Guardrails: Protects against prompt injection by scanning for adversarial patterns (ignore previous instructions, <system>, <root>) and decoding base64 / unicode homographs.
  • Output Guardrails: Intercepts dangerous terminal commands before execution inside Kali (rm -rf /, mkfs, fork bombs, system shutdown).
  • Data Exfiltration Interception: Blocks access to sensitive host paths (/etc/shadow, ~/.ssh/id_rsa, ~/.aws/credentials, ~/.git-credentials).
  • Target Scope Authorization Framework (config/authorized-targets.json): Enforces explicit legal target scope checking (lab, ctf, bug-bounty, self, client). Unapproved target overrides require typed operator confirmation and are audited to /work/memory/override-log.jsonl.

๐Ÿ† Proven Results โ€” 11 Targets at 100% Coverage

The platform was run against 11 vulnerable targets (local labs, VulnHub machines, and live Acunetix test sites). Every target was assessed end-to-end by the autonomous pipeline and driven to 100% ground-truth coverage using the benchmark scoring loop. 356 verified findings, full session recordings, and publishable case studies are included in this repo.

TargetCoverageVerified FindingsCritical/HighProof
DVWA100% (12/12)379 critical, 8 high๐Ÿ“ results โ€ข ๐Ÿ“ case study โ€ข ๐Ÿ“„ report
bWAPP100% (10/10)6014 critical, 20 high๐Ÿ“ results โ€ข ๐Ÿ“ case study โ€ข ๐Ÿ“„ report
OWASP Juice Shop100% (10/10)5810 critical, 25 high๐Ÿ“ results โ€ข ๐Ÿ“ case study โ€ข ๐Ÿ“„ report
WebGoat100% (10/10)353 critical, 19 high๐Ÿ“ results โ€ข ๐Ÿ“ case study โ€ข ๐Ÿ“„ report
VAmPI100% (5/5)306 critical, 11 high๐Ÿ“ results โ€ข ๐Ÿ“ case study โ€ข ๐Ÿ“„ report
Metasploitable2100% (8/8)255 critical, 13 high๐Ÿ“ results โ€ข ๐Ÿ“ case study โ€ข ๐Ÿ“„ report
XVWA100% (8/8)335 critical, 11 high๐Ÿ“ results โ€ข ๐Ÿ“ case study โ€ข ๐Ÿ“„ report
Kioptrix L1 (VulnHub)100% (6/6)101 critical, 3 high๐Ÿ“ results โ€ข ๐Ÿ“ case study โ€ข ๐Ÿ“„ report
Mr. Robot (VulnHub)100% (7/7)163 critical, 2 high๐Ÿ“ results โ€ข ๐Ÿ“ case study โ€ข ๐Ÿ“„ report
testphp.vulnweb.com ๐ŸŒ live100% (8/8)271 critical, 2 high๐Ÿ“ results โ€ข ๐Ÿ“ case study โ€ข ๐Ÿ“„ report
testasp.vulnweb.com ๐ŸŒ live100% (6/6)252 critical, 7 high๐Ÿ“ results โ€ข ๐Ÿ“ case study โ€ข ๐Ÿ“„ report

Every proof pack contains the full session recording, engagement timeline, verified findings with evidence, attack chains, business report, benchmark score, and a publishable case study. See results/README.md for the index and results/campaign-summary.json for the machine-readable summary.

How 100% was achieved: OSINT persona โ†’ 8-phase engagement โ†’ ground-truth benchmark scoring โ†’ fresh gap-closing engagements targeting exactly what was missed โ†’ verification. The coverage loop is measurable, not aspirational โ€” every number above is backed by a benchmark.json in the linked pack.


---|---|---|---| | DVWA (http://dvwa:8080) | bug-bounty | Command Injection, SQLi, LFI, Stored XSS | 7m 42s | Generated (/work/loot/dvwa_report.md) | | Metasploitable2 (:8081) | recon + exploit | VSFTPD 2.3.4 Backdoor, UnrealIRCd, SSH Enum | 11m 15s | Verified PoC Exploit Generated | | Protected Staging Portal | auth-wall + openclaw | Broken Object-Level Authorization (BOLA/IDOR) | 14m 20s | Full API Assessment Complete |


๐Ÿ—บ๏ธ Project & Platform Roadmap

  • ANVE OffSec (Core Engine): Stateful Hermes AI Reasoning Brain + OpenClaw headless Chromium browser sidecar.
  • Self-Evolution Engine: Qdrant vector RAG memory for continuous strategy learning across target runs.
  • Real-Time Control Plane: FastAPI web dashboard featuring real-time SSE streaming & mid-run operator steering.
  • Defensive Guardrails: Prompt injection interception, destructive command blocking, and legal scope auditing.
  • ANVE CodeSec Expansion: AI static code analyzer and SAST logic flaw detection module for GitHub Actions / GitLab CI.
  • ANVE CloudSec Expansion: Autonomous cloud configuration auditing agent across AWS IAM, GCP IAM, and Azure KeyVault.
  • ANVE SOC Expansion: AI-driven log triage, SIEM threat correlation, and automated incident response playbook runner.
  • ANVE Attack Simulator: Continuous breach & attack simulation (BAS) module for automated security posture validation.
  • v2.0: Full AI OS Based GUI VM (Kali Native): Standalone Kali Linux ISO & OVA virtual machine appliance with built-in AI desktop control plane, QEMU/VMware snapshot rollback, and GUI assistant windows.

๐ŸŒ Additional Ecosystem & Sister Repositories

While anve-offsec is the primary flagship project for autonomous offensive security, it exists alongside complementary AI security tools in the ANVE AI ecosystem:

  • ๐Ÿงฑ Prompt Sentinel Flow: Open-source LLM firewall and proxy layer for prompt injection detection, token monitoring, and multi-provider AI model routing.

๐Ÿ’– Acknowledgements & Standing on the Shoulders of Giants

anve-offsec is proudly built on top of pioneering open-source research and tools created by the global AI and security community:

  • ๐Ÿ“ก ProjectDiscovery โ€” Creators of subfinder, httpx, nuclei, katana, naabu, and dnsx powering high-speed recon pipelines and vulnerability scanning.
  • ๐Ÿง  Nous Research โ€” Creators of the Hermes model series and agent reasoning paradigms that power our stateful CLI reasoning brain (hermes chat).
  • ๐ŸŒ™ Moonshot AI โ€” Creators of the Kimi long-context LLM models (kimi-k3) powering complex multi-turn security analysis.
  • ๐Ÿ›ก๏ธ PentAGI โ€” Pioneers in autonomous pentesting agent architectures and AI-driven security workflows.
  • ๐ŸŒณ PentestGPT โ€” Pioneers of the structured task-tree reasoning methodology for guided penetration testing.
  • โš™๏ธ Agent Zero โ€” Pioneers in organic instrument execution and typed agent memory architectures.
  • โšก reconftw & Osmedeus โ€” The gold standard in automated reconnaissance playbooks and target attack surface mapping.
  • ๐ŸŒ OpenClaw โ€” Creators of the isolated headless Chromium gateway for automated DOM crawling and authentication flows.
  • ๐Ÿ“š SecLists & PayloadsAllTheThings โ€” Essential security assessment payload dictionaries and fuzzing wordlists by Daniel Miessler and Swissky.
  • โšก Qdrant โ€” High-performance vector database powering our self-evolving RAG strategy memory.
  • ๐Ÿง Kali Linux & Offensive Security โ€” The foundational operating system and open-source toolchain that makes automated penetration testing possible.

๐Ÿค Community & Support


ai-agents โ€ข cybersecurity โ€ข offensive-security โ€ข bug-bounty โ€ข kali-linux โ€ข penetration-testing โ€ข fastapi โ€ข qdrant โ€ข openclaw โ€ข hermes-llm โ€ข vector-rag โ€ข made-in-india


IMPORTANT: anve-offsec is built strictly for authorized security assessments, penetration testing within explicit scope, educational research, and bug bounty hunting. Operating this software against targets without explicit written authorization is illegal. The creators and contributors assume no liability for misuse or damage caused by this platform.


๐Ÿ“œ License

This project is licensed under the Apache License 2.0. See the LICENSE file for details.


Proudly Made in India ๐Ÿ‡ฎ๐Ÿ‡ณ | Built with โค๏ธ for the Global AI & Cybersecurity Community
If you find anve-offsec useful, please give us a โญ๏ธ on GitHub to support continuous development!