Function-calling LLMs can be jailbroken using simulated moderation traces
Their SMT attack can bypass safety controls in tool-enabled LLMs and produce harmful outputs
AI/ML arXiv 1 Jul 2026 Attack Prototype evidence
Published as “Beyond the Prompt: Jailbreaking Function-Calling LLMs via Simulated Moderation Traces”
Why it matters
Stateful function-calling attacks can bypass existing guardrails, indicating that defenses must consider the full execution trace rather than only the user prompt.
Summary
SMT achieves near-perfect attack success, reaching 99.67% ASR on SafeBench and 98.33% on JailbreakBench, far surpassing prior jailbreak methods. It does this by exploiting the accumulated state of function-calling workflows through simulated moderation traces, turning safety refusals into execution-fault signals. The attack is also highly efficient, averaging only 1.48 API calls per query on SafeBench and 1.37 on JailbreakBench. However, its effectiveness drops when strong defenses like FCGuard or combined mitigations are applied, reducing ASR to zero in some cases. The evidence is based on evaluations across six commercial LLMs and one open-source model.
What they found 2
- SMT achieves near-perfect attack success on both benchmarks.
“SMT establishes a new across the evaluated targets, achieving near-perfect average Attack Success Rates (ASRs) of 99.67% on SafeBench and 98.33% on JailbreakBench”
- SMT requires far fewer queries than baselines.
“SMT achieves the best overall query efficiency, requiring only 1.48 queries on SafeBench and 1.37 queries on JailbreakBench on average”
Caveats 2
- Under the Combined defense, SMT’s ASR and Avg.Score drop by only 20.00 and 14.40 points, respectively, compared with 50.00/34.40 points for TVD-Single and 46.00/15.60 points for CC-BOS.
- FCGuard reduces the ASR of both SMT and JailbreakFunction to 0
What’s new here 4
- Targets the stateful interaction surface of function-calling LLMs rather than just the user prompt.
- Introduces Simulated Moderation Traces that reframe safety refusals as runtime errors to erode guardrails.
- Combines multi-turn iterative refinement with red-team style case generation and validation within the same workflow.
- Demonstrates substantially higher success rates and lower query counts than existing prompt-centric and single-function attacks.