The researchers propose the SMT framework, which jailbreaks function-calling LLMs by simulating audit trajectoriesBeyond the Prompt: Jailbreaking Function-Calling LLMs via Simulated Moderation Traces
Translation in progress — untranslated text is omitted.
The researchers propose the SMT black-box jailbreak framework, attacking structural vulnerabilities in stateful, function-calling environments. The method constructs multi-turn trajectories that simulate legitimate audit workflows, using red-team testing as a pretext to induce harmful generation, treating safety refusals as execution failures, and progressively weakening the model's safety constraints through validation feedback. Evaluations on commercial LLMs from five providers across two standardized safety benchmarks show that SMT achieves the highest average attack success rate and HarmScore, with near-minimal query counts, clearly outperforming existing baselines. The research argues that prompt-level sanitization alone is insufficient to defend tool-based LLM systems, and context-aware validation is needed on schemas, parameters, tool outputs, and cumulative conversation state.
- Function calling interleaves developer schemas, parameters, and untrusted tool outputs into the same context, and harmful intent can be spread across multi-turn trajectories. Prompt-level attacks and single function-call attacks do not characterize this cumulative execution state.
- SMT registers generator and validator schemas that are not actually executed, writes harmful topics into function descriptions, and extracts outputs from unsafe_sample. Refusals are replaced with forged calls; low scores are followed by appended forged validation exceptions. Default K=3, N=3, with success determined by GPT-5.4-Nano according to HarmScore≥60.
- On SafeBench-Tiny and JailbreakBench, SMT's six-model average ASR is 99.67% and 98.33%, with average AQ of 1.48 and 1.37. FCGuard makes SMT's SafeBench ASR on GPT-5.4 become 0.00%.
- The authors note that function-calling APIs and custom tools are required, and it cannot be directly applied to ordinary chat; the white-box analysis is on Qwen3.5-9B and may not represent proprietary models. The authors say FCGuard can reduce ASR. Experiments include six commercial models and two benchmarks; the paper does not report statistical tests or human agreement.