Cybermes README

README проекта с github.com/Zyrexnn/Cybermes. Одним файлом markdown: README.md.

Cybermes

Autonomous Offensive Security & Bug Bounty Automation Framework

Zyrexnn%2FCybermes | Trendshift

Release Go: 1.22+ Python: 3.11+ MCP Server License: Apache 2.0 Platforms Sponsored by Infistar

Cybermes Architecture & Operational Pipeline

Cybermes is an offensive security assistant and automation framework designed for authorized bug bounty hunting, reconnaissance, vulnerability research, and structured reporting.
It combines native Go performance utilities, 200+ modular offensive security playbooks, token-optimized streaming pipelines, and full Model Context Protocol (MCP) support for AI coding environments.

Installation • Architecture • Why Cybermes? • Features • Workspace Structure • Toolchain • Documentation • Sponsors & Donate


💖 Official AI Infrastructure Partner

Cybermes x Infistar.cc Sponsorship Banner

Cybermes × Infistar.cc | Claude, GPT, Gemini, Grok, DeepSeek & more, one key, a fraction of official prices

👉 Sign up & Claim CNY 5 Free API Credit (Referral Code: C92NALGX)


💖 Support, Sponsorship & Donations

If you find Cybermes useful for your research, bug bounty hunting, or security assessments, consider supporting the continuous development of this project:

TBZ6G2xierYzt4YqZQSMpF1ynXczjeSipH

Installation & Setup

Cybermes can be used directly through your AI assistant via Model Context Protocol (MCP) or executed as a standalone CLI / pipeline.

Cybermes includes a high-performance native Go MCP server (cybermes-mcp) that exposes 10+ security tools and context providers directly to AI coding environments (Google Antigravity / Gemini, Kilo Code, Cursor, Claude Desktop, Windsurf, Cline, Roo Code, OpenCode, Claude Code CLI, Continue.dev, Zed, Hermes, and Codex).

Universal Auto-Installer (1-Click)

# Auto-detect and configure all installed AI clients
npx -y cybermes-mcp install

# Install ONLY to specific AI providers:
npx -y cybermes-mcp install --kilo
npx -y cybermes-mcp install --gemini --cursor

Global Installation (No NPX Startup Latency)

npm install -g cybermes-mcp
cybermes-mcp install --global

Local Interactive MCP Manager & Optimizer

# Windows
.\mcp.bat            # or .\mcp.ps1

# Linux / macOS
./mcp.sh             # or python3 scripts/mcp.py

Manual Client Configuration

To manually register the MCP server in your client configuration (mcpServers section):

{
  "mcpServers": {
    "cybermes": {
      "command": "npx",
      "args": ["-y", "cybermes-mcp"]
    }
  }
}

For client-specific paths, direct flags (--kilo, --gemini, --global, --dry-run), and native binary setup, see the MCP Integration Guide.


2. Standalone CLI Installation

If you plan to run Cybermes directly from the terminal or in headless CI/CD pipelines:

Windows (Native PowerShell)

# Clone repository and execute installer
git clone https://github.com/Zyrexnn/Cybermes.git
cd Cybermes
.\setup_windows.ps1

# Configure environment variables and API keys
notepad .env

(For WSL2 or manual setups, refer to the Windows Installation Guide)

Linux / macOS

# Clone repository and execute installer
git clone https://github.com/Zyrexnn/Cybermes.git
cd Cybermes
./setup.sh

# Configure environment variables and API keys
nano .env

Docker Container

git clone https://github.com/Zyrexnn/Cybermes.git && cd Cybermes
cp .env.example .env && nano .env
docker compose up -d

3. Environment Health Check

Verify system dependencies, path bindings, and tool integrity:

# Run environment diagnostics
python tools/doctor.py

# Automatically resolve and repair missing components
python tools/doctor.py --fix

4. Running an Assessment

# Linux / macOS
./cybermes "Assess https://example.com"

# Windows
.\cybermes.bat "Assess https://example.com"

# Docker
docker compose exec cybermes cybermes "Assess https://example.com"

Local Testing: Run the included mock vulnerable application in examples/:

python examples/mock_vulnerable_app.py   # Starts mock app on http://127.0.0.1:8888
./cybermes "Assess http://127.0.0.1:8888"

Architecture & Operational Pipeline

Cybermes provides two distinct operational workflows tailored to different execution environments:

  1. Autonomous Hermes CLI Workflow: Fully autonomous terminal/headless execution where the local Hermes engine reasons, spawns subprocesses, filters streaming outputs via smart_pipe, and executes validation loops directly on the OS.
  2. Model Context Protocol (MCP) Server Workflow: Client-Server architecture exposing 10+ high-performance native Go tools and 200+ security SOPs over JSON-RPC 2.0 stdio to external AI coding assistants and IDEs (Gemini/Antigravity, Claude Desktop, Cursor, Windsurf, Cline, Roo Code).

