aio-agent-threats

aio-agent-threats is a skill for Claude Code from aiocean/claude-plugins. It costs 133 tokens per session (1,985 once invoked), scanned A, original, MIT.

An AI-agent security guide that selects relevant ways an agent could be manipulated, explains how to test them in an authorized lab, and pairs each with detection and mitigation steps.

In plain words
What is it for?
Use it to assess LLM apps, tool-using agents, MCP servers, retrieval or memory systems, multi-agent systems, and coding agents for prompt injection, poisoning, jailbreaks, and related attacks.
Why use it?
It helps turn a broad agent-security question into a focused review instead of listing unrelated threats. It also keeps offensive testing tied to defensive action and authorized systems.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the aio-agent-threats plugin — 2 skills shipped together

Good fit Use it to assess LLM apps, tool-using agents, MCP servers, retrieval or memory systems, multi-agent systems, and coding agents for prompt injection, poisoning, jailbreaks, and related attacks.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add aiocean/claude-plugins
Claude Code
/plugin install aio-agent-threats

Made for: Claude Code.

Or install aio-agent-threats, the plugin that ships this one along with the rest of its 2 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aio-agent-threats

README.md
[![agentmods](https://agentmods.dev/badge/skills/aiocean/claude-plugins/aio-agent-threats/github.svg)](https://agentmods.dev/skills/aiocean/claude-plugins/aio-agent-threats)
Your own site
<a href="https://agentmods.dev/skills/aiocean/claude-plugins/aio-agent-threats"><img src="https://agentmods.dev/badge/skills/aiocean/claude-plugins/aio-agent-threats/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for aio-agent-threats

Your own site · 80×15
<a href="https://agentmods.dev/skills/aiocean/claude-plugins/aio-agent-threats"><img src="https://agentmods.dev/badge/skills/aiocean/claude-plugins/aio-agent-threats.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 133 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,985 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00133 $0.01985
Opus 5.5 $0.00053 $0.00794
Sonnet 5.5 $0.00027 $0.00397
Haiku 4.5 $0.00013 $0.00198

Measured 17d ago against content hash 4180f0f2e46f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aio-agent-threats scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/build-embeddings.ts, scripts/search-vectors.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/aio-agent-threats/skills/aio-agent-threats/SKILL.md · 116 lines

How it starts

The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AI-Agent Attack-Vector Advisor

"Agents chain tool calls and act with reduced oversight — the autonomy is the exploit primitive."

This skill routes an AI-agent security problem to the right attack vectors in the aio-agent-threats corpus (8 volumes, ~45 articles), shows how each is weaponized in an authorized lab the operator owns, and pairs every vector with detection + mitigation. It is attack-first but complete: offense drives the analysis, defense closes it.

Scope & Authorization

This corpus is for authorized security research — the operator owns the target agents, networks, and tooling. Content is written for a red/blue lab: mechanisms, sanitized example payloads, PoC recipes, and the defenses that stop them. Apply it only to systems you are authorized to test.

Workflow: How to Use This Skill

When triggered, follow these five steps. Do NOT just dump vector descriptions — guide the user through their specific target.

Step 1: ASK — Understand the Target Agent

Gather context (if not already clear):

  • What kind of agent? Plain LLM app · tool-calling agent · MCP client/server · RAG / long-term-memory agent · multi-agent system · autonomous coding agent · browser/computer-use agent.
  • What does it ingest? User prompts only, or also web pages, emails, PDFs, repo/issue content, tool outputs, retrieved documents, images/audio.
  • What can it DO? Tool/capability inventory, shell/file/network access, auto-approve vs human-in-the-loop, egress allowed.
  • Does it persist state? Conversation memory, long-term memory store, RAG index, shared multi-agent memory.
  • Goal of this engagement? Red-team / build an attack chain · threat-model the attack surface · harden/defend · triage an incident.

If the message already has enough context, go to Step 2.

Step 2: SEARCH — Find Relevant Vectors

Run semantic search with the user's problem as the query, then cross-reference the routing table.

SCRIPTS="${CLAUDE_PLUGIN_ROOT}/skills/aio-agent-threats/scripts"
cd "$SCRIPTS" && npx tsx search-vectors.ts "<the user's agent security problem>" --top 6 --json
# first run only, if embeddings.json is missing: npx tsx build-embeddings.ts

Read the full file on GitHub · 116 lines

Files

What ships with it

52 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 17d ago First seen · 116 lines · 133 tokens per session scan A 4180f0f2e46f

Subscribe to this mod's changes

aio-agent-threats is a skill published in the GitHub repository aiocean/claude-plugins (4 stars, last pushed 16d ago), licensed MIT. It adds 133 tokens to every session and 1,985 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-26.

Related

aio-agent-threats compared with skills from other repositories

aio-agent-threats next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aio-agent-threatsaiocean/claude-pluginsSkill416d agoMITA133Claude Code
eval-hooksFlorianBruniaux/claude-code-ultimate-guideSkill6.4ktodayCC-BY-SA-4.0A115Claude Code
design-patternsFlorianBruniaux/claude-code-ultimate-guideSkill6.4ktodayCC-BY-SA-4.0A59Claude Code
eval-agentsFlorianBruniaux/claude-code-ultimate-guideSkill6.4ktodayCC-BY-SA-4.0A80Claude Code
eval-skillsFlorianBruniaux/claude-code-ultimate-guideSkill6.4ktodayCC-BY-SA-4.0A60Claude Code
source-command-audit-whitepapersFlorianBruniaux/claude-code-ultimate-guideSkill6.4ktodayCC-BY-SA-4.0A26Claude Code, Codex
audit-agents-skillsFlorianBruniaux/claude-code-ultimate-guideSkill6.4ktodayCC-BY-SA-4.0A41Claude Code