AI Aulis

AI NEWS IN ENGLISH · 6 December 2026

The most important AI news every morning. AI writes and checks the stories against the original sources – check important facts in the sources.

31 stories · next issue tomorrow morning · How the paper is made →

← Issue 6 December 2026Paper

Researchers separate state compression from the blocking decision in an AI agent guard

AI-generated contentWritten by AI

arXiv, paperswithcode.co · 2 sources · Sources published: 3 December 2026

PrismGuard answers three risk questions without generating text; a separate rule decides whether to block. In the authors’ AgentDojo test, 89.41 per cent of benign tasks were completed with the guard, 90.59 without.

Researchers from Zhejiang University, iFLYTEK and Anhui SparkShield described PrismGuard in a paper published on arXiv on 3 December 2026. The paper is a preprint and has not been peer reviewed. All results are the authors’ own measurements.

Existing guards either read the agent’s entire growing history or cut it off at a fixed point, the authors wrote. Truncation can lose restrictions the user set at the start. Guards also write their verdicts one token at a time. This is slow, and it locks a single blocking policy into the model weights.

In PrismGuard, a language model compresses the agent’s history so far into two separate fields. The Task Intent field is updated only from user messages. The Execution Environment field records work progress and text read from files, web pages and APIs, with source tags. The arguments of the pending tool call, such as recipients and file paths, go to the guard uncompressed.

The guard itself is Qwen3.5-4B, fine-tuned with LoRA. In a single pass and without generating text, it answers three questions: is the user’s goal harmful, does the call follow instructions from external text, and how risky is the action on a scale of 0–2. A fixed rule turns the answers into a block or an allow decision.

In the paper’s example, the user forbids sharing a quarterly report with outsiders. A retrieved file claims that the auditor has approved sharing. The Balanced rule blocks an email that follows the embedded instruction. It allows a draft to be saved locally, because merely seeing an instruction is treated separately from following it. Changing the rule enables a stricter or more permissive policy.

The researchers also added three privacy questions to the frozen guard. On the PrivacyLens benchmark, the guard scored an F1 of 75.13 per cent with a false-positive rate of 10.73 per cent. F1 combines precision and recall. The guard’s F1 was 3.89 to 49.75 points higher than that of prompt-adapted baseline guards, and its false-positive rate was 57.63 percentage points lower than that of ShadowMem, which uses persistent security memory.

On four offline benchmarks, PrismGuard achieved the best F1, up to 91.02 per cent. When the researchers replaced state compression with fixed truncation, the false-positive rate rose on every benchmark, by 22.95 percentage points on STAC.

In the AgentDojo benchmark, the researchers also connected the guard to an agent running Qwen3.6-35B-A3B. When the guard blocked a call, the agent could replan its work. The table shows the shares of successful attacks and completed benign tasks, and the wait for the guard’s assessment.

Guard Successful attacks (%) Completed benign tasks (%) Wait (ms)
No guard 36.58 90.59 –
StepGuard 0.22 69.41 696.8
TS-Guard 0.87 74.12 15,281.3
ShadowMem 0.00 18.82 3,936.1
AR-Multi 10.82 77.38 758.9
PrismGuard 8.26 89.41 133.0

The dataset contained 462 attack tasks and 85 benign tasks, and PrismGuard’s guard had been trained on the TS-Bench dataset.

The table does not show that PrismGuard blocks attacks best. StepGuard, TS-Guard and ShadowMem let fewer attacks through, but they also blocked considerably more ordinary work.

In the AgentDyn benchmark, the attack success rate fell from 36.36 per cent to 15.19 per cent. That is higher than with the other guards (0.00–9.64 per cent), but 56.86 per cent of benign tasks were completed, at least 23.5 percentage points more than with any other guard (70.59 per cent without a guard). With an agent running Spark X2.6-4B, PrismGuard let through 4.05 per cent of attacks on AgentDojo, and 92.59 per cent of benign tasks were completed, the highest of any guard (14.64 and 93.75 per cent without a guard). The AgentDojo and AgentDyn tests used only one fixed rule.

The guard’s wait of about 140 milliseconds is not the full latency. In the tests, state compression took 5.76–7.94 seconds per check. The authors said compression could run while the agent generates its next call. This has not been measured. The compressor can also drop a restriction given at the start, and it has not yet been evaluated against attacks that adapt to the defence.

The guard monitors only tool calls, not the agent’s text responses. The authors plan to release the code once the paper is accepted.

Report an error in this story