1. 🤖 Autonomous Hermes CLI Workflow

The standalone CLI mode utilizes the built-in Hermes Agent engine (hermes.exe / cybermes) as an autonomous reasoning brain. The operator provides a target prompt, and Hermes autonomously maps the attack surface, invokes CLI binaries, filters outputs through smart_pipe to prevent LLM context saturation, verifies hypotheses with standalone PoC scripts, and produces executive reports.

Cybermes Hermes CLI Workflow

Hermes CLI Execution Flow:

flowchart LR
    subgraph P1["1. Scope & Recon"]
        direction TB
        A([CLI Input]) --> B[Hermes Agent]
        B --> C[Recon Tools]
        C --> D[smart_pipe Filter]
    end

    subgraph P2["2. Skill & Validation Gate"]
        direction TB
        D --> E[Knowledge & SOPs]
        E --> F[Validation Gate]
        F --> G[Run PoC Script]
    end

    subgraph P3["3. Deliverables"]
        direction TB
        G --> H[reports/ Workspace]
        H --> I([Executive Reports])
    end

    P1 ==> P2 ==> P3

Hermes Pipeline Stages:

  1. Target Ingestion & Scope Validation: Operator issues a single CLI prompt. Hermes resolves domain boundaries and initializes target workspace directories (recon/<TARGET_SLUG>/ and reports/<TARGET_SLUG>/).
  2. Autonomous Toolchain Orchestration: Hermes spawns external reconnaissance tools (subfinder, httpx, katana, ffuf) in sequence.
  3. High-Speed Stream Filtering (smart_pipe): Raw outputs are archived to disk in recon/ while smart_pipe streams only relevant endpoints, HTTP status codes, and leaked secrets into Hermes' context window.
  4. Hypothesis & Skill Retrieval: Hermes queries the offline database (search_knowledge) and loads relevant offensive playbooks from skills/.
  5. Deterministic PoC Validation Gate: Hermes writes and executes a non-destructive script (pocs/poc_<vuln>.py), capturing raw HTTP request/response evidence.
  6. Report Compilation: Calls native Go aggregate_reports and generate_pdf.py to compile SUMMARY.md, metadata.json, interactive report.html, and REPORT_<target>.pdf.

2. 🔌 Cybermes MCP Server Workflow

In the MCP workflow, Cybermes operates as a native JSON-RPC 2.0 server (cybermes-mcp) providing specialized security tools, prompts, and context providers directly to external AI assistants and IDEs (Cursor, Antigravity / Gemini, Claude, Windsurf, VS Code / Cline). The external model acts as the reasoning engine while Cybermes handles high-speed tool execution, local knowledge lookups, and reporting.

Cybermes MCP Server Workflow

MCP Protocol Execution Flow:

flowchart LR
    Client([AI Editor / IDE]) <-->|JSON-RPC 2.0 stdio| MCP[Cybermes MCP: cybermes-mcp]
    
    subgraph Tools["Modular Capabilities"]
        direction TB
        T1[Recon & Probing]
        T2[200+ SOPs & Knowledge]
        T3[Secrets & Nuclei Scan]
        T4[Findings & Evidence]
    end

    MCP <--> Tools
    Tools --> Out[(reports/SLUG/ Deliverables)]

MCP Tooling & Interaction Lifecycle:

  1. Handshake & Discovery: AI Client starts cybermes-mcp via stdio and discovers exposed tools, schemas, and resource templates.
  2. Environment & Scope Assessment: The AI invokes cybermes_validate_scope and cybermes_check_environment to inspect target authorization and system tool health.
  3. Structured Recon & Secret Mining: AI executes cybermes_recon_crawl, cybermes_http_probe, or cybermes_scan_secrets. The MCP server executes compiled routines and returns clean, structured JSON results without context bloat.
  4. On-Demand Playbook & Exploit Lookup: When a vulnerability vector is identified, the AI calls cybermes_search_knowledge and cybermes_get_skill to retrieve targeted exploitation steps in sub-50ms.
  5. Deterministic Evidence Recording & Aggregation: AI logs verified findings with cybermes_record_finding / cybermes_record_evidence and compiles target deliverables via cybermes_aggregate_report.

3. ⚖️ Hermes CLI vs. Cybermes MCP Comparison

