Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Agent Security and Red Team Pattern Library

    2

    Most teams harden against the two they've heard of and miss the ten they haven't.

    $24

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    2 usesSecurity scanned
    Agent Security and Red Team Pattern Library

    Agent Security and Red Team Pattern Library

    Example session with this skill installed

    Threat-model my email assistant agent. It can read my inbox, summarize threads using RAG, and has a tool to send replies. What are the high-severity risks and how do I fix them?

    • Read your context and instructions
    • Compiled the agent security

    Attack surface (from attack-surface-map.md): untrusted inbox content, the RAG store, and the reply-sending tool are your three exposed edges.

    HIGH — Indirect prompt injection (prompt-injection-patterns.md): a malicious incoming email carries instructions that hijack the agent. Detection signal: model output that references sending, forwarding, or new recipients not present in the user's request. Defense: treat all email body text as untrusted data, never instructions; require human confirmation before any send.

    HIGH — Tool abuse / destructive triggering of the send tool (tool-abuse-patterns.md). Detection signal: send calls whose recipients or content don't trace to a user request. Defense: human-in-the-loop on send, scope the tool to reply-only, and block new external recipients.

    MEDIUM — RAG corpus poisoning (rag-and-retrieval-attacks.md): poisoned threads bias summaries. Detection signal: retrieved context that asserts instructions. Defense: provenance tagging and retrieval sanitization.

    Each finding maps to a mitigation in defense-patterns.md, and the threat-model-worksheet.md gives you the full worked pass to complete for the remaining surfaces.

    Attack surface (from attack-surface-map.md

    Connects securely to your tools. The creator never sees your data.

    About this skill

    As agents gain tools, memory, and the ability to read untrusted content, they gain an attack surface — and the attacks have known shapes, scattered across papers, disclosures, and other people's incidents. Most teams harden against the two they've heard of and miss the ten they haven't. This is the catalog. It is a defensive reference — a field manual for hardening agents you build or operate, describing attacks so you can recognize and close them, not an offensive toolkit and not a source of weaponized payloads. It maps every surface where untrusted input reaches an agent, then walks six attack families in depth: prompt injection (direct, indirect, hidden-channel, deferred, multi-modal), tool abuse (unauthorized invocation, argument manipulation, tool chaining, confused deputy, destructive triggering), data exfiltration (system-prompt disclosure, cross-tenant bleed, outbound-argument and rendered-content channels, memory and aggregation), memory and context attacks (poisoning, cross-session and cross-user persistence, saturation, compaction tampering), multi-agent attacks (injection propagation, delegation abuse, confused deputy, orchestrator compromise, result poisoning), and RAG and retrieval attacks (corpus poisoning, ranking abuse, citation laundering, index attacks, retrieval-driven exfiltration). Every pattern is written the same way — the surface it hits, how it works conceptually, the detection signal, the concrete defense, and a blast-radius severity — so it reads as a catalog you can scan, not an essay. It closes with a defense-pattern catalog of twelve mitigations, each mapped back to the attacks it closes and ordered by leverage, and a threat-model worksheet with a fully worked hardening pass on a coding-assistant agent. The download is ten files in total. It is a defensive reference and design aid for systems you own or are authorized to test — it does not attack third-party systems, execute exploits, access your agent, or guarantee security, and it describes attacks conceptually for defense rather than shipping exploitation steps. Security is not a one-time state: passing every pattern here is a strong baseline, not a certificate. Works with Claude Code, Cursor, Codex CLI, Gemini CLI, and any SKILL.md agent.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.

    This is a defensive reference catalog, not software you install or run. It does not attack third-party systems, execute exploits, scan or connect to your live agent, or ship weaponized payloads. It does not guarantee security and is not a certification or audit — passing every pattern is a strong baseline, not proof of safety. It is a static set of Markdown files with no automatic, ongoing, or lifetime updates and no hosted or one-click setup; you apply the defenses yourself. Getting value requires manually mapping the patterns to your own architecture, and it is not a substitute for ongoing security review, testing, or professional judgment.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    2 uses

    Times used to date

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 4 months ago

    Permissions

    Read Files
    Write Files

    File Scopes

    SKILL.md

    This is a static Markdown reference library, not an executable tool. Read Files lets an agent open and consult the ten reference files (SKILL.md plus the references/ folder); Write Files lets it draft threat-model notes from the included worksheet into your own workspace. It needs no terminal, network, browser, or environment access, connects to no external hosts, and does not run scans against or otherwise touch your live agent.

    Listed4 months ago

    What's inside

    Frequently Asked Questions

    This library provides a structured catalog of 39 specific attack patterns, detection signals, and hardening defenses to help developers identify and mitigate security vulnerabilities beyond basic prompt injection.

    The library is delivered as a set of ten reference files, including a threat-model worksheet and a defensive field manual, designed to be read by both human developers and AI coding assistants.

    Yes, the documentation is structured as a SKILL.md compliant library, making it natively compatible with agentic tools like Claude Code, Cursor, and Gemini CLI for real-time security reviews of your code.

    No, this is a defensive reference focused on conceptual patterns and mitigations; it does not contain executable code, weaponized payloads, or automated exploit scripts for attacking third-party systems.

    The library covers the entire agent lifecycle, including tool invocation, RAG/retrieval pipelines, multi-agent orchestration, and long-term memory persistence.

    While security is an evolving field, this library provides a comprehensive baseline for current known threats; purchasers will have access to updated versions as new attack vectors are surfaced and documented.

    New in Security