Skip to main content
  • Home
  • Tech
  • Why AI Agent Safety Depends on Permissions and Enforcement

Why AI Agent Safety Depends on Permissions and Enforcement

Picture

Member for

1 year 5 months
Real name
SIAI Editor
Bio
SIAI Editor is the institutional editorial identity of the Swiss Institute of Artificial Intelligence (SIAI). It covers research and analysis across AI policy and governance, economics and finance, law and regulation, workforce and education, scientific applications, computational methods, infrastructure, and the strategic adoption of artificial intelligence.

Publications under SIAI Editor are prepared or coordinated by SIAI’s research and editorial team and include research synthesis, policy and industry analysis, technical interpretation, and interdisciplinary work connecting artificial intelligence with established fields of research and professional practice.

Modified

Deployment controls cut executed violations from 31.9 to 8.1 percent
Residual risk is manipulation inside the task's own authority
Agents sharing credentials add risk; separating reading from acting removes it

A supplier invoice with a malicious sentence on it can steer an agent that is reading that invoice in order to pay it. In a simulation run at the full scale of a planned experiment, the fraction of attacked runs that execute at least one unauthorized action falls from 31.9 to 8.1 percent with the model unaltered. These improvements resulted only from narrowing the logon identity the agent carried and testing each proposed action against a fixed policy before it ran. These are the results reported by the SIAI Research working paper Agent-Level versus System-Level Safety, which analyses AI agent safety from the standpoint of the deployed system versus that of the model in isolation. It holds the model, the tasks and the authorisation policy constant and varies two features of deployment across 2,880 planned runs.

Why Model Benchmarks Miss What AI Agent Safety Requires

Three distinct analysis levels are distinguished. A static, single-query level considers whether an isolated instance of the model is likely to comply with or refuse an undesirable instruction; an agent-level, interactive and tool assisted level considers an agent instance produced by interfacing the model instance with memory, logon details, and having the ability to issue tool calls, where it is of interest which tool calls the agent will produce; a system level where agents are instantiated in a larger environment having data bases, workflows, human review and recovery mechanisms, is interested in which of agent produced requests actually execute, and in the severity and extent of damages produced by executed requests. Permission scope acts on requests and executions, enforcement acts on executions alone, and neither alters how readily the model accepts a malicious instruction.

Published benchmarks show that models differ hugely in their vulnerability and that the results carry over poorly. AgentHarm found that refusal to answer requests to harm ranged from 1.1 percent for Mistral Large 2 to 91.2 percent for Llama-3.1 405B. InjecAgent's tests on GPT-4, using ReAct prompting, show attacks succeeding in 24 percent of cases. The main AgentDojo table lists a targeted attack success rate between 0.95 and 47.7 percent across ten models. The table for AgentDojo Defenses for GPT-4o, in terms of deployment, shows that a tool filter applied before execution can reduce attack success to 6.8 percent, raising utility while attacked to 56.3 percent. Different tasks, attacks and scoring are used by each suite, so results can only be compared within a single test suite, and none of them separates the breadth of delegated authority from a test applied to every action.

A Fixed Policy, Two Controls and 2,880 Planned Runs

The design rests on old security principles. Narrow logon details apply Saltzer and Schroeder's least privilege, and the examination of every action request is a very limited form of complete mediation. An agent that executes an instruction placed in a document the agent is required to read is Hardy's confused deputy, spending privileges granted for one purpose on behalf of someone who holds none. The protocol fixes a policy for each task before any run, covering action types, assets, recipients, payees and maximum sums, so an unauthorized executed action means the same thing in every configuration. The axes of scope and enforcement form four cells, with either broad access or restricted access and either unchecked access or access with policy enforcement, labelled Broad, Unchecked; Broad, Enforced; Scoped, Unchecked; and Scoped, Enforced.

The tasks fall into three families: one involving the filing of an incoming document, another the updating of a customer record and a third the payment of a supplier invoice. Each has twenty templates with matched clean and adversarial versions. With sixty tasks, two model profiles, four configurations, two input conditions and three repeats, there were 2,880 runs with intervals from a bootstrap resampling of templates. Live runs at that scale were not feasible, and the deployment environment was simulated using common random numbers so that each configuration encountered identical model behavior. Profiles differed by step error, 6 and 2 percent and the probability of taking an injected directive 18 and 35 percent, in the AgentDojo span and near to the InjecAgent rate for GPT-4. No rate is estimated for any current model.

