llm-ai-hunter — Claude Code subagent: AI security checks and setup
llm-ai-hunter is a subagent that tests chatbots, RAG, MCP servers, and agent tools for security flaws within an authorized scope.
no license ★ 1,298 updated 2026-06-12
.claude/agents/llm-ai-hunter.mdWhat llm-ai-hunter does
The subagent routes a review by the target or a supplied subtype, covering cases such as prompt injection, tool misuse, RAG poisoning, and unsafe output handling. Its methodology includes OWASP categories for LLM and agentic AI security. Before testing, it reads skills/hunt-llm-ai/SKILL.md and searches an MCP writeup collection for prior techniques and payloads. If that search cannot be reached, it can fall back to rules/payloads.md.
It has shell, file-reading and editing tools, plus MCP search tools. The instructions limit testing to authorized targets and call for harmless demonstrations in potentially dangerous cases; accessing other customers’ data is prohibited. The methodology depends on SKILL.md. MCP server tests are limited to locally hosted servers or assets explicitly in scope.
What it helps with
- test a chatbot for direct prompt injection
- look for poisoned content in RAG retrieval
- check whether prompts can steer an agent’s tool arguments
- probe tenant separation in vector databases
- find unsafe rendering of model output
Example prompts for the agent
- Check this chatbot for direct prompt injection and use a harmless demonstration.
- Test whether uploaded documents can poison RAG results for other users.
- Review this in-scope MCP server for poisoned tool descriptions.
How to install llm-ai-hunter
Manually: put the files in place
.claude/agents/llm-ai-hunter.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/llm-ai-hunter.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/llm-ai-hunter.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about llm-ai-hunter
How do I install llm-ai-hunter in Claude Code?
Add the agent file at .claude/agents/llm-ai-hunter.md.
What does llm-ai-hunter do?
It checks AI features for security weaknesses, including prompt injection, tool misuse, and RAG issues. It loads the testing methodology and searches for established techniques before starting.
Which file does the testing methodology require?
It reads skills/hunt-llm-ai/SKILL.md first. If MCP search is unreachable, it can use rules/payloads.md instead.