ai-agent-security

Installation
SKILL.md

Skill: AI Agent Security — Offensive Testing of Deployed AI Agent Systems

Supplementary Files:

  • payloads.md — MCP JSON-RPC probe templates, malicious MCP server source, tool-description injection corpora, RAG vector-DB poisoning payloads (Pinecone/Weaviate/Chroma/Qdrant), agent sandbox-escape primitives (filesystem/network/exec), tool-chain escalation sequences, long-term memory manipulation payloads, multi-agent lateral movement scripts, OAuth-token-capture MCP tools, autonomous-goal-hijack templates, detection-evasion techniques, payload-delivery vectors (email/web/file/API), and writeups of real-world incidents (CVE-2025-3128 Cursor, MCP rug-pull, ChatGPT plugin prompt injection)
  • test-cases.md — 12 structured test cases (TC-AA-001 .. TC-AA-012) covering MCP recon, tool poisoning, indirect injection, RAG poisoning, sandbox escape, tool-chain abuse, memory manipulation, multi-agent compromise, credential theft, autonomous hijack, detection evasion, and full end-to-end agent red-team report
  • guides/ai-agent-security-playbook.md — End-to-end agent red-team playbook (pre-flight authorization, six-phase methodology, MCP protocol internals, agent-harness instrumentation, chain construction, evidence collection, agent-guardrail mitigation mapping, and the purple-team feedback loop)
  • guides/mcp-server-red-team-playbook.md — MCP-server-focused red team playbook (architecture review, tool poisoning, rug-pull schema mutation, indirect injection via tool output, scope bypass via chained tool calls, MCP vs OpenAI function calling vs LangChain, tool-confused pattern, audit-log detection rules, and real-world incidents CVE-2025-3128 / CVE-2025-3148 / GitHub MCP)

Summary

AI agent security skill domain covering offensive testing of stateful, tool-using, autonomous AI agent systems — agents that persist context across turns, call external tools (MCP servers, function-calling APIs, code interpreters), read from RAG knowledge bases, coordinate with other agents, and take real-world actions (file writes, API calls, code execution, financial transactions). The skill equips the operator to discover and demonstrate agent-specific vulnerabilities: MCP server discovery and capability enumeration, tool poisoning via malicious tool descriptions and parameter injection, indirect prompt injection through tool output / retrieved documents / ingested files, RAG knowledge-base poisoning, agent sandbox escape (filesystem, network, command execution), tool-chain escalation, long-term memory manipulation, multi-agent lateral movement, credential theft via agent tools, and autonomous-goal hijacking. Tools include HexStrike AI, AI-Infra-Guard, MCP security testers (mcp-scan, Inspector), PentestGPT, custom agent harness probes, and prompt-injection toolkits (PromptInject, garak agent probes). Findings are mapped to OWASP LLM Top 10 (LLM01/LLM04/LLM06/LLM08) with agent-specific extensions, plus MITRE ATT&CK overlaps where agent actions execute OS commands (T1059), perform credential phishing (T1566), or abuse exposed services (T1190).

Tools: HexStrike AI, AI-Infra-Guard, mcp-scan, MCP Inspector, PentestGPT, PromptInject, garak (agent probes), picklescan, custom Python MCP probe harness, mitmproxy (MCP traffic), Burp Suite, jq

Domain: ai-emerging

Installs
5
GitHub Stars
85
First Seen
Sep 19, 2026