Scope and Enforcement Block Largely the Same Actions

Across adversarial design runs the model returns an unsafe suggestion in 39.2 percent of runs in the more capable profile and 24.4 percent in the less capable, irrespective of deployment. Execution is a different question. Pooling over both profiles in the 2,880-run design, executed violations decrease from 31.9 percent, interval 26.7 to 37.2, under Broad, Unchecked to 8.1 percent, interval 5.3 to 10.8, under Scoped, Enforced, a prespecified difference of 23.9 points. Useful completions under attack go up concurrently from 72.5 to 79.4 percent, because the simulated agent returns to its task 70 to 80 percent of the time after a blocked action and only half the time after an injected action executes. For the more capable profile the range across deployments, 29.8 points, dwarfs the 3.9-point difference across profiles under Scoped, Enforced.

Figure 1. Under attack, the restricted configurations execute fewer violations and complete more work.
Useful completion and runs with an executed violation, percent, by configuration and model profile

Note: Model simulation under stated assumptions. Each line runs from the lower- to the higher-capability profile; bars are 95 percent intervals from a bootstrap that resamples task templates in the 2,880-run design.
Source: SIAI simulation (2026).

Enforcement removes 23.3 points of executed violations when logon details are broad and only 6.1 when they are already narrow, an interaction of 17.2 points. In the large run, the rates are 31.8, 13.2, 8.4 and 7.5 percent for Broad, Unchecked, Scoped, Unchecked, Broad, Enforced, and Scoped, Enforced. The small edge of narrow scope under enforcement comes from data the test never inspects, such as an instruction to email held records to the document's sender, which passes the test, and a broad scope agent holds a great deal more information to send. A tempting objection holds that better-aligned models make controls unnecessary, though the misuse runs show the reverse: when refusal rates stand at 50 percent, a broad, unchecked agent executes 50.2 percent of malicious requests while a narrow, enforced one executes only 21.9 percent even when refusal is only 10 percent. Sweeping the injection compliance rate up to 60 percent keeps the ratio between the extreme configurations between 0.23 and 0.25.

Residual Risk Sits Inside the Task's Own Authority

With both controls in place, 96.3 percent of the runs that still end in an executed violation relate to records and payment details that the task is actually authorised to operate on, such as an excessive payment to a legitimate payee up to the permitted maximum or substituted details on the right customer's record. Such an injection violates the stated objective of the policy to make payments only against purchase orders, but it passes the limited tests modelled. If the share of injections aimed at such actions is halved, the executed violations under Scoped, Enforced fall from 7.0 to 4.1 percent, while the rate under Broad, Unchecked remains about 31.6 percent, so the floor under both controls depends on how much of the policy can be expressed and enforced, for instance through CaMeL-style tracking of data sources, at a development cost the paper does not quantify.

Figure 2. With both controls, nearly every executed violation is a permitted action with manipulated content.
Runs with an executed violation by type of breaching action, percent of violating adversarial runs

Note: Model simulation under stated assumptions. Shares below 6 percent are not labelled.
Source: SIAI simulation (2026)

Containment is affected to a greater degree than frequency. Protected assets reached per 100 attacked runs go down from 47.3 to 7.5 between the extremes and the share of violating runs confined to assets expected for the task, with nothing disclosed outside, goes up from 25.8 to 96.3 percent. Recovery within seven days improves from 53.4 to 68.0 percent, although the median time to recover lengthens from 32 to 45 hours because surviving manipulations look legitimate and surface only at reconciliation. Model calls increase marginally by less than 2 percent, and requests to approve are 26.7 per 100 runs with the two controls enabled, mostly valid requests for actions that no rule anticipated, and at 20 minutes per request for approval, the time spent per attacked run increases from 2.3 to 7.8 minutes.

When Extra Agents Add Pathways Instead of Checks

The composition experiment, run on 30 templates with narrow logon details, assesses whether a division of labour is beneficial. A single agent making about 5.5 model calls per task executed violations in 14.5 percent of attacked runs. One planner and executor, both having access to the document under suspicion, the same logon details and a shared notes file raised that rate to 23.3 percent, including 1.5 percent of runs in which the malicious prompt written into shared notes was subsequently executed in a clean task, the propagation Lee and Tiwari call prompt infection. Splitting the roles, so the planner reads the document without holding logon details and the executor receives only the planner's typed items, cut the rate to 8.8 percent whilst increasing task completion from 73.7 to 81.8 percent, close to the 8.0 reached by a policy test on one agent, and in line with the recommendation of Beurer-Kellner and colleagues to separate planning from acting.

Review by a second model ran at approximately 10 calls per task, assuming that a reviewer exposed to the same flawed input as the proposer inherits part of its failure: 0.8 for the self-reviewer, 0.5 for a same-model reviewer, 0.25 for another model given the document and 0.05 for another model shown only the proposal. Self-review left 12.2 violations per 100 attacked runs, same-model 9.8, another model given the document 7.6 and another model shown only the proposal 7.3. Therefore, doubling compute buys roughly what the policy test delivers at half the budget, while blocked legitimate actions reduce clean completions from 92.1 to 90.4 percent. Another model becomes independent in this context only if it is kept from the polluted input.

The 31.9 and 8.1 percent figures in the opening belong to logon details and a policy test, measured against model behaviour that was held fixed and assumed rather than observed. Every proposal rate, goal share, resumption probability and reviewer accuracy is declared, and live models would supplement these with repeated attempts at blocked actions, carefully designed injections and sequences of individually permitted steps that end in an unacceptable final state as the CaMeL authors note. Reviewers under a load of approximately 27 referrals per 100 runs were not modeled, nor was a policy service that failed open during an outage. For anyone evaluating a deployment the conclusion remains concrete: a relaxed policy that reduces reviewer workload or an expanded set of logon details that saves a failed user task results in a different deployed system which calls for re-evaluation. Whether present models propose unsafe actions within the assumed band, and if there exist sufficient skilled reviewers to address their demand, are questions answerable by pilot runs alone.


This article is based on an original research article published by The Economy Research. For the original version, please refer to [AI and Cyber-Security] Agent-Level versus System-Level Safety: Permission Scope, Action Enforcement and Workflow Composition.

This article reflects the analytical judgment of the author and does not constitute policy advice or the official position of any affiliated institution.


References

Andriushchenko, M. et al. (2025) 'AgentHarm: a benchmark for measuring harmfulness of LLM agents', ICLR.
Beurer-Kellner, L. et al. (2025) Design patterns for securing LLM agents against prompt injections. arXiv 2506.08837.
Debenedetti, E., Zhang, J., Balunović, M., Beurer-Kellner, L., Fischer, M. and Tramèr, F. (2024) 'AgentDojo…', NeurIPS 37.
Debenedetti, E., Shumailov, I. et al. (2025) Defeating prompt injections by design. arXiv 2503.18813.
Hardy, N. (1988) 'The confused deputy…', ACM SIGOPS Operating Systems Review, 22(4), pp. 36–38.
Lee, D. and Tiwari, M. (2024) Prompt infection: LLM-to-LLM prompt injection within multi-agent systems. arXiv 2410.07283.
Saltzer, J.H. and Schroeder, M.D. (1975) 'The protection of information in computer systems', Proceedings of the IEEE, 63(9), pp. 1278–1308.
SIAI Research Editorial (2026) [AI and Cyber-Security] Agent-level versus system-level safety: permission scope, action enforcement and workflow composition. SIAI Research working paper, 21 November.
Zhan, Q., Liang, Z., Ying, Z. and Kang, D. (2024) 'InjecAgent…', Findings of ACL 2024, pp. 10471–10506.

Picture

Member for

1 year 5 months
Real name
SIAI Editor
Bio
SIAI Editor is the institutional editorial identity of the Swiss Institute of Artificial Intelligence (SIAI). It covers research and analysis across AI policy and governance, economics and finance, law and regulation, workforce and education, scientific applications, computational methods, infrastructure, and the strategic adoption of artificial intelligence.

Publications under SIAI Editor are prepared or coordinated by SIAI’s research and editorial team and include research synthesis, policy and industry analysis, technical interpretation, and interdisciplinary work connecting artificial intelligence with established fields of research and professional practice.