paper-with-me

Papers

TraceSafe: A Systematic Assessment of LLM Guardrails on Multi-Step Tool-Calling Trajectories

2026-04-08 · Yen-Shan Chen, Sian-Yao Huang, Cheng-Lin Yang, Yun-Nung Chen arxiv

As large language models (LLMs) evolve from static chatbots into autonomous agents, the primary vulnerability surface shifts from final outputs to intermediate execution traces. While safety guardrails are well-benchmarked for natural language responses, their efficacy remains largely unexplored within multi-step tool-use trajectories. To address this gap, we introduce TraceSafe-Bench, the first comprehensive benchmark specifically designed to assess mid-trajectory safety. It encompasses 12 risk categories, ranging from security threats (e.g., prompt injection, privacy leaks) to operational failures (e.g., hallucinations, interface inconsistencies), featuring over 1,000 unique execution instances. Our evaluation of 13 LLM-as-a-guard models and 7 specialized guardrails yields three critical findings: 1) Structural Bottleneck: Guardrail efficacy is driven more by structural data competence (e.g., JSON parsing) than semantic safety alignment. Performance correlates strongly with structured-to-text benchmarks ($ρ=0.79$) but shows near-zero correlation with standard jailbreak robustness. 2) Architecture over Scale: Model architecture influences risk detection performance more significantly than model size, with general-purpose LLMs consistently outperforming specialized safety guardrails in trajectory analysis. 3) Temporal Stability: Accuracy remains resilient across extended trajectories. Increased execution steps allow models to pivot from static tool definitions to dynamic execution behaviors, actually improving risk detection performance in later stages. Our findings suggest that securing agentic workflows requires jointly optimizing for structural reasoning and safety alignment to effectively mitigate mid-trajectory risks.

📄 PDF Abstract BibTeX arXiv:2604.07223

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Beyond Pixel Agreement: Large Language Models as Clinical Guardrails for Reliable Medical Image Segmentation

2025-06-02 · Jiaxi Sheng, Leyi Yu, Haoyue Li, Yifan Gao 외

Evaluating AI-generated medical image segmentations for clinical acceptability poses a significant challenge, as traditional pixelagreement metrics often fail to capture true diagnostic utility. This paper introduces Hie…

DiagnosticImage SegmentationMedical Image SegmentationSemantic Segmentation

Lattice: Generative Guardrails for Conversational Agents

2026-01-24 · Emily Broadhurst, Tawab Safi, Joseph Edell, Vashisht Ganesh 외 arxiv

Conversational AI systems require guardrails to prevent harmful outputs, yet existing approaches use static rules that cannot adapt to new threats or deployment contexts. We introduce Lattice, a framework for self-constr…

Swiss Cheese Model for AI Safety: A Taxonomy and Reference Architecture for Multi-Layered Guardrails of Foundation Model Based Agents

2024-08-05 · Md Shamsujjoha, Qinghua Lu, Dehai Zhao, Liming Zhu

Foundation Model (FM)-based agents are revolutionizing application development across various domains. However, their rapidly growing capabilities and autonomy have raised significant concerns about AI safety. Researcher…

modelSystematic Literature Review

Breaking Guardrails, Facing Walls: Insights on Adversarial AI for Defenders & Researchers

2025-10-14 · Giacomo Bertollo, Naz Bodemir, Jonah Burgess arxiv

Analyzing 500 CTF participants, this paper shows that while participants readily bypassed simple AI guardrails using common techniques, layered multi-step defenses still posed significant challenges, offering concrete in…

CS-Guard: Benchmarking LLM Guardrails for Code Generation Security

2026-09-09 · Jinyang Li, Mingyu Guo, Hung X. Nguyen arxiv

Large language models (LLMs) have been ex- ploited to generate malware, but the effective- ness of guardrails for code generation secu- rity remains unclear. We introduce CS-Guard, the first benchmark to systematically e…

Text-to-Code GenerationCode TranslationCode Completion