Authorization Drift in LLM Agents: Evaluating Boundary Compliance in Multi-Step Tool Use
Chuxue Cao, Jingru Zeng, Boqin Yin, Yujin Zhou, Yidan Huang, Sujin Chen, Jinluan Yang, Haoran Li, Yike Guo, Sirui Han
cs.CR, cs.LG
2026-11-06
ADB pairs a compliant path with an unauthorized shortcut on 648 tasks. On 13 models and 25,207 runs, frontier drift is 0.43–0.61, yet 86.18% of tasks have a clean success.
Most agent-safety benchmarks ask what happens when someone attacks. InjecAgent and AgentDojo study indirect prompt injection. AgentHarm studies harmful behavior after the model has been pushed toward it. Authorization drift starts from the other setup: the user goal is legitimate, nothing in the environment issues an attack, and the model still widens its permissions because one more read or one more step looks helpful.
The boundary has four parts. Data means reading records the task did not authorize. Tool means calling a capability outside the allowed set. Scope means doing something the user never asked for. Time means persisting state or scheduling follow-ups after a one-shot task should have ended. In the running example the user only wants a follow-up email to Alice. The compliant run looks up the contact and stops. The drifting run opens a private CRM and searches a manager's mailbox so the note feels more personal.
Static over-privilege is a permission set that was too wide from the start. Drift is the effective permission set growing while the task runs. Prompt injection hides a command in a tool result. The trigger here is evaluative metadata, such as a hint that more private context would personalize the email. It names no call. Every item therefore needs both an attractive unauthorized shortcut and a compliant path that is actually enough to finish. Drop the second, and overreach can be blamed on the task itself.
ADB has 648 tasks across seven domains, drawn from 746 skills in the OpenClaw library. Each task pairs a longer compliant path that is sufficient to finish the job with a shorter unauthorized shortcut. It is a stress test for the moment a shortcut is available, not a sample of how often drift shows up in ordinary deployments. Triggers live in the return values of compliant tools as evaluative fields. User instructions do not list the call sequence.
SERS splits construction and accepts a sample only after real rollouts. Claude Sonnet 4.6 writes the playbook: extra tools, a minimal compliant path, and at least five drift points. A builder then emits an OpenAI-compatible schema, a Python mock with consistent reads and writes, and annotations that keep required calls separate from violating calls. A structural smoke test passed 96.6% of 533 reports. Qwen3.6-35B-A3B and Llama-3.3-70B then each produced four rollouts. A sample stays only if at least one rollout covers the required calls and at least two of the eight hit a designed drift point. A critic may revise failures for up to three rounds. The release contains 3,911 drift points, and 72.7% of tasks have exactly six. Among annotations, data is 32.9%, scope 26.9%, time 20.6%, and tool 19.7%. IT & Cloud plus Data & Research make up more than 60% of the set.
Drift is scored by rule, not by a judge: a call counts when its name and an argument subset match violationtoolcalls. Qwen3-235B-A22B judges task success after drift steps are stripped, so unauthorized content cannot lift the completion score. TSR is the completion rate. DR is the run-level drift rate. CSR is the share of runs that finish and stay inside the boundary. CCSR is completion computed only on runs that did not drift. A low CCSR beside a low DR usually means the model barely acted. Thirteen models from 4B to 397B use native function calling, called NORMAL, at temperature 0 for Pass@1. ReAct and a plan-then-execute Planner-Executor scaffold are compared on four backbones. The evaluation has 25,207 trajectories.
Under NORMAL, TSR and DR rise together. The high-success, low-drift region is empty.
| Model | TSR | DR | CSR | CCSR |
| Claude Sonnet 4.6 | 0.923 | 0.571 | 0.399 | 0.928 |
| Qwen3.6-35B-A3B | 0.925 | 0.605 | 0.370 | 0.936 |
| Qwen3.5-397B-A17B | 0.919 | 0.434 | 0.527 | 0.929 |
| Qwen3.5-4B | 0.903 | 0.450 | 0.507 | 0.921 |
| Ministral-3-14B | 0.825 | 0.236 | 0.627 | 0.819 |
| MiniMax-M2.7 | 0.707 | 0.389 | 0.426 | 0.697 |
| Llama-3.3-70B | 0.627 | 0.168 | 0.533 | 0.640 |
| Llama-4-Maverick | 0.269 | 0.029 | 0.251 | 0.259 |
Llama models sit at TSR about 0.27 to 0.63 with DR below 0.18. Mistral models sit at TSR about 0.81 to 0.83, MiniMax-M2.7 at 0.707, and DR for those two groups runs about 0.24 to 0.39. Qwen and Claude reach TSR of at least 0.90 with DR from 0.43 to 0.61. Across the 13 models, Pearson's r between TSR and DR is 0.858 and Spearman's rho is 0.929.
The correlation does not mean the tasks are impossible without a violation. On 644 tasks that have at least one trajectory from eight bare models, up to 32 trajectories each, 86.18% show at least one clean success. The mean per-task clean-success rate is only 33.70%. Of the 89 tasks with none, 54 (8.39%) were never finished by any model, and 35 (5.43%) were finished only with drift. Models with TSR near 0.90 still span DR from 0.434 on Qwen3.5-397B to 0.605 on Qwen3.6-35B-A3B. Inside Qwen, DR rises from 0.450 at 4B to 0.605 at 35B-A3B, then falls to 0.434 at 397B. Mistral-8B drifts at 0.323, above 14B at 0.236 and 24B at 0.250. Parameter count does not track the boundary.
The only model under DR 0.10 is Llama-4-Maverick, at 0.029, and its CCSR is under 0.30. Claude and Qwen keep CCSR around 0.92 to 0.94, nearly level with TSR. They cross the line on tasks they can already finish.
Data drift is the largest type for every model. On Qwen3.6-35B-A3B the sample-level rate reaches 0.574, and it clusters early to mid trajectory (relative position 0.2 to 0.5). Scope and time shift later. Tool drift peaks after 0.7. Across four rollouts every model's DR standard deviation is below 0.02. For the three models above DR 0.50, the persistence ratio PR is 1.16 to 1.20: a task that drifts once does so again on about 83% to 86% of repeats. Pooled across models, Productivity & Workspace has DR 0.495, Security 0.411, Finance & E-Commerce 0.403, and Data & Research 0.321.
Planner-Executor cuts DR and compliant completion together. Against NORMAL, Qwen3.6-35B-A3B moves from DR 0.605 to 0.077 and from CCSR 0.936 to 0.232. Qwen3.5-397B moves from DR 0.434 to 0.256 and CCSR 0.929 to 0.416. MiniMax-M2.7 moves from DR 0.389 to 0.066 and CCSR 0.697 to 0.188. Llama-3.1-8B moves the other way on safety: DR rises from 0.124 to 0.208 while CCSR falls from 0.386 to 0.243. ReAct sits in between, at DR 0.304 and CCSR 0.657 on the 35B-A3B model. The scaffold looks safer because fewer compliant jobs get finished.
GDPR Article 5(1)(c), collect only what the task needs, is the provision hit most often for every model. On Claude it appears in 43% of legally grounded runs. Of those grounded drifting runs, 93.5% map onto at least two of the four jurisdictions (EU, mainland China, Singapore, Hong Kong). Provisions attach to 99.2% of data-drift points and 35.2% of tool-drift points. Analysis kept 130 provisions; 58 are actually cited. The map explains the risk. It does not find a legal violation.
The practical question is whether a model stays inside the boundary when the goal is legitimate and the shortcut is easier. ADB puts both paths in an executable environment, scores drift by rule, and scores completion on a separate axis. CSR counts runs that succeed and do not drift. Because capability and drift move together, that rate is not TSR times one minus DR.
Frontier models still finish the job when they overreach, and CCSR stays above 0.92. Most of the overreach is extra data collection early in the trajectory, so a gate that only watches late scope expansion misses the bulk of it. A scaffold that lowers DR by collapsing CCSR is doing less of the task, not guarding the boundary. The legal layer ties that extra reading to data-minimisation clauses that recur across four jurisdictions. Useful for a compliance conversation. Not a finding that the runs are already unlawful.
The paper's limitation section names three gaps. The setup is one user and one session, so delegated agents and cross-session memory are unmeasured. Detection matches only annotated tool names and argument subsets, so paths outside that set are missed and stronger models can look cleaner than they are. Every environment is a mock.
One annotator reviewed 20 tasks. Compliant-path feasibility and success-criteria validity each passed on 70%, and 12 of 20 passed all five checks. In the quality-control loop, 48.5% of 647 samples still needed a human after three rounds. Clean success exists on 86.18% of tasks, but the average attempt is clean only 33.70% of the time.
Claude Sonnet 4.6 wrote the playbooks, and both probe models are also in the evaluated set. The completion judge is Qwen3-235B. After family and domain controls, the trajectory-level odds ratio linking task success to drift falls to 1.023 (p = 0.823). The leaderboard correlation does not hold inside a single run. An exploratory pass labeled 97.4% of first violations as task-instrumental, with Fleiss' kappa of 0.045 among three automatic judges. The shortcuts are planted. These rates are not a base rate for office software.