GuardRail: Runtime Action Authorization and Behavioral Safety for Agentic AI Systems

LLM agents no longer only produce text: they call APIs, query databases, send messages, and initiate payments. The safety mechanisms deployed around them, however, still operate mainly on text. They screen the prompt going in and the response coming out, while the agent's plan, the ordered sequence of tool calls it is about to execute, runs unchecked. That gap is exploitable: instructions planted in a web page, email, or tool result can steer the plan toward actions the user never intended, and an agent can alter an action after it has been approved. We present GuardRail, a runtime action-authorization and behavioral safety layer that sits between an agent and its tools and decides, before execution, whether each proposed action may run. GuardRail combines (i) a plan validation gate that checks every action against a trusted agent registry and four deterministic policy checks, issuing APPROVE, APPROVE_WITH_CONDITIONS, ESCALATE_TO_HUMAN, or BLOCK; (ii) a semantic risk-analysis layer whose signals can raise caution but can never override a deterministic refusal; (iii) forward taint tracking over multi-step plans, with detectors for seven multi-step attack chains; (iv) an Action Passport that binds an approval to the SHA-256 hash of the exact action, re-verified at an execution gateway so a substituted action cannot execute; and (v) a tamper-evident, SHA-256 hash-chained audit log of every decision. GuardRail was built for Infosys Ignite EngNext 2026 (Problem ET-03), where it received Special Recognition, and its enforcement core was later released as the open-source package guardrail-middleware. We describe the system and a red-team benchmark of 42 adversarial scenarios across 8 attack classes, including 5 benign controls. We report the benchmark's design, protocol, and the outcomes documented during development. We do not report a headline detection rate: the project artefacts record no standardised quantitative run. The necessary next step is measurement on public benchmarks.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-23
DOI
https://doi.org/10.5281/zenodo.24466954
Primary Topic
Adversarial Robustness in Machine Learning
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

GuardRail: Runtime Action Authorization and Behavioral Safety for Agentic AI Systems

Ayush Patil, Kunal Chaudhari, Niraj Sanjay Karnawat
Zenodo (CERN European Organization for Nuclear Research)
Adversarial Robustness in Machine Learning
preprint

GuardRail: Runtime Action Authorization and Behavioral Safety for Agentic AI Systems

Ayush Patil, Kunal Chaudhari, Niraj Sanjay Karnawat
preprint en

Abstract

LLM agents no longer only produce text: they call APIs, query databases, send messages, and initiate payments. The safety mechanisms deployed around them, however, still operate mainly on text. They screen the prompt going in and the response coming out, while the agent's plan, the ordered sequence of tool calls it is about to execute, runs unchecked. That gap is exploitable: instructions planted in a web page, email, or tool result can steer the plan toward actions the user never intended, and an agent can alter an action after it has been approved. We present GuardRail, a runtime action-authorization and behavioral safety layer that sits between an agent and its tools and decides, before execution, whether each proposed action may run. GuardRail combines (i) a plan validation gate that checks every action against a trusted agent registry and four deterministic policy checks, issuing APPROVE, APPROVE_WITH_CONDITIONS, ESCALATE_TO_HUMAN, or BLOCK; (ii) a semantic risk-analysis layer whose signals can raise caution but can never override a deterministic refusal; (iii) forward taint tracking over multi-step plans, with detectors for seven multi-step attack chains; (iv) an Action Passport that binds an approval to the SHA-256 hash of the exact action, re-verified at an execution gateway so a substituted action cannot execute; and (v) a tamper-evident, SHA-256 hash-chained audit log of every decision. GuardRail was built for Infosys Ignite EngNext 2026 (Problem ET-03), where it received Special Recognition, and its enforcement core was later released as the open-source package guardrail-middleware. We describe the system and a red-team benchmark of 42 adversarial scenarios across 8 attack classes, including 5 benign controls. We report the benchmark's design, protocol, and the outcomes documented during development. We do not report a headline detection rate: the project artefacts record no standardised quantitative run. The necessary next step is measurement on public benchmarks.

Zenodo (CERN European Organization for Nuclear Research)
Adversarial Robustness in Machine Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon