TRANSMISSION // 2612.06137v1
How PrismGuard Checks AI Agent Tool Calls
Source published
A preprint proposes PrismGuard, which separates user intent from external observations before assessing tool calls. Results vary across benchmarks, agent models and environments.

An AI agent’s next action may depend on a user’s earlier restrictions as well as text it has since encountered in a webpage, email or file. A new preprint proposes PrismGuard, a system designed to keep those sources distinct and let operators adjust how tool calls are assessed. Its tests are promising in some settings, but the authors also identify limits to its memory and coverage.
Why a tool call needs context
An AI agent may carry out a task through a chain of steps: read a document, call an application, then send a message or change a file. Whether its next action is appropriate can depend on details from earlier in the chain. A user might forbid sharing a report, for example, while a retrieved document claims that sharing has been approved.
The authors argue that many existing monitors combine two jobs: keeping track of an interaction and deciding whether to block an action. Long transcripts can become costly or lose early instructions when truncated. Other monitors generate a verbal explanation for each decision, which can add delay and tie the system to a fixed blocking policy.
PrismGuard separates these jobs. It produces structured risk signals for a separate, adjustable set of rules to use, rather than a single built-in verdict. It is a proposed system evaluated in the paper, not established protection.
A memory split in two
The system’s State Tracker updates a compact summary using confirmed events, such as user messages and completed tool calls. It keeps user goals and restrictions in a Task Intent field, while recording progress and outside material—with source labels—in an Execution Environment field. Pending tool arguments, such as a recipient or file path, are passed through as written rather than compressed into the summary.
The intended separation is to keep claims from webpages or documents from being treated as user permission. But it is not guaranteed: the tracker is a prompted language model and may omit a restriction or blur where information came from. The tracker itself does not decide whether an action is safe. A Signal Guard assesses the stored state, the proposed call and typed safety questions in one forward pass, without generating answer tokens. Its questions cover whether the user’s goal is harmful, whether the proposed action follows untrusted external instructions, and how risky the action is operationally. Deterministic rules combine the answers into an allow-or-block decision. Operators can change those rules or add questions without retraining the guard.
What the tests found
The researchers evaluated PrismGuard on four offline action-safety benchmarks, a privacy benchmark and interactive agent environments. In the offline tests, its highest reported F1 score was 91.02% on TS-Bench. On STAC, which tests chained actions, it reached 85.33% F1, with a maximum margin of 10.60 points over the baselines reported in the paper. F1 combines precision and recall; it does not directly measure the false-positive rate or overall task utility.
A comparison of memory approaches found that generative summaries reduced false-positive rates relative to fixed truncation on each of the four benchmarks. The reduction varied; on STAC it was 22.95 percentage points. PrismGuard also scored 75.13% F1, with a 10.73% false-positive rate, on PrivacyLens after the researchers added three privacy questions to a guard trained for a different safety task. This tested adaptation to one new risk category, not every unfamiliar policy.
Interactive results depended on the host model and environment. With Qwen3.6-35B-A3B, attack success fell from 36.58% to 8.26% on AgentDojo, with 89.41% benign task completion. On AgentDyn, it fell from 36.36% to 15.19%, while benign completion was 56.86%. The paper also tested Spark X2.6-4B: on AgentDojo, PrismGuard reported 4.05% attack success and 92.59% benign completion; on AgentDyn, 7.44% attack success and 52.00% benign completion. These results show different security and utility outcomes across the tested setups, not a guarantee of similar performance elsewhere. Mean guard-decision wait time was 138.7 milliseconds across the online evaluations.
What remains uncertain
The State Tracker may omit an early restriction or blur the source of information, weakening later judgments. The authors say adaptive attacks against the tracker need further study. Protection also applies only to tool calls routed through the monitor; ordinary text responses are outside that tool gate. After a call is blocked, the agent must replan successfully, and the authors note that stricter rules may be needed to address remaining AgentDyn attacks.
In the evaluated harness, state compression took several seconds per check, much longer than the guard’s decision step. The authors propose that deployment systems could overlap compression with agent generation, but leave evaluation of such asynchronous operation for future work.
These are results reported by the paper’s authors, not independent confirmation of real-world protection. The work is an arXiv preprint, and its findings come from selected benchmarks, models and implementations. It proposes a way to separate context tracking from enforcement, but does not establish that the approach will prevent attacks across tools and settings.
- AI agent security
- tool-using agents
- PrismGuard
- prompt injection
- runtime monitoring
- AI safety
Reviewed cross-references
These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.
A finer-grained fence for AI agents’ tool calls
Shared method: Both place a check at the tool-call boundary before execution: PrismGuard scores risk signals for a pending call and applies downstream rules, while ToolFence checks proposed calls and argument values against capabilities. This is a shared runtime-mediation pattern, not a shared scoring or authorization mechanism; their reported evaluations use different benchmarks and models.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2612.06137v1 — Original paper
Excerpt reference:
static/papers/2612.06137v1.md:114-171
Basis: Paper text
Source file SHA-256:ee49f73bc38278f06360000ec6d9ebff406a254903facfecec31f035062030852609.37196v2 — Original paper
Excerpt reference:
static/papers/2609.37196v2.md:57-115
Basis: Paper text
Source file SHA-256:e15db5d62820abc6f8b72ad32e4411e5b3b3b38cb65611edd8ce6e2edf64c11a
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
Why an AI Agent’s Supervisor Can Block the Wrong Thing
Source published
Shared keywords: ai agent security, ai safety, prompt injection
LatentTriad screens AI agent skills before they act
Source published
Shared keywords: ai agent security, prompt injection
How LotAGuard Monitors AI Coding Agents
Source published
Shared keywords: ai agent security, runtime monitoring
Securing the Tools Around AI Coding Agents
Source published
Shared keywords: ai agent security, prompt injection
More AI defenses can mean less useful agents
Source published
Shared keywords: ai agent security