by adithyan-ak
Offensive security framework for AI agent infrastructure - recon, credential looting, model exfiltration, poisoning, and attack-path analysis across MCP, A2A, gateways, and AI services. BloodHound for the agentic stack.
# Add to your Claude Code skills
git clone https://github.com/adithyan-ak/AgentHoundAgentHound is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by adithyan-ak. Offensive security framework for AI agent infrastructure - recon, credential looting, model exfiltration, poisoning, and attack-path analysis across MCP, A2A, gateways, and AI services. BloodHound for the agentic stack. It has 468 GitHub stars.
AgentHound's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/adithyan-ak/AgentHound" and add it to your Claude Code skills directory (see the Installation section above).
AgentHound is primarily written in Go. It is open-source under adithyan-ak on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh AgentHound against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
MCP · A2A · agent clients · model gateways · inference servers · vector stores · MLOps · notebooks
Quickstart · Capabilities · Attack surface · Attack paths · Docs · Safety
Authorized use only. AgentHound performs active credential validation, model invocation, and reversible mutation when their prerequisites are present. Run it only against systems you own or are authorized to assess.
AgentHound is an open-source offensive security framework for agentic infrastructure. Drop one static collector onto a compromised host and run one scan. AgentHound captures local credentials and agent configuration, discovers reachable AI services, fingerprints and inventories them, reuses compatible credentials, verifies concrete access, and preserves everything in one continuously checkpointed JSON artifact.
The default scan is active because foothold access may disappear at any moment. --stealth switches the same workflow to read-only collection when OPSEC requires it.
The optional analysis server turns the artifact into a queryable attack graph with credential chains, execution and exfiltration paths, cross-protocol pivots, evidence-backed findings, risk scoring, history, and triage.
one foothold → one scan → secrets + services + proof → one artifact → full attack graph
🎯 Foothold-first autonomous collection Local agent configs, instruction files, environment-backed secrets, loopback services, active interfaces, configured endpoints, and optional network scope all feed the same scan. No database or server connection is required on the compromised host.
🔑 Raw credential capture and reuse Concrete secrets are saved as usable material, deduplicated by value hash, and associated with every observed source. Newly discovered bearer tokens, API keys, master keys, and Jupyter tokens immediately unlock compatible same-scan collection and validation candidates.
🧪 Proof instead of reachability guesses For an eligible MCP resource, AgentHound first performs an anonymous control read. If that exact read succeeds, it records public access without presenting a credential. Otherwise, it follows with an authenticated read; a denied control plus an allowed credentialed read becomes Verified During Scan evidence tied to that credential and resource.
☠️ Reversible active validation Against eligible ContextForge-managed tools, the planner writes a scan-specific description marker, observes it through MCP, restores the original immediately, and independently confirms restoration before any other work continues.
🌐 Full-spectrum agentic attack surface AgentHound maps MCP, A2A, twelve agent-client configuration formats, model gateways, inference servers, vector stores, model registries, notebooks, and web interfaces as one connected target set.
🧬 Deep service and model intelligence Inventory Ollama served models, modelfiles, templates, and system prompts; LiteLLM credential references and virtual-key context; MLflow experiments and model registries; Jupyter sessions and files; and Qdrant collections. Deep mode adds recursive instruction discovery, bounded vector point references, and Ollama compute verification.
🕸️ Graph-native attack-path analysis The server joins trust, authentication, credential reuse, tool capabilities, sensitive resources, protocol boundaries, and observed proof into paths a red-team operator can query: reachability, execution, exfiltration, impersonation, shadowing, poisoning, and tainted data flow.
💾 Built for loss of access The collector writes an ingest-valid artifact before collection and checkpoints every meaningful result and action transition. Recovery state is persisted before mutation, cleanup runs even after cancellation, and unresolved restoration can be retried from the same artifact.
| Surface | Discovery and collection | Autonomous validation and analysis |
|---|---|---|
| Agent clients | Claude Desktop, Claude Code, Cursor, Windsurf, VS Code, Cline, Continue, Zed, JetBrains, Kiro, Amazon Q, and Augment configs; CLAUDE.md, AGENTS.md, Cursor rules, and Copilot instructions |
Captures concrete config credentials; detects exposed secrets, suspicious instructions, poisoned context, and unpinned server packages |
| MCP | Configured stdio and network servers; tools, resources, prompts, transport, authentication, and server instructions | Differential credential-to-resource proof; public-access evidence; reversible ContextForge description round trip |
| A2A | Agent cards, skills, delegation, authentication schemes, signatures, and remote JWKS evidence | Authenticated agent-card enrichment, impersonation and confused-deputy analysis, and cross-protocol pathing |
| LiteLLM | Gateway posture, observed master keys, upstream-provider references, virtual-key hashes, models, aliases, and spend context | Compatible credential reuse, credential-chain correlation, and exposed-master-key findings |
| Ollama / vLLM | Ollama model inventory, digests, modelfiles, templates, system prompts, and fine-tune signals; vLLM fingerprinting | Deep active mode invokes a bounded embedding request to prove model-compute access |
| Qdrant | Typed vector collections, point counts, schema context, and bounded point references in deep mode | Anonymous exposure and sensitive vector-data analysis without retaining vector payloads |
| MLflow | Experiment/run counts, typed model versions, sanitized storage URIs, and safely identified artifact-store roots | Anonymous tracking and registry exposure analysis without treating persisted artifacts as served models |
| Jupyter | Sessions and typed workspace files from bounded notebook/content trees, first anonymously and then with a compatible token | Distinguishes public from credential-gated notebook access; incomplete walks preserve earlier files |
| Open WebUI / LangServe | Open WebUI authentication posture, explicit configured Ollama/Qdrant backends, and authenticated upstream/RAG credential inventory; LangServe fingerprinting | Credential expansion and exposed-service analysis; configured backend links do not overclaim reachability |
Install the 1.1.1 static binary to ~/.local/bin:
curl -sSfL https://raw.githubusercontent.com/adithyan-ak/agenthound/1.1.1/install.sh \
| AGENTHOUND_VERSION=1.1.1 sh
export PATH="$HOME/.local/bin:$PATH"
Or install with Homebrew:
brew install adithyan-ak/agenthound/agenthound
The collector has no Neo4j, PostgreSQL, Node.js, or server dependency. The shell installer supports macOS and Linux on amd64 or arm64. Windows builds are available from GitHub Releases.
Start with the compromised host and everything it can immediately reveal:
agenthound scan --output scan.json
Add a host, CIDR, or targets file without disabling local collection:
agenthound scan 10.20.0.0/24 --output scan.json
agenthound scan @targets.txt --deep --exclude 10.20.0.15 --output scan.json
Choose the mode that matches the operation:
| Command | Behavior |
|---|---|
agenthound scan |
Active collection, compatible credential reuse, MCP access proof, and eligible reversible ContextForge validation |
agenthound scan --deep |
Adds recursive instruction discovery, bounded Qdrant point references, expensive service probes, and bounded Ollama embedding invocation |
agenthound scan --stealth |
Anonymous and exact configured read-only collection; no cross-target credential reuse, model invocation, tool invocation, or mutation |
agenthound scan --stealth --deep |
Adds deep filesystem and payload reads while retaining stealth restrictions |
These commands are alternatives and write scan.json. Without --output, the result is scan-<scan_id>.json. An explicit output path replaces an existing file, so use a new name for each scan. Concrete credentials and collected content