Skip to main content

VaultCat

Test License: MIT Python

Full-lifecycle HashiCorp Vault penetration testing toolkit — recon, hijack, escalate, exfiltrate, pivot, and persist across three operational modes.

  • External Recon — zero-knowledge Vault fingerprinting, TLS/CORS/header audit, version→CVE matching, auth surface mapping
  • Authenticated Assessment — token capability audit, policy analysis, KV enumeration, TTL governance, auth config audit
  • Local Post-Exploitation — filesystem + git credential scanning (56 patterns), cross-file correlation, AppRole/DB validation
  • Active Execution — 30 state-changing modules (privilege escalation, secret exfiltration, persistence, pivot, CVE exploitation)
  • AI Agent — ReAct-loop autonomous pentest agent with multi-provider LLM, attack tree walker, and mutation engine
  • MCP Server — 52 tools exposed via FastMCP for Claude Desktop and other AI clients

Ethics: Use this tool only on systems you own or have explicit permission to assess. Read-only modules run freely; state-changing and destructive operations require --confirm-active. No brute-force or password cracking.

Install

# Install from GitHub (PyPI package coming soon)
pip install git+https://github.com/muhammedkurtoglu0/vaultcat.git

# Or with uv (isolated environment, PATH-linked)
uv tool install git+https://github.com/muhammedkurtoglu0/vaultcat.git

# Dev install (clone + venv):
git clone https://github.com/muhammedkurtoglu0/vaultcat.git
cd vaultcat
uv sync
uv run vaultcat chat

Quick Start

# Unauthenticated recon
vaultcat scan --target https://vault.example.com:8200

# Authenticated audit
vaultcat scan --target https://vault.example.com:8200 --token hvs.xxx --capability-audit

# Local credential hijacking
vaultcat hijack ./my-repo --validate-token --target https://vault.example.com:8200

# AI-powered pentest chat (terminal)
vaultcat chat

# AI chat with desktop GUI
vaultcat chat --ui desktop

# MCP server (for Claude Desktop integration)
vaultcat mcp

Documentation

Guide What it covers
Reconnaissance Unauthenticated scanning — TLS, CORS, CVE matching, auth surface
Authenticated Assessment Token-based audit — capability, policy, KV, TTL, AppRole validation
Credential Hijacking File/git scanning (56 patterns), correlation, validation
Active Execution Modules 30 state-changing modules with risk levels and parameters
AI-Powered Pentesting Chat agent, auto mode, tree walker, stealth, web search
MCP Integration Connect Claude Desktop, VS Code, and other AI clients
CLI Flags Reference All 50+ flags across 5 commands
Architecture Component flow, package layout, attack tree design
Environment Variables LLM keys, base URLs, NVD, web search configuration

Connect to Claude Desktop

vaultcat mcp --transport stdio

Then add to your Claude Desktop config:

{
  "mcpServers": {
    "vaultcat": {
      "command": "vaultcat",
      "args": ["mcp", "--transport", "stdio"]
    }
  }
}

52 pentest tools appear in Claude's toolbox. Full MCP guide →

Supported LLM Providers

Provider Env Var Default Model
Anthropic ANTHROPIC_API_KEY claude-sonnet-5
DeepSeek DEEPSEEK_API_KEY auto-detect
OpenAI OPENAI_API_KEY gpt-4o-mini
Kimi KIMI_API_KEY auto-detect
Ollama (local) OLLAMA_HOST auto-detect

Project Layout

main.py                 CLI entry point (Typer, 5 commands)
vault_cli.py            Typer app definition
core/                   Reporting, risk scoring, TLS config
reconnaissance/         14 unauthenticated recon scanners
scanners/               10 authenticated assessment scanners
credential_hijacking/   7 file/git scanning + correlation modules
active_execution/       30 state-changing assessment modules
  modules/
    cloud/              AWS/Azure/GCP exploitation
    database/           DB credential harvest + exploitation
    general/            CVE scanner, agent sidecar, DoS
    persistence/        Backdoors + audit manipulation
    pivot/              Cross-service lateral movement
    seal/               Seal/unseal + key exfiltration
    secrets/            KV dump, PKI, Transit, Raft storage
    token/              Priv esc, token/policy exploits, K8s/JWT/AppRole
ai_core/                LLM agent, MCP server, chat UI, planning, session
vaultcat-lab/      Docker-based lab (Vault 1.15.3 + PostgreSQL 16)
tests/                  23 test files, 600+ tests

Vault Pentest Lab

cd vaultcat-lab
docker compose up -d
./scripts/setup-lab.sh
source lab-tokens.env

Full lab guide →

License

MIT — see LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vaultcat-1.0.0.tar.gz (454.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vaultcat-1.0.0-py3-none-any.whl (445.9 kB view details)

Uploaded Python 3

File details

Details for the file vaultcat-1.0.0.tar.gz.

File metadata

  • Download URL: vaultcat-1.0.0.tar.gz
  • Upload date:
  • Size: 454.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.0

File hashes

Hashes for vaultcat-1.0.0.tar.gz
Algorithm Hash digest
SHA256 08bd2e2b87b538c0e388b312bf2f5e7fc453572eb08e4c8c14a4a88942d3d6e4
MD5 c731a64209e8c155bb63941626b6e828
BLAKE2b-256 5b87e913015452955b025ab275831302ddc3a6e92267347e8410ec3b5095e33b

See more details on using hashes here.

File details

Details for the file vaultcat-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: vaultcat-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 445.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.0

File hashes

Hashes for vaultcat-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 39ef8af2ea31095f56b32629f9f7524f2eb679f8115314512986d38e3b6ea4d3
MD5 b4a9002f6320cdcf4a599422bf35c4aa
BLAKE2b-256 55290d0b080f7110a19bb3b6269c301ba1d53664065c7501a5e0a648e565ff06

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page