← Lab /AI/ML

A2M hijacks MCP agents with 93.6% tool invocation and 74.4% attack success

The authors claim their A2M framework can reliably hijack MCP agents achieving high malicious tool invocation and attack success rates

AI/ML arXiv 22 Sep 2026 Attack Prototype evidence

Published as “A2M: Trace-Optimized Agent Hijacking in the MCP Ecosystem”

Why it matters

The results highlight the need for stronger tool vetting and runtime isolation in MCP ecosystems.

Summary

A2M achieves a mean malicious tool invocation rate of 93.6% on GLM-4.6, inflates cognitive denial-of-service costs to 32.4× the benign baseline, and reaches a mean attack success rate of 74.4% across three attack scenarios. Transfer to four other models without re-optimization still yields 63.6% invocation, 2.7× cost inflation, and 24.5% success. However, high invocation does not guarantee success: on GPT-5 the attack attains 64.9-76.3% MTIR but 0% success for information exfiltration and environment integrity compromise, and only 22.0% for reasoning derailment. The paper provides detailed evaluation on LiveMCPBench but does not explore lower-level exploits or long-horizon tasks.

What they found 1

  1. Direct attacks on GLM-4.6 achieve 93.6% malicious tool invocation, 32.4× cost inflation, and 74.4% attack success.

    “direct attacks optimized and evaluated on GLM-4.6 achieve a macro-average malicious tool invocation rate of 93.6% across four scenarios, increase weighted token costs to 32.4× the benign baseline under Cognitive Denial of Service, and attain a mean attack success rate of 74.4% across Information Exfiltration, Environment Integrity Compromise, and Reasoning Derailment.”

Caveats 5

  • A2M attains MTIR between 64.9 and 76.3 across scenarios, yet ASR remains 0 for IE and EIC and only 22.0 for RD.
  • Kimi-K2-0905 shows a similar pattern with 52.6 MTIR but 10.5 ASR for EIC.
  • Our analysis targets semantic-layer attacks in MCP tool selection and return handling, assuming the adversary can register a malicious tool.
  • The Analyzer-Optimizer loop depends on execution traces; environments with limited trace visibility or aggressive rate limiting may reduce optimization efficiency.
  • Results are based on LiveMCPBench and a fixed ReAct-style MCP agent stack.

What’s new here 4

  • Introduces a two-stage black-box attack (Attraction and Manipulation) that jointly optimizes tool metadata and return payloads using execution-trace feedback.
  • Implements an Analyzer-Optimizer architecture to iteratively refine attacks based on observed failures.
  • Demonstrates high cross-model transferability of tool invocation rates despite no re-optimization.
  • Evaluates a new metric of cognitive denial-of-service cost inflation caused by malicious tool returns.