Skip to content
arXiv· arXiv:2505.03574· Sahana Chennabasappa, Cyrus Nikolaidis, Daniel Song, David Molnar, Stephanie Ding, Shengye Wan, Spencer Whitman, Lauren Deason, Nicholas Doucette, Abraham Montilla, Alekhya Gampa, Beto de Paola, Dominik Gabi, James Crnkovich, Jean-Christophe Testud, Kat He, Rashnil Chaturvedi, Wu Zhou, Joshua Saxe·Indexed by this site · Originally published

LlamaFirewall: an open-source guardrail system for building secure AI agents

LlamaFirewall: An open source guardrail system for building secure AI agents

AI summary

The paper's authors propose LlamaFirewall, an open-source guardrail framework for building secure AI agents, as a last line of defense for AI agent risk protection. It contains three guardrails: PromptGuard 2 is a general-purpose jailbreak detector that the authors claim achieves clearly leading performance; Agent Alignment Checks inspects the agent's chain of thought to detect prompt injection and goal deviation, and remains experimental; CodeShield is a fast, scalable online static analysis engine for blocking unsafe or dangerous code generated by coding agents. The framework also provides customizable scanners, and developers can update guardrails using regular expressions or LLM prompts.

Read originalarxiv.org