Skip to content

About

AI-powered desktop pentest workbench

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

23 Commits

Folders and files

Repository files navigation

HermesPentBox

README Version: English | 简体中文

AI-powered local pentest workbench. Browser traffic flows through a built-in MITM proxy into an agent swarm that audits, advises, and executes exploitation — fully offline, integrated with the Hermes agent.

For authorized security testing only.

Features

  • Traffic — HTTP/HTTPS MITM capture, WebSocket frames, site map synced to Neo4j
  • Agent swarm — 10 parallel sub-agents audit traffic: vulnerability detection, credential extraction, Nday hints
  • Three pentest modes — Auto (main-agent full pentest via /pentest), Passive (advice cards, user-decided), Funnel (pure audit + compound exploitation)
  • Approval officer — dedicated approver agent audits every penetration & tool call (any target allowed; destructive ops always rejected)
  • Role-based model management — executor / auditor / approver each with independent LLM model config
  • WebShell — generate, connect, virtual terminal, file manager, Suo5 forward proxy (Godzilla / Behinder / AntSword)
  • Proxy chain — upstream + downstream proxy (HTTP/SOCKS5)
  • Projects — Burp-style binary snapshot files, auto-save every 10s, per-project isolation
  • Operation log — terminal-style panel recording all agent actions

Pentest Modes

Three modes switch from the header; all penetrations pass the approval officer regardless of mode.

Mode Workflow
Auto No traffic analysis, sub-agents not involved. Input /pentest {domain} → main agent runs full pentest (recon → verification → VULNDOC → WebShell sync) → approver audits
Passive Traffic → sub-agents analyze + advice cards → smart approval auto-penetrates / manual approval user decides → point-to-point verification (prove the vuln exists, no deep exploitation)
Funnel Click target features in browser to gather traffic → sub-agents pure audit (no advice cards) → /pentest {domain} main agent compound pentest with global intel

Quick Start

npm install
npm start
Service Port
API / SSE 8877
Proxy 8899
Terminal WS 8878
Agent Bridge 28766

Requirements: Node.js 24+ and Hermes CLI with a configured model.

Architecture

Browser ──► MITM Proxy (8899) ──► Traffic panel / Site map (Neo4j)
                 │  analysis queue (sub-agents: auditor profile)
                 ▼
          Advice cards ──► Agent Bridge (28766) ──► Hermes AIAgent
                 │                                   (executor / approver profiles)
                 ▼
          Vulnerability library (project snapshot)

Compliance

For authorized security testing only. You are solely responsible for having legal authorization for every target.

License

MIT

About

AI-powered desktop pentest workbench

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages