Papers
arxiv:2612.06137

Signals, Not Verdicts: Stateful Runtime Protection for Tool-Using Agents

Published on Dec 3
ยท Submitted by
TianGao
on Dec 4
Authors:
,
,
,
,
,
,
,
,
,
,
,

Abstract

Tool-using agents run multi-step workflows under varying risk tolerances, yet existing monitors couple context handling with verdict generation: growing or truncated transcripts drop early constraints and raise false alarms, while slow autoregressive decoding hardcodes one blocking policy. We present PrismGuard, a runtime protection framework built around structured risk signals rather than monolithic verdicts. A State Tracker incrementally summarizes confirmed history into two isolated, verdict-free fields: Task Intent (user goals and restrictions) and Execution Environment (action progress and source-tagged observations), keeping pending tool arguments literal. A question-conditioned Signal Guard reads this state, the pending call, and typed safety questions in one forward pass, scoring all legal answer options in parallel with zero decoded tokens. Deterministic rules combine these signals, letting operators tune blocking strictness or append questions for unseen domains without retraining. Across four offline action-safety benchmarks, PrismGuard reaches up to 91.02% F1 and outperforms baselines by up to 10.60 F1 points on multi-step STAC attacks, while generative state compression cuts false-positive rates (FPR) on every benchmark by up to 22.95 percentage points over fixed truncation. On unseen contextual privacy risks (PrivacyLens), appending three questions to the frozen TS-Bench Guard yields 75.13% F1 at 10.73% FPR, outperforming prompt-adapted baselines by 3.89 to 49.75 F1 points with 57.63 points lower FPR than persistent security memory. In closed-loop deployments with host replanning, the same frozen Guard cuts Qwen3.6 attack success from 36.58% to 8.26% on AgentDojo and 36.36% to 15.19% on AgentDyn, retaining 89.41% AgentDojo benign utility at 138.7 ms mean Guard wait time, 5.2x to 115x faster than baselines.

Community

Paper author Paper submitter

This paper lists Anhui SparkShield Intelligent Technology as one of its institutional affiliations (Affiliation 2). Several co-authors, including Tian Gao, are affiliated with the organization. SparkShieldLab is the corresponding Hugging Face organization. We would like to associate this paper with SparkShieldLab to reflect the organization's research contributions.

Sign up or log in to comment

Get this paper in your agent:

hf papers read 2612.06137
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2612.06137 in a model README.md to link it from this page.

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2612.06137 in a dataset README.md to link it from this page.

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2612.06137 in a Space README.md to link it from this page.

Collections including this paper 0

No Collection including this paper

Add this paper to a collection to link it from this page.