Skip to content

Autonomous OODA-loop pentesting agent. Hermes brain, Kali + Playwright tools over MCP, ATT&CK as the Orient language.

feat: Hermes web dashboard + Vulnerator-AI custom skin

irraz88ab2f5e0da5
diff --git a/agent-ooda/profile/config.yaml b/agent-ooda/profile/config.yaml
index 655ded7..a69d129 100644
--- a/agent-ooda/profile/config.yaml
+++ b/agent-ooda/profile/config.yaml
@@ -18,6 +18,14 @@
# La key del LLM la lee Hermes de la variable de entorno OPENROUTER_API_KEY (NO HERMES_LLM_API_KEY):
# el compose la inyecta tal cual en el proceso y Hermes la toma de ahi. SIN `hermes setup`
# interactivo y SIN secreto en claro en el repo.
+# --- Skin / branding --------------------------------------------------------
+# Custom skin for Vulnerator. Activates the cyber-red theme, "Vulnerator"
+# agent name, ⚡ prompt symbol, and custom ASCII banner in the TUI and dashboard.
+# The skin YAML is served from agent-ooda/profile/skins/vulnerator.yaml and
+# copied to /opt/data/skins/ by the docker-compose startup script.
+display:
+ skin: "vulnerator"
+
model:
# mistral-large-4-0: modelo preparado para el encuadre ofensivo del pentest autorizado. Claude
# (anthropic/claude-sonnet-*) rechaza el encuadre ofensivo (el safety filter de OpenRouter/
@@ -157,6 +165,21 @@ platforms:
host: "0.0.0.0" # alcanzable por la red interna del compose
port: 8642 # NO publicado al host (sin ports: en el compose); solo red interna
+# --- Dashboard web ----------------------------------------------------------
+# Hermes' built-in web dashboard. Binds to 0.0.0.0 (port 9119, published to the host via
+# docker-compose.yml ports:) only when an auth provider is registered. We use basic_auth so
+# the container can be reached from the browser without entering the TUI.
+# Credentials: admin / vulnerator (change password and regenerate hash with:
+# docker exec <ooda-agent> python3 -c "from plugins.dashboard_auth.basic import hash_password; print(hash_password('your-password'))"
+# then update dashboard.basic_auth.password_hash below).
+dashboard:
+ host: "0.0.0.0"
+ port: 9119
+ basic_auth:
+ username: "admin"
+ # Hash for "vulnerator" — regenerate if you change the password.
+ password_hash: "scrypt$16384$8$1$2ZcMvpA3ilGi8e2A3wmOBQ==$IdIdI0Mxd71T2lh7aKc++9/VPPnuGYjgwXIlwNBrVko="
+
# --- Mensajeria / cron ------------------------------------------------------
# NO conectar bots de mensajeria ni cron: la mensajeria es un vector de entrada no confiable. Solo
# se declara la plataforma api_server de arriba.
diff --git a/agent-ooda/profile/skins/vulnerator.yaml b/agent-ooda/profile/skins/vulnerator.yaml
new file mode 100644
index 0000000..11b5b50
--- /dev/null
+++ b/agent-ooda/profile/skins/vulnerator.yaml
@@ -0,0 +1,105 @@
+# vulnerator.yaml — custom Hermes skin for the Vulnerator OODA pentest engine.
+# Loaded by Hermes skin_engine from <hermes_home>/skins/vulnerator.yaml.
+# Activated via `display.skin: vulnerator` in config.yaml.
+# Copied from agent-ooda/profile/skins/ to /opt/data/skins/ by the
+# docker-compose ooda-agent startup script on every container boot.
+
+name: "vulnerator"
+description: "Vulnerator OODA engine — red-team cyber theme"
+
+# ── Branding ──────────────────────────────────────────────────────────────────
+branding:
+ agent_name: "Vulnerator-AI"
+ welcome: "Vulnerator-AI OODA engine online. Define your target and engage."
+ goodbye: "Engagement terminated. ⚡"
+ response_label: " ⚡ Vulnerator-AI "
+ prompt_symbol: "⚡"
+ help_header: "(⚡) Available Commands"
+
+# ── Colors (dark red / cyber-green palette) ───────────────────────────────────
+colors:
+ banner_border: "#CC0000"
+ banner_title: "#00FF41"
+ banner_accent: "#FF4444"
+ banner_dim: "#AA2222"
+ banner_text: "#E8E8E8"
+ ui_accent: "#FF4444"
+ ui_label: "#CC3333"
+ ui_ok: "#00FF41"
+ ui_error: "#FF2222"
+ ui_warn: "#FF8800"
+ prompt: "#E8E8E8"
+ input_rule: "#CC0000"
+ response_border: "#00FF41"
+ status_bar_bg: "#180000"
+ status_bar_text: "#BB8888"
+ status_bar_strong: "#00FF41"
+ status_bar_dim: "#663333"
+ status_bar_good: "#00FF41"
+ status_bar_warn: "#FF8800"
+ status_bar_bad: "#FF4444"
+ status_bar_critical: "#FF0000"
+ session_label: "#CC3333"
+ session_border: "#882222"
+ completion_menu_bg: "#180000"
+ completion_menu_current_bg: "#3A0000"
+ selection_bg: "#2A0000"
+ shell_dollar: "#00FF41"
+ voice_status_bg: "#180000"
+
+# ── Spinner ───────────────────────────────────────────────────────────────────
+spinner:
+ thinking_verbs:
+ - "scanning"
+ - "enumerating"
+ - "exploiting"
+ - "pivoting"
+ - "exfiltrating"
+ - "mapping attack surface"
+ - "probing defenses"
+ - "chaining vectors"
+ - "escalating privileges"
+ - "persisting access"
+ thinking_faces:
+ - "(⚡)"
+ - "(⚠)"
+ - "(▶)"
+ - "(◎)"
+ - "(⟳)"
+ waiting_faces:
+ - "(⚡)"
+ - "(▶)"
+ - "(◎)"
+ - "(⟳)"
+ wings:
+ - ["⟪⚡", "⚡⟫"]
+ - ["⟪▶", "◀⟫"]
+ - ["⟪◎", "◎⟫"]
+
+tool_prefix: "▸"
+
+# ── Banner logo (TUI — shown when terminal width ≥ 95 cols) ───────────────────
+# Rich-markup block-character ASCII art for "VULNERATOR".
+# Each row spans V·U·L·N·E·R·A·T·O·R in the standard Hermes block font.
+banner_logo: |
+ [bold #CC0000]██╗ ██╗██╗ ██╗██╗ ███╗ ██╗███████╗██████╗ █████╗ ████████╗ ██████╗ ██████╗ [/]
+ [bold #DD1111]██║ ██║██║ ██║██║ ████╗ ██║██╔════╝██╔══██╗██╔══██╗╚══██╔══╝██╔═══██╗██╔══██╗[/]
+ [#EE2222]██║ ██║██║ ██║██║ ██╔██╗ ██║█████╗ ██████╔╝███████║ ██║ ██║ ██║██████╔╝[/]
+ [#FF3333]╚██╗ ██╔╝██║ ██║██║ ██║╚██╗██║██╔══╝ ██╔══██╗██╔══██║ ██║ ██║ ██║██╔══██╗[/]
+ [#FF5555] ╚████╔╝ ╚██████╔╝███████╗██║ ╚████║███████╗██║ ██║██║ ██║ ██║ ╚██████╔╝██║ ██║[/]
+ [#FF7777] ╚═══╝ ╚═════╝ ╚══════╝╚═╝ ╚═══╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝[/]
+ [bold #00FF41] — AI —[/]
+
+# ── Banner hero (TUI — left panel art, replaces the caduceus) ─────────────────
+# Crosshair / target-lock motif in braille Unicode art.
+banner_hero: |
+ [#880000]⠀⠀⠀⠀⠀⠀⣤⠀⣤⠀⠀⠀⠀⠀[/]
+ [#AA0000]⠀⠀⠀⠀⢀⣴⣿⠃⣿⣦⡀⠀⠀⠀[/]
+ [#CC0000]⠀⠀⠀⣴⡿⠋⠀⠀⠀⠙⢿⣦⠀⠀[/]
+ [#CC0000]⠀⣤⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣤⠀[/]
+ [#DD1111]⠸⣿⠀⠀⣿⡄⠀⠀⢠⣿⠀⠀⣿⠇[/]
+ [#EE2222]⠀⣤⠀⠀⠉⠉⠀⠀⠉⠉⠀⠀⣤⠀[/]
+ [#FF3333]⠀⠀⠀⣠⣿⠟⠀⠀⠻⣿⣄⠀⠀⠀[/]
+ [#FF5555]⠀⠀⢀⣾⠏⠀⣤⣤⠀⠸⣷⡀⠀⠀[/]
+ [#FF7777]⠀⠀⠀⠀⠀⠀⢿⡿⠀⠀⠀⠀⠀⠀[/]
+ [dim #AA2222]⠀⠀⠀⠀target locked⠀⠀⠀[/]
diff --git a/docker-compose.yml b/docker-compose.yml
index 5690426..07b92e4 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -98,11 +98,13 @@ services:
set -e
# The DEFAULT profile is the root home /opt/data (not /opt/data/profiles/<p>).
DEF=/opt/data
- # (a) copy the declarative template (config/SOUL/skills) to the default profile home.
- mkdir -p "$$DEF/skills"
+ # (a) copy the declarative template (config/SOUL/skills/skins) to the default profile home.
+ mkdir -p "$$DEF/skills" "$$DEF/skins"
cp /opt/profile-src/profile/config.yaml "$$DEF/config.yaml"
cp /opt/profile-src/profile/SOUL.md "$$DEF/SOUL.md"
cp -r /opt/profile-src/skills/. "$$DEF/skills/" 2>/dev/null || true
+ # Copy custom skin(s) so Hermes skin_engine finds them under <hermes_home>/skins/.
+ cp -r /opt/profile-src/profile/skins/. "$$DEF/skins/" 2>/dev/null || true
# (b) inject the API server KEY (secret, not versioned) BEFORE starting.
hermes config set platforms.api_server.key "$$HERMES_API_SERVER_KEY" >/dev/null
# (b2) LLM PROVIDER SELECTION (opt-in, fallback = OpenRouter):
@@ -142,9 +144,23 @@ services:
hermes config set model.default "$$OPENROUTER_MODEL" >/dev/null
fi
fi
- # (c) start the default profile gateway: foreground (live container) + API server.
+ # (c) print a custom Vulnerator startup banner before handing off to the gateway.
+ printf '\033[1;31m┌────────────────────────────────────────────────────────────┐\033[0m\n'
+ printf '\033[1;31m│\033[0m \033[1;32m⚡ VULNERATOR-AI — OODA Pentest Engine\033[0m \033[1;31m│\033[0m\n'
+ printf '\033[1;31m│\033[0m \033[2;37mkali-mcp · playwright-mcp · vulnerator-mcp\033[0m \033[1;31m│\033[0m\n'
+ printf '\033[1;31m└────────────────────────────────────────────────────────────┘\033[0m\n'
+ # (d) start the default profile gateway: foreground (live container) + API server.
exec hermes gateway run
environment:
+ # --- Hermes Web Dashboard (OPT-IN via HERMES_DASHBOARD=1) -------------------
+ # The s6-managed dashboard service only starts when HERMES_DASHBOARD is truthy.
+ # Auth for non-loopback binding is provided via basic auth env vars.
+ # Credentials default to admin/vulnerator; override in .env if needed.
+ HERMES_DASHBOARD: "1"
+ HERMES_DASHBOARD_HOST: "0.0.0.0"
+ HERMES_DASHBOARD_PORT: "9119"
+ HERMES_DASHBOARD_BASIC_AUTH_USERNAME: "${HERMES_DASHBOARD_USER:-admin}"
+ HERMES_DASHBOARD_BASIC_AUTH_PASSWORD: "${HERMES_DASHBOARD_PASSWORD:-vulnerator}"
# Hermes API server key — required (fail-closed): min 8 chars. TWO paths are
# needed: the command writes it into platforms.api_server.key (to start the
# API server) and API_SERVER_KEY validates it on every request (to authenticate the Bearer).
@@ -189,6 +205,9 @@ services:
# 'ports:' block and drive Hermes with 'docker compose exec ooda-agent curl ...' (see README).
ports:
- "${HERMES_API_HOST_PORT:-8642}:8642"
+ # Web dashboard (hermes dashboard --host 0.0.0.0): started by the command block above.
+ # Configurable with HERMES_DASHBOARD_HOST_PORT in .env; default 9119.
+ - "${HERMES_DASHBOARD_HOST_PORT:-9119}:9119"
depends_on:
# Wait until kali is healthy (MCP listening) before starting.
kali: