Research & Analysis · AI security · 7 min read
Before You Give an AI Agent Permission to Act
An AI system that answers a question can mislead you. An AI system that can open a ticket, change a configuration, retrieve private records, or send a message can do something considerably more expensive. The distinction isn't philosophical. It's an access-control decision, and the people approving the deployment need to understand exactly what authority they're handing over.
I'm interested in the point where a useful assistant becomes an operator. Once a model can call tools, its errors and manipulated instructions can cross from generated text into systems that other people depend on. NIST's AI Risk Management Framework addresses risks across the design, deployment, use, and evaluation of AI systems (Tabassi, 2023). Its generative-AI profile extends that discussion to risks particular to these technologies (Autio et al., 2024). Neither publication makes an autonomous system trustworthy merely because someone has completed a questionnaire. The real question is what the system can do when its judgment is wrong.
Map the authority before you admire the demonstration
I would begin with a blunt inventory of capabilities. Can the agent read data, modify it, delete it, or transmit it? Can it change permissions, run code, approve payments, contact customers, or trigger an operational workflow? Which credentials does it use? Which systems trust those credentials? Who can withdraw them, and how quickly? The answer should be specific enough to survive an engineer asking to see the actual configuration.
This is familiar territory in security architecture. NIST's zero-trust guidance centers access decisions on resources and explicitly avoids granting implicit trust because of network location or ownership (Rose et al., 2020). An AI agent deserves no special exemption from that logic. It should receive the minimum authority required for a defined task, and that authority should be constrained by the action, resource, context, and duration. If an agent only needs to summarize an incident ticket, it does not need permission to close the ticket or change the firewall.
An especially bad design gives an agent a broad service account because integrating fine-grained permissions would delay launch. The agent may appear to perform one harmless workflow, but its credential can reach far beyond the visible interface. That is not an intelligence problem. It's an ordinary privilege problem with a novel and unpredictable decision-maker sitting in front of it.
Instructions are not a security boundary
A system prompt can tell a model not to reveal secrets or perform unauthorized actions. That instruction may be useful as part of the application design, but it is not equivalent to an enforcement mechanism. A model consumes instructions and content in forms that can be difficult to separate perfectly. An attacker may place hostile directions in a retrieved document, web page, repository comment, or other lower-trust material the agent is expected to read. The danger is that content intended as evidence gets treated as authority.
NIST's generative-AI profile identifies risks associated with generative systems and encourages risk management throughout their lifecycle (Autio et al., 2024). The Secure Software Development Framework supplies a complementary discipline: build security into software design, development, and maintenance rather than attaching it after deployment (Souppaya et al., 2022). My operational translation is straightforward: assume the model can be persuaded to request an action it should not perform, then make sure the tool refuses that action anyway.
A read-only document summarizer should have read-only access enforced by the document service. An agent allowed to draft a customer email should not automatically be allowed to send it. A deployment assistant may prepare a change, but production execution can require a separate identity, policy check, and approval. These boundaries belong in the systems performing the actions, not only in prose addressed to the model.
Human approval is useful only if a human can evaluate it
"Human in the loop" sounds reassuring until you examine what the person is being asked to approve. If the interface displays a vague summary and a green button, the human may be approving a set of actions they cannot inspect. If the system asks for hundreds of approvals each day, people will eventually click through them. Oversight becomes ceremonial when the operator lacks the time, evidence, or authority to intervene.
The AI RMF emphasizes governance, mapping context, measuring risk, and managing it throughout the lifecycle (Tabassi, 2023). I would translate those functions into a practical approval design. Show the intended action, the target resource, the specific change, the reason for it, the evidence the agent relied on, and the consequences of denial or delay. For high-impact actions, provide a reversible staging step or a clear rollback plan. For actions that cannot be reversed, require a higher standard of review.
Approval thresholds should follow consequence, not novelty. An agent renaming an internal draft document does not need the same scrutiny as one revoking employee access or transferring sensitive information to an external service. Conversely, a supposedly routine action may be high impact when performed thousands of times. A small permission applied at scale can become a very large risk.
Make the evidence reconstructable
When an agent makes a consequential decision, I want enough evidence to reconstruct what it was asked to do, what information it consumed, which tool it invoked, what parameters it sent, what policy allowed the action, and what the external system actually did. A chat transcript alone may not capture all of that. The tool call and the resulting state change matter more than a polished explanation generated after the fact.
NIST SP 800-53 addresses access control, audit and accountability, configuration management, system integrity, and related control families (Joint Task Force, 2020). Those are useful foundations for AI-enabled workflows because the operating environment still needs authorization, logs, integrity checks, and incident procedures. I would design the evidence trail so investigators can distinguish an agent's proposed action from a successful action. That difference becomes essential when the system claims it completed a task that failed halfway through.
I would also decide what not to log. A complete prompt history may contain confidential business material, private customer records, or authentication artifacts. Logging everything without considering access and retention creates a second exposure. The objective is accountable operation with proportionate data collection and protection, not an indiscriminate archive of everything the agent ever saw.
Test the failure paths, not only the happy path
Most demonstrations show an agent performing the task it was built to perform. That's useful, but it doesn't establish the safety of the boundaries. I would ask what happens when a document contains malicious instructions, when a tool returns an unexpected response, when the user lacks permission, when the agent retries a failed transaction, or when an approval arrives after the underlying data has changed. These are not exotic scenarios. They're ordinary software and security failure modes amplified by a system that can choose its next action.
The SSDF recommends practices that address vulnerabilities and their root causes across the software lifecycle (Souppaya et al., 2022). For an agentic application, I would include tests for permission denial, tool-input validation, idempotency where appropriate, transaction limits, and safe recovery from partial failure. I would also test whether a compromised document or lower-trust data source can cause the agent to request an action outside its legitimate workflow. A blocked request is a successful control, even if the model's explanation sounds perfectly convinced.
Risk ownership must survive deployment. Somebody should be responsible for changing permissions when the workflow expands, reviewing recurring exceptions, responding to suspicious tool use, and disabling the agent when necessary. NIST CSF 2.0 makes governance a distinct function for a reason: technical controls do not decide who is accountable for accepting enterprise risk (Pascoe et al., 2024).
Give the operator a real stop button
A useful AI system should be stoppable without a scavenger hunt through cloud consoles and undocumented integrations. I would want a defined way to suspend its credentials, halt queued actions, revoke outstanding sessions where possible, and identify which transactions may already have completed. The team should know whether stopping the interface also stops background jobs. If it doesn't, the emergency procedure needs to say so.
Recovery deserves the same attention. If the agent changed access rules, edited records, or triggered external workflows, turning it off does not undo those changes. The organization needs to know what can be rolled back, what must be reconciled manually, and which downstream parties may have received information. Incident-response guidance applies here as much as it does to other software-dependent business processes (Nelson et al., 2025).
The point isn't to keep AI out of production. It's to let useful systems do useful work without silently converting convenience into unreviewable authority. A system that saves hours but cannot explain or constrain what it changes is offering a trade the organization may not understand.
What I would approve first
Before authorizing a consequential agent, I'd want a clear resource-and-permission map, explicit tool-side enforcement, proportionate approval thresholds, a usable evidence trail, failure-path testing, and a documented stop-and-recovery procedure. Those are ordinary engineering expectations. AI doesn't make them obsolete; it makes their absence harder to excuse.
If you're putting agents into real workflows and need to decide where autonomy should stop, I can help turn that question into enforceable controls and an operating model your team can defend. Let's discuss your AI deployment.
References
- Autio, C., Schwartz, R., Dunietz, J., Jain, S., Stanley, M., Tabassi, E., Hall, P., & Roberts, K. (2024). Artificial intelligence risk management framework: Generative artificial intelligence profile (NIST AI 600-1). National Institute of Standards and Technology. https://doi.org/10.6028/NIST.AI.600-1
- Joint Task Force. (2020). Security and privacy controls for information systems and organizations (NIST Special Publication 800-53, Rev. 5). National Institute of Standards and Technology. https://doi.org/10.6028/NIST.SP.800-53r5
- Nelson, A., Rekhi, S., Souppaya, M., & Scarfone, K. (2025). Incident response recommendations and considerations for cybersecurity risk management: A CSF 2.0 community profile (NIST Special Publication 800-61, Rev. 3). National Institute of Standards and Technology. https://doi.org/10.6028/NIST.SP.800-61r3
- Pascoe, C., Quinn, S., & Scarfone, K. (2024). The NIST Cybersecurity Framework (CSF) 2.0 (NIST CSWP 29). National Institute of Standards and Technology. https://doi.org/10.6028/NIST.CSWP.29
- Rose, S., Borchert, O., Mitchell, S., & Connelly, S. (2020). Zero trust architecture (NIST Special Publication 800-207). National Institute of Standards and Technology. https://doi.org/10.6028/NIST.SP.800-207
- Souppaya, M., Scarfone, K., & Dodson, D. (2022). Secure software development framework (SSDF) version 1.1: Recommendations for mitigating the risk of software vulnerabilities (NIST Special Publication 800-218). National Institute of Standards and Technology. https://doi.org/10.6028/NIST.SP.800-218
- Tabassi, E. (2023). Artificial intelligence risk management framework (AI RMF 1.0) (NIST AI 100-1). National Institute of Standards and Technology. https://doi.org/10.6028/NIST.AI.100-1