PolicySniff: Inferring Agent Policy States through Shared-GPU Execution
Weimin Fu, Minghao Shao, Zeng Wang, Qiying Li, Yuntao Liu, Johann Knechtel, Ozgur Sinanoglu, Muhammad Shafique, Ramesh Karri, Xiaolong Guo
Abstract
LLM agents apply approval settings, such as whether to ask before a consequential tool call, through instructions in their system prompt, and operators keep these settings confidential by restricting access to prompts and responses. Audits check whether an agent obeys its setting, not whether a neighboring process can infer which setting is deployed. PolicySniff infers an agent's approval-policy state through shared-GPU execution. A co-resident attacker that knows the candidate settings and the task first profiles both settings, then times only its own GPU kernels while the agent processes the task. The policy prefix is cached before capture, so the attacker observes processing of a task suffix that is identical under both settings. On an eager sparse mixture-of-experts runtime, where each selected expert runs as separate work, a frozen and blinded study identified the deployed setting at 94.17% balanced accuracy on its primary estimand. Across all authorization conditions, accuracy was 88.82% on tasks for which both settings produce the same decision and 91.98% on tasks where they differ. Hardware replays of expert routing show that its temporal density and layer-and-bucket alignment carry the policy information. Behavioral compliance does not imply configuration confidentiality: deployments that keep their approval setting private should measure its distinguishability on the serving runtime and enforce authorization outside the model.
Create a lesson
Related papers
Tether: Verified Stateful Policy Engine for System-Level Monitoring of Agents
Shared title terminologycs.CRMeghana Aparna Sistla, Alaia Solko-Breslin, Somesh Jha et al.
ParseGap: Testing What Coding Agents Authorize and What Shells Execute
Shared title terminologycs.CRJieyu Li
Securing and Auditing Long-Horizon LLM Agents: State-Transfer Auditing and Controls in the Agent Harness
Shared title terminologycs.CRDeep Shah, Nehal Kathrotia
Agent-ZTA: A chain-Aware Zero Trust Model for Bidirectional Security-State Propagation and Runtime Containment in Multi-Agent Delegation
Shared title terminologycs.CRAsadullah Abdullah Khan, Toqeer Ali Syed
Quantifying Membership Inference Risks in Genomic Data Sharing: The Role of Attacker's Auxiliary Information
Shared title terminologycs.CRMaryam Ghasemian, Lynette Hammond Gerido, Erman Ayday
Privacy Leakage from Recurrent State in LLM Inference
Shared title terminologycs.CRWeimin Fu, Shikun Liu, Qiying Li et al.