Feature / Dimension 🤖 Hermes CLI Workflow 🔌 Cybermes MCP Workflow
Primary Interface Terminal / PowerShell / Docker CLI AI Coding Editors / IDEs / Web Chat (JSON-RPC)
Reasoning Engine Built-in Hermes Autonomous Agent (hermes.exe) Host AI Client (Gemini, Claude 3.7, GPT-4o, etc.)
Execution Model Autonomous sub-process loop from CLI prompt Modular Tool & Context calls requested by the AI
Token Optimization OS pipe streaming via Go smart_pipe Native JSON-RPC schema with compact response filters
Knowledge Access CLI binary execution (search_knowledge) In-memory MCP tools (cybermes_search_knowledge, cybermes_get_skill)
Deliverables Output Direct filesystem generation in reports/<TARGET_SLUG>/ Programmatic management via cybermes_aggregate_report

Why Cybermes?

Challenge Traditional Approach Cybermes Solution
AI Assistant Integration Manual copy-pasting of terminal outputs or fragile custom wrappers. Native Go MCP Server (cybermes-mcp): Standardized JSON-RPC 2.0 integration exposing 10+ security tools directly to AI clients.
LLM Token & Context Noise Fuzzer/crawler outputs flood context with thousands of lines of 404s and static assets. High-Speed Stream Filter (smart_pipe): Pure Go filter that archives raw logs to disk while streaming only high-signal endpoints, status codes, and secrets.
Exploit Verification Speculative or pattern-matched alerts without reproducible verification. Zero-False-Positive PoC Gate: Requires standalone, non-destructive Python scripts (pocs/poc_<name>.py) and raw HTTP traces before logging findings.
Payload & Methodology Retrieval Manually searching external wikis, repositories, and cheat sheets online. Sub-50ms Local Knowledge Base (search_knowledge): Instant offline query engine across 200+ SOP playbooks, PayloadsAllTheThings, and HackTricks datasets.
Structured Deliverables Unorganized text dumps requiring tedious manual report compilation. Multi-Format Report Aggregator: Automated generation of SUMMARY.md, metadata.json, standalone interactive HTML, and print-ready REPORT_<target>.pdf.
OS & Environment Portability Most offensive tools assume Kali/Linux, complicating Windows setups. Native Multi-Platform Support: Automated native installers for Windows (PowerShell), Linux, macOS, and Docker with a built-in health check and repair tool (doctor.py).

Core Features


Target Workspace & Deliverables

Every target assessment creates a dedicated directory structure under reports/ and recon/:

Cybermes/
├── reports/<TARGET_SLUG>/        # Verified findings & deliverables
│   ├── SUMMARY.md                # Consolidated executive findings matrix
│   ├── metadata.json             # Structured JSON metrics & counters
│   ├── report.html               # Standalone interactive HTML report
│   ├── REPORT_<target>.pdf       # Print-ready PDF report (named per assessed target)
│   ├── findings/                 # Confirmed vulnerability writeups (low, medium, high, critical)
│   │   └── high_idor_orders.md
│   ├── pocs/                     # Standalone Python proof-of-concept scripts
│   │   └── poc_idor_orders.py
│   └── evidence/                 # Raw logs, screenshots, recon notes
│       └── recon_notes.md
└── recon/<TARGET_SLUG>/          # Raw tool outputs & streaming dumps
    ├── subdomains.txt
    └── endpoints.txt

Toolchain

Tool Type Purpose Standard Syntax
smart_pipe Go Binary Stream output filter & context token optimizer katana -u <url> | smart_pipe --target <slug> --tool katana
secret_scan Go Binary Multi-pattern credential leak scanner secret_scan recon/<slug>/
search_knowledge Go Binary Sub-50ms offline exploit & payload search search_knowledge "jwt algorithm confusion"
aggregate_reports Go Binary Markdown findings indexer & report compiler aggregate_reports <slug>
cybermes-mcp Go Binary / NPX Native MCP Server for AI assistants npx -y cybermes-mcp
subfinder External Passive subdomain discovery subfinder -d <target> -silent
httpx External Web probing & technology fingerprinting httpx -u <url> -tech-detect
katana External Web crawler & SPA endpoint miner katana -u <url> -depth 3
ffuf External High-speed web fuzzer ffuf -u <url>/FUZZ -w <wordlist>
nuclei External Template-based vulnerability scanner nuclei -u <url> -tags cve
sqlmap Python Automated SQL injection auditor sqlmap -u "<url>?id=1" --batch
doctor.py Python Environment health check & auto-repair python tools/doctor.py --fix
generate_pdf.py Python PDF and HTML executive report generator python tools/generate_pdf.py <slug>

Documentation

Detailed guides and references are available in the docs/ directory:


Acknowledgments & Upstream Credits

Cybermes includes and references tools, wordlists, and research from the following open-source projects:

