# PolicySniff: Inferring Agent Policy States through Shared-GPU Execution

DevFeed: [PolicySniff: Inferring Agent Policy States through Shared-GPU Execution](<https://devfeed.tech/articles/policysniff-inferring-agent-policy-states-through-shared-gpu-execution-133320.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.16158>)

Author: Weimin Fu, Minghao Shao, Zeng Wang, Qiying Li, Yuntao Liu, Johann Knechtel, Ozgur Sinanoglu, Muhammad Shafique, Ramesh Karri, Xiaolong Guo

Published: 2026-11-13T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [Access Control](<https://devfeed.tech/topics/access-control.md>), [Authorization](<https://devfeed.tech/topics/authorization.md>), [configuration](<https://devfeed.tech/topics/configuration.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agents](<https://devfeed.tech/tags/agents.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [execution](<https://devfeed.tech/tags/execution.md>), [experts](<https://devfeed.tech/tags/experts.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [kernels](<https://devfeed.tech/tags/kernels.md>), [layer](<https://devfeed.tech/tags/layer.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-agents](<https://devfeed.tech/tags/llm-agents.md>), [mixture-of-experts](<https://devfeed.tech/tags/mixture-of-experts.md>), [model](<https://devfeed.tech/tags/model.md>), [policy](<https://devfeed.tech/tags/policy.md>), [routing](<https://devfeed.tech/tags/routing.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [serving](<https://devfeed.tech/tags/serving.md>), [settings](<https://devfeed.tech/tags/settings.md>), [state](<https://devfeed.tech/tags/state.md>), [study](<https://devfeed.tech/tags/study.md>)

## AI overview

PolicySniff shows that a co-resident process may infer an LLM agent's approval setting from shared-GPU execution, even when prompts and responses are inaccessible. The attacker profiles the candidate settings, then times only its own GPU kernels while the agent handles a suffix identical under both settings; the policy prefix is cached before capture. In a frozen, blinded study on an eager sparse mixture-of-experts runtime, identification reached 94.17% balanced accuracy on the primary estimand. Accuracy was 88.82% when both settings made the same decision and 91.98% when decisions differed. Hardware replays attribute the signal to expert-routing temporal density and layer-and-bucket alignment. The authors caution that behavioral compliance does not ensure configuration confidentiality, and suggest measuring distinguishability on the serving runtime and enforcing authorization outside the model.

## Source excerpt

arXiv:2611.16158v1 Announce Type: new 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.