Cmd mindmap

From H-mmer/pentest-agents · View interactive version

Cmd mindmap is an AI agent skill from the GitHub repository H-mmer/pentest-agents. Generate a text-based attack surface mindmap. Shows tech stack → vuln class → endpoint relationships. Usage: /mindmap <target>

How to use this skill

Skill file

Generate attack surface mindmap for: $ARGUMENTS

Process

  1. Read brain data: uv run python3 ../../tools/brain.py brief $ARGUMENTS
  2. Read recon data from recon/ directory
  3. Read intel data: uv run python3 ../../tools/intel_engine.py suggest <tech-stack>
  4. Generate a tree-format mindmap:
target.com
├── Tech Stack
│   ├── Next.js 14 → SSRF (Server Actions), Open Redirect
│   ├── GraphQL → Introspection, IDOR via node(), Mutation Auth
│   └── PostgreSQL → SQL Injection
├── Auth
│   ├── Okta SSO → SAML bypass, OAuth redirect_uri
│   └── JWT → Secret brute-force, Algorithm confusion
├── API Surface
│   ├── /api/v2/users/{id}/* → IDOR (P1)
│   │   ├── /orders — TESTED: exhausted
│   │   ├── /export — UNTESTED
│   │   └── /settings — UNTESTED
│   ├── /api/v2/payments/* → Race conditions, price manipulation (P1)
│   └── /graphql → Auth bypass on mutations (P1)
├── File Handling
│   └── /upload → Extension bypass, SVG XSS (P2)
└── Findings
    ├── [CONFIRMED] IDOR on /api/v2/users/{id}/orders
    └── [EXHAUSTED] XSS on /search — CloudFront blocks all payloads
  1. Mark each endpoint as TESTED, UNTESTED, CONFIRMED, or EXHAUSTED from brain data
  2. Suggest: "Start with UNTESTED P1 endpoints. Run /hunt $ARGUMENTS --vuln-class <suggested>"

Top-Tier Mindmap Standard

The mindmap should expose attack decisions at a glance.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.