Project / Tool Maintainer / Author Contribution / Reference
HackTricks @carlospolop Privilege escalation, service exploitation & offensive knowledge base
PayloadsAllTheThings @swisskyrepo Web application payloads and bypass vectors
ProjectDiscovery Suite @projectdiscovery Core toolchain (nuclei, httpx, subfinder, katana)
SQLMap Bernardo Damele & Miroslav Stampar Automated SQL injection auditor
Claude-BugHunter @elementalsouls Bug bounty engagement patterns & validation playbooks
Strix Framework @usestrix Autonomous multi-agent coordination architecture
FFuF @joohoi High-speed web fuzzer
Hermes-Agent @NousResearch Autonomous agent core framework
SecLists @danielmiessler Curated security assessment wordlists & fuzzing vectors
Hack-Skills @yaklang Offensive security skill modules & testing playbooks

(See ATTRIBUTION.md for full license notices and upstream details)


Contributors

Cybermes Contributors

Want to contribute? Check out our Contributing Guide and Contributors List.


License

This project is licensed under the Apache License 2.0.

Third-party research materials, datasets, and upstream tools referenced or incorporated within this repository retain their respective original licenses (see ATTRIBUTION.md).


IMPORTANT: Cybermes is developed exclusively for authorized security testing, legitimate bug bounty research, and academic security education.

Testing against targets without explicit, prior written permission from the target owner is illegal and strictly prohibited. The maintainers assume no liability and are not responsible for any misuse, damage, or legal consequences resulting from this tool.

Cybermes (Zyrexnn/Cybermes)

Ищем в базе…

Что это такое?Cybermes — это ассистент по наступательной безопасности и фреймворк автоматизации для разрешённого багбаунти, разведки, исследования уязвимостей и структурированной отчётности. Работает на основе AI-агентов и библиотеки из более чем 200 плейбуков.
Это терминальная утилита или плагин для моего AI-редактора?И то, и другое. Он работает как отдельный CLI, где встроенный агент Hermes рассуждает автономно, либо как сервер cybermes-mcp поверх JSON-RPC 2.0, где ваш AI-клиент для кодинга выступает движком рассуждений, а Cybermes выполняет инструменты и формирует отчёты.
Как его установить, и работает ли он на Windows?Да — есть универсальный автоустановщик MCP-сервера в один клик (или «npx -y cybermes-mcp»), а также нативные установщики для Windows (PowerShell), Linux, macOS и Docker; после установки запустите «python tools/doctor.py --fix», чтобы проверить зависимости.
Мне нужно самому ставить subfinder и nuclei, прежде чем всё заработает?Пайплайны разведки задействуют внешние инструменты — subfinder, httpx, katana, ffuf, nuclei и sqlmap, — при этом ключевые утилиты (smartpipe, secretscan, searchknowledge, aggregatereports) поставляются как заранее скомпилированные бинарники Go. Проверка doctor.py проверяет системные зависимости и умеет чинить их автоматически.
Можно просто навести его на любой приглянувшийся сайт?Нет — он рассчитан на работы с разрешением. Каждая проверка начинается с загрузки цели и валидации scope, где границы доменов определяются до любого сканирования, а в MCP-потоке заранее проверяются авторизация цели и состояние окружения.
Как smartpipe защищает контекст AI от переполнения?Это чистый потоковый фильтр на Go: сырой вывод инструментов архивируется на диск в recon/, а в контекстное окно модели попадают только самые значимые эндпоинты, HTTP-коды и утёкшие секреты — так шум от краулеров и фаззеров не забивает контекст LLM.
Что входят в более чем 200 плейбуков по атакам?Скиллы в skills/ — это стандартные операционные процедуры: безопасность API (IDOR/BOLA, JWT, BPLA), веб-уязвимости (SSRF, XSS, SQLi, race conditions) и неправильные настройки облака. Достаются офлайн через движок searchknowledge менее чем за 50 мс.
Насколько автономна работа через CLI?Вы даёте один промпт с целью, а движок Hermes сам составляет карту поверхности атаки, последовательно запускает инструменты разведки, фильтрует их вывод через smartpipe, проверяет гипотезы отдельными PoC-скриптами и сам собирает итоговые отчёты.
Можно управлять им удалённо?Да — в документации есть руководство Telegram Gateway Setup по настройке удалённого выполнения через Telegram, а также гайды по интеграции MCP, работе с промптами и устранению неполадок.
Какие есть похожие проекты?strix, redamon, Decepticon, shannon, Agentic-Bug-Hunter, 0security, masscan, Claude-Red
Автор
Zyrexnn
Размер
169 MB
Звёзды
1K
Возраст
3 мес
Коммиты · 90 дней