PrismGuard brings stateful runtime protection to tool-using agents
Tool-using AI agents often struggle with safety monitors that drop early constraints or run too slowly.
2 min read, Sunday, 6 December

Tool-using agents execute complex multi-step workflows across varying risk levels, but existing safety monitors often struggle with context handling. Traditional monitors typically couple context management directly with generating a final verdict. When transcripts grow too long or undergo truncation, early constraints are dropped, leading to false alarms. Meanwhile, slow autoregressive decoding — where the model generates text token by token — often hardcodes a single rigid blocking policy.
Key facts
- Paper Title
- Signals, Not Verdicts: Stateful Runtime Protection for Tool-Using Agents
- Authors
- Tiancheng Zhu and 12 other authors
- F1 Score (Max)
- 91.02%
- F1 Improvement on STAC Attacks
- up to 10.60 F1 points
- FPR Reduction
- up to 22.95 percentage points
- Mean Guard Wait Time
- 138.7 ms
- AgentDojo Attack Success
- Qwen3.6 (Unprotected): 36.58%
- PrismGuard Protected: 8.26%
- AgentDyn Attack Success
- Qwen3.6 (Unprotected): 36.36%
- PrismGuard Protected: 15.19%
| Metric | Qwen3.6 (Unprotected) | PrismGuard Protected |
|---|---|---|
| AgentDojo Attack Success | 36.58% | 8.26% |
| AgentDyn Attack Success | 36.36% | 15.19% |
Introducing PrismGuard
To address these limitations, researchers have introduced PrismGuard, a runtime protection framework built around structured risk signals rather than monolithic verdicts. Instead of relying on slow text generation, the system separates state tracking from safety evaluation.

A component called the State Tracker incrementally summarizes confirmed agent history into two isolated, verdict-free fields. These are Task Intent, which tracks user goals and restrictions, and Execution Environment, which monitors action progress and source-tagged observations while keeping pending tool arguments literal.
Signal Evaluation and Performance
A question-conditioned Signal Guard reads this structured state, the pending tool call, and typed safety questions in a single forward pass. It scores all legal answer options in parallel with zero decoded tokens. Deterministic rules then combine these signals, allowing system operators to tune blocking strictness or add new questions for unseen domains without retraining the underlying model.
Across four offline action-safety benchmarks, PrismGuard reaches up to 91.02% F1 score and outperforms baseline methods by up to 10.60 F1 points on multi-step STAC attacks. Furthermore, generative state compression cuts false-positive rates on every tested benchmark by up to 22.95 percentage points compared to fixed truncation methods.
In closed-loop deployments, the frozen guard significantly reduces attack success rates while maintaining fast response times. It achieves a mean guard wait time of 138.7 milliseconds, making it significantly faster than standard baseline approaches.
Source: Original announcement
Worth a read?



Comments