Agentic safety triggers aren't textual safety triggers — MCP attacks that beat SOTA guardrails more than half the time (code + dataset) [R]

Reddit r/MachineLearning Papers

Summary

This research demonstrates that text-based safety guardrails fail to detect attacks on LLM agents with tool access, as attacks are embedded in tool-call sequences rather than text, achieving a high bypass rate against state-of-the-art defenses.

Most safety alignment work treats "detect the attack" as a text classification problem — does the prompt contain language the model's safety guardrails should catch. That assumption breaks down for LLM agents with real tool access. Here's a concrete case: take a known, public security vulnerability (a CVE), work out the sequence of tool calls that would exploit it, then have an LLM rewrite that as an ordinary-sounding request. Nothing in the resulting text looks like an attack — because the "attack" isn't in the text, it's in the tool-call sequence the text leads to. A model whose guardrails only trigger on textual cues has nothing to catch. We tested this against LLM agents using Model Context Protocol (MCP) tool access (filesystem IO). No base model (1B–14B parameters) refused more than 35% of these attacks, and SOTA safety-tuning (DPO, SafeDPO) only pushed that to 48%. Training-free methods do better — one gets to roughly 3x the baseline refusal rate with no fine-tuning run at all. Full methodology, training/eval code (four methods), dataset, and papers in the first comment.
Original Article

Similar Articles

Two ways my agent security detector was wrong, both found this week

Reddit r/AI_Agents

The author describes two bugs found in their AI agent security detector: one where normal agent behavior triggered false positives and latency issues, and another where invisible Unicode characters bypassed detection, both identified through practical testing.

Tool Specifications Matter: Uncovering and Mitigating Safety Risks in AI Agents

arXiv cs.AI

This paper identifies schema-formatted tool specifications as a primary source of safety degradation in AI agents, weakening LLM refusal signals. The authors propose SafeKeep, an inference-time safeguard that separates safety judgment from tool execution, increasing harmful request refusal rates from 23.8% to 70.6% and cutting prompt injection attack success from 25.6% to 2.5%.