arXiv

Malicious tool instructions triggered attacks in AI agent tests

Tests with real tool execution recorded a 22.9% overall attack success rate across 12 frameworks, 18 models and 45 attack scenarios.

Paper by Farooq Shaikh, Biagio Montaruli
A branching network has a dark tile over its broken hub, a black path through one branch, gray tool tiles, and a separate cup holding missing blue pieces.

Our read

Studied:
Preprint: empirical study

Editor of record: Boris Djordjevic · Paperfoot

A measurement study tested malicious instructions in tool content with real tool execution across 12 AI agent frameworks, software systems that let models use tools. The frameworks used the Model Context Protocol to connect language models to external tools. The open-source mcpvenom tool tested 9,720 configurations spanning 18 models and 45 attack scenarios.

The reported overall attack success rate was 22.9%. Among vulnerable configurations, 64.9% called an attacker-controlled tool, 23.0% contacted the attacker’s web address and 12.1% verifiably leaked a secret. The tests confirmed leaks by checking receipt at an attacker-controlled web address. Attack success ranged from 0.4% to 49.7% across models. A code audit found no intentional defenses against tool poisoning in any of the 12 frameworks.

Why it matters

The real-execution tests distinguished attacker-directed tool calls from confirmed secret leaks, giving researchers a way to measure consequences beyond a model’s written response.

Caveats

The attack-success measure included attacker-directed tool calls, not just verified secret leaks. This arXiv preprint has not been peer-reviewed.

From the paper

Limitation

(1) Model versions are pinned to the provider identifiers listed in the supplementary material, as served on 22–24 July 2026; eight carry no dated snapshot suffix, and alignment updates may alter ASR.

10. Limitations

Quoted word for word from the full text on arXiv.

In this paper

cross-framework measurement of MCP tool poisoning

Methods
Claude Opus 4.8 (evaluated)Claude Fable 5 (evaluated)Amazon Nova Pro (evaluated)Claude Sonnet 4.5 (evaluated)Claude Haiku 4.5 (evaluated)Claude Sonnet 5 (evaluated)Ministral 3 14B (evaluated)Mistral Large 3 (evaluated)Mistral Large 2 (evaluated)Pydantic AI (evaluated)smolagents (evaluated)AG2 (evaluated)
Datasets
mcpvenom (this paper)
Links
Code

Results

Claude Fable 5, ASR: 0.4%; Amazon Nova Pro, ASR: 49.7%

Among the tested models and configurations, ASR ranges from 0.4% (Claude Fable 5) to 49.7% (Amazon Nova Pro); this per-model maximum, not the pooled 22.9% mean, is the comparable figure for the best-case rates (up to 72.8%) reported by compliance-oracle benchmarks, which count intended calls rather than confirmed execution …

Model variation dominates.

Claude Opus 4.8, vulnerable cells, 530 evaluated cells: 8

Claude Opus 4.8 is vulnerable in only 8 of its 530 evaluated cells (1.5%) while emitting 223 explicit refusals that cite the poisoned description, among the highest refusal counts of any model.

Model variation dominates.

Ministral 3 14B, ASR: 34.3%; Mistral Large 3, ASR: 43.7%; Mistral Large 2, ASR: 21.6%

Mistral inverts this on both axes: ASR rises with scale (Ministral 3 14B, 34.3%, vs. the 675B Mistral Large 3, 43.7%) and with generation (Mistral Large 2, 21.6%, vs. Mistral Large 3, 43.7%).

Intra-family alignment scaling.

Pydantic AI, ASR: 16.6%; smolagents, ASR: 34.4%

Across the eleven frameworks excluding AG2 as a structural outlier, ASR ranges from 16.6% (Pydantic AI) to 34.4% (smolagents).

Framework contribution is largely mechanical.

AG2, ASR: 4.6%

AG2 records 4.6% ASR (37 cells), the lowest of any framework, and produces no confirmed canary HTTP receipts at all.

AG2 architectural constraint.

What it shows

No tested framework contributes intentional defense against Model Context Protocol tool poisoning, with resistance determined at the model level.

Resistance is model-level: nine core frameworks cluster within 23 to 26% (chi-squared = 3.30, p = 0.91), and no framework implements intentional defense.

Abstract

A regex description scanner at registration rejects 20 of 45 attack scenarios with a 7.2% false-positive rate.

Incidental framework properties mitigate in specific cases, and a regex description scanner rejects 20 of 45 scenarios at a 7.2% false-positive rate, so metadata scanning alone is a partial control.

Abstract

The mcpvenom measurement yields an overall attack success rate of 22.9% across 2,113 vulnerable cells.

The overall attack success rate is 22.9% (2,113 vulnerable cells).

Abstract

Model attack success rate ranges from 0.4% to 49.7% across the evaluated configurations.

Model ASR ranges from 0.4% to 49.7%.

Abstract

A model that verbally flags an attack can still execute the malicious exfiltration call.

A distinct narrate-then-comply pattern appears for Claude Sonnet 5: in 4 of its 10 vulnerable cells the model verbally flags the attack as a prompt injection before nonetheless issuing the exfiltration call, demonstrating that safety narration does not guarantee safety action.

Model variation dominates.

Quoted word for word from the full text on arXiv.

The paper

MCP Tool Poisoning in Agentic AI Frameworks: A Cross-Framework Measurement Study

Farooq Shaikh, Biagio Montaruli

arXiv, Nov 2, 2026, Open access, Preprint, not yet peer-reviewed

doi.org/10.48550/arxiv.2611.03555

arXiv:2611.03555v1 in cs.CR, also cs.AI

AbstractPDFHTML

Comments: Accepted at the 19th Workshop on Artificial Intelligence and Security (AISec '26), co-located with ACM CCS 2026, The Hague, Netherlands. 12 pages, 3 figures, 9 tables; 4-page supplement included as ancillary file

Cite as BibTeX
@misc{shaikh2026tool,
  title = {MCP Tool Poisoning in Agentic AI Frameworks: A Cross-Framework Measurement Study},
  author = {Shaikh, Farooq and Montaruli, Biagio},
  year = {2026},
  eprint = {2611.03555},
  archivePrefix = {arXiv},
  primaryClass = {cs.CR},
  doi = {10.48550/arxiv.2611.03555},
  url = {https://arxiv.org/abs/2611.03555}
}