Search arXiv⌕ Search

arXiv · 2612.06023

SoK: Mapping LLM Agent Guardrails Against Real-World Incidents

Abstract

Runtime defenses for LLM agents, commonly called guardrails, are usually surveyed by the threat they name. That framing obscures what each mechanism actually inspects and leaves real-world failures outside the comparison. We systematize both guardrails and incidents on a shared grid derived from law: the duties an agent owes its principals under agency law, together with non-waivable interests protected in others under tort, privacy, and computer-misuse law. Because the grid is generated from explicit rules and written exceptions rather than assembled ad hoc, missing cells can be identified systematically and individual vocabulary choices can be disputed at the rule level. A second layer enforces traceability: every assertion links a mechanism or incident to a grid proposition, attaches a verbatim quote from the primary source, and carries a signature distinguishing human adjudication from a named model release. Placing mechanisms (what they decide) and incidents (what they breach) on the same coordinates turns coverage into a direct set difference: any proposition breached by an incident but decided by no runtime mechanism is a traceable coverage gap. On an initial model-pre-labeled corpus of 25 research releases and 28 first-party incident disclosures (328 assertions across 68 coded mechanisms, materials, and incidents), runtime mechanisms decide 27 propositions while incidents breach 52, leaving 39 coverage gaps concentrated in final-reply truthfulness, disclosure, task fulfillment, and third-party or user legal interests such as property, personal data, unauthorized access, and deception.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Yipu Dou. 2026-12-03. SoK: Mapping LLM Agent Guardrails Against Real-World Incidents. https://searcharxiv.org/abs/2612.06023

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

A Novel Supervised Deep Learning Solution to Detect Distributed Denial of Service (DDoS) attacks on Edge Systems using Convolutional Neural Networks (CNN)

Distributed Denial of Service (DDoS) attacks remain a persistent threat to the availability of Internet services, edge networks, and cyber-physical infrastructure. Although recent AI-security work has increasingly focused on foundation models, autonomous agents, and adversarial robustness, many operational defense tasks still require low-latency classification close to the network edge, where cloud-scale analysis may be too slow or expensive. This paper presents a lightweight supervised deep learning approach for DDoS detection using a convolutional neural network (CNN) trained on packet-flow representations derived from the CIC-DDoS2019 benchmark dataset. The proposed pipeline extracts packet flows from PCAP traffic, normalizes them to fixed-length representations, and classifies each flow as benign or malicious using a compact CNN architecture with convolution, dropout, pooling, and sigmoid classification layers. On a held-out test set of previously unseen flows, the model achieves 0.9883 accuracy, 0.9864 precision, 0.9784 recall, and 0.9824 F1 score, while processing the evaluated test flows in 0.28 seconds. These results suggest that compact neural models can provide useful early-warning signals for edge-oriented DDoS detection. We further discuss deployment constraints, benchmark limitations, and future directions for cross-dataset evaluation, hardware-aware profiling, and integration with mitigation pipelines.

cs.CR↗

LCC-LLM: Leveraging Code-Centric Large Language Models for Malware Attribution

LLMs are increasingly explored for malware analysis; however, current LLM-based malware attribution remains limited by unsupported indicators and insufficient code-level grounding for identifying malicious and vulnerable code segments. To address these limitations, this research introduces LCC-LLM, a code-centric benchmark dataset and evidence-grounded framework for malware attribution and multi-task static malware analysis. The proposed LCCD dataset contains approximately 34K PE samples processed through a large-scale reverse-engineering pipeline and represented using decompiled C code, assembly code, CFG/FCG artifacts, hexadecimal data, PE metadata, suspicious API evidence, and structural features. Beyond dataset construction, LCC-LLM integrates LangGraph-orchestrated static analysis with multi-source cybersecurity knowledge to support evidence-grounded malware reasoning. The framework employs a seven-layer retrieval-augmented generation pipeline, CoVe for IoC validation, and a multi-dimensional quality gate to improve factual reliability and analyst-oriented decision support. Curriculum-ordered instruction data is used to fine-tune DeepSeek-R1-Distill-Qwen-14B and Qwen3-Coder-30B-A3B using QLoRA. Evaluation across 43 malware-analysis task types achieves an average semantic similarity of 0.634, with the highest task-level performance in structured report generation, IoC extraction, vulnerability assessment, malware configuration extraction, and malware class detection. In a real-world case study using MalwareBazaar samples, the grounded pipeline achieves a 10/10 structured analysis pass rate, producing CFG/FCG evidence, MITRE ATT&CK mappings, detection guidance, and analyst-ready reports. These results show that code-centric representations, retrieval grounding, and verification-guided reasoning improve the reliability and operational usefulness of LLM-assisted malware attribution.

cs.CR↗

PromptPET: Prompt Obfuscation Against Profiling by AI Agents

Privacy is an important challenge when users interact with AI agents, since users share sensitive information, explicitly or implicitly, and AI agents provider can use this information for user profiling. In this paper, we aim to protect user privacy via a user-side approach that obfuscates sensitive information in a user prompt before it is sent, while preserving enough information to elicit a useful response from the chatbot. This approach faces an inherent tradeoff: what an AI agent needs to produce a personalized and detailed response is largely what it uses to profile the user. To that end, we consider, evaluate, and compare four different obfuscation actions, namely redact, abstract, replace, and a novel decoy that we introduce, which keeps the true information, hides it among plausible alternatives that the online AI agent answers separately, and retains only the answer to the true one. First, we systematically evaluate each obfuscation action independently in terms of the privacy-utility tradeoff it achieves. Second, we propose PromptPET, which follows a decision rule set to select an obfuscation action for each sensitive unit based on the unit context. The rule set is searched by an LLM-based optimizer that iteratively proposes and refines rules based on their measured privacy and utility. On real user queries, PromptPET delivers 3.3x more privacy per unit of utility cost than the strongest prior approach and reaches 1.4x higher privacy. Its advantage holds at the user level, where the provider accumulates a profile across all of a user queries.

cs.CR↗