A platform-neutral control checklist for security and IT leaders, with Microsoft, AWS and Google Cloud examples, covering identity, access, data, monitoring and governance.

Reviewed by the DESSS engineering team
Key takeaways
Securing AI agents means controlling what each agent is, what it can reach, what data it sees and how its actions get recorded. So how do you secure an AI agent? Give it its own identity, grant only the tools its job requires, enforce data permissions outside the model, log every action and put a human in front of high-risk steps. Our enterprise AI consulting services help teams apply this in practice. This guide gives you the control set, with examples from major platforms.
Traditional applications follow paths that developers wrote in advance. Agents choose their next step at run time, which changes the security picture in four ways.
The OWASP Top 10 for Agentic Applications, released in December 2025, was written specifically for these systems and sits alongside OWASP's earlier work on LLM applications. MITRE ATLAS is a public knowledge base of adversary techniques against AI systems, which helps with threat modeling. For overall risk management, NIST's AI Risk Management Framework and its Generative AI Profile (NIST AI 600-1) provide structure. NIST notes that the framework is voluntary, and that AI RMF 1.0 is being revised.
| Threat | Example scenario | Main control |
|---|---|---|
| Indirect prompt injection | A support ticket contains hidden text telling the agent to export customer records | Treat content as data, restrict tools and require approval for sensitive actions |
| Excessive agency | A scheduling agent also holds rights to delete calendars and send mail | Give only the tools and scopes the task needs |
| Tool misuse | The agent uses a legitimate refund tool repeatedly because a message asked it to | Parameter checks, limits and approval thresholds |
| Data exfiltration | An agent puts confidential text into a URL or external message | Egress limits, output filtering and DLP |
| Memory or context poisoning | A planted note in long-term memory changes later decisions | Limit what can be stored, track its source and review it |
| Confused deputy | A proxy tool uses its own broad access for a user who lacks that right | Per-user authorization and audience-bound tokens |
| Supply chain of tools and connectors | A new connector version changes behavior or contains malicious code | Approved registry, version pinning and review |
The Model Context Protocol security guidance is worth reading even if you do not use MCP. It describes confused deputy problems and says MCP servers must not accept tokens that were not explicitly issued for them, a practice known as avoiding token passthrough.
Do not run agents under a person's account or a shared service account. If you do, your logs cannot separate one agent from another, and you cannot disable one without affecting the rest. Microsoft's best practices for Entra Agent ID say to provision a unique identity per agent instance for this reason.
Platforms now offer purpose-built options. Microsoft Entra Agent ID is generally available according to Microsoft's documentation, though some items, such as the admin center creation wizard, are marked preview. In Microsoft Foundry, newly created agents receive their own identity, while acting on behalf of a user is marked preview for some tools. AWS offers Amazon Bedrock AgentCore Identity, and Google Cloud offers Agent Identity based on the SPIFFE standard. Check the current status of each feature, because these products change quickly.
Never put secrets in prompts, code or configuration that a model can read. Prefer federated credentials or managed identities, which Microsoft says eliminate stored secrets, and keep client secrets to early development. Use short-lived tokens, and store any long-lived credential in a proper secrets service.
When an agent acts for a user, it should use a delegated flow so the downstream system can see both identities and enforce the user's rights. Decide clearly which actions run under the user and which under the agent. A background agent with no user present needs its own narrowly scoped permissions.
Every agent needs a named person who is accountable for it. Microsoft's guidance calls for assigning a sponsor and an owner at creation. Review these assignments when people change roles, then remove identities once an agent is retired.
If you run on Microsoft platforms, our Azure consulting team can map these controls to the services you already use.
Log enough to rebuild what happened: prompts, retrieved documents, tool calls with parameters, data accessed, approvals and final actions, each tied to the agent and user identities.
Alert on unusual tools, spikes in activity, access outside normal hours, repeated denials and attempts to reach new destinations. Review a sample of activity regularly, particularly during early rollout.
Prepare incident response before launch. Know how to disable an agent, revoke its credentials, preserve evidence, clear poisoned memory and notify the right people. Microsoft notes that disabling a blueprint blocks all of its agent identities, which is the kind of switch you want ready.
Keep an inventory listing each agent, its owner, purpose, tools, data and model. Discover what already exists too, since business teams may have built agents nobody in IT knows about.
Assign a risk tier. A read-only helper for internal documents needs less review than an agent that moves money. Require review before launch, repeat it after significant changes and set a decommissioning process that removes identities, secrets and stored memory.
| Layer | Control | What it prevents | How to verify |
|---|---|---|---|
| Identity | Unique identity with an owner | Untraceable actions and orphaned agents | Sample agents against the inventory |
| Access | Scoped tools and approvals | Excessive agency and tool misuse | Attempt out-of-scope actions in a test |
| Data | Permission-aware retrieval and DLP | Oversharing and exfiltration | Query as low-privilege test users |
| Runtime | Input and output checks, egress limits | Injection impact | Run planted-instruction tests |
| Monitoring | Complete action logs and alerts | Undetected misuse | Rebuild a sample session from logs |
| Governance | Inventory, tiering and review | Shadow agents and stale access | Audit the inventory and retirements |
Houston's mix of energy, healthcare and financial organizations raises the stakes. Energy companies must think about what an agent could reach across business and operational networks. Healthcare organizations must consider patient data in prompts, logs and memory. Financial firms need clear evidence of who approved what. We mention these sectors as regional context only, and your legal and compliance advisers should define the specific requirements.
Consider outside help when agents will touch regulated data, act on customers' behalf or use several connected systems. An independent review is also useful when agents have spread faster than your inventory. Our AI consulting services can assess the design, while cybersecurity consulting can test the controls. If you are building your own, our AI development team can build these controls in from the beginning.
Currently, you should assume not. Models read instructions and content in the same stream, so filters can reduce the risk but cannot remove it. Design as though an injection will sometimes succeed. Limit the tools available, enforce permissions outside the model, separate read from write and require approval for risky actions, so that a successful attempt can only do limited harm.
A shared service account is a poor fit, because it hides which agent did what and often grants too much. Use a dedicated identity per agent, ideally from a platform built for this purpose, or at least a dedicated workload identity. If you must use a service account for now, keep it unique, narrowly scoped, monitored and scheduled for replacement.
It means an agent holds only the tools, scopes and data needed for its current task. Apply it at several levels: which tools exist, what each may do, which records it may touch and how much it may do at once. Because agents chain actions, review the combined effect of their permissions as well as each permission alone.
Log prompts, retrieved sources, tool calls with parameters, data accessed, approvals, outputs and the agent and user identities involved. Your aim is to reconstruct a session later. Because logs may hold sensitive content, protect them with access controls and retention rules, and agree with your privacy and legal teams on what you will store and for how long.
Require approval when an action is hard to reverse, affects money, changes permissions, deletes data or sends information outside the organization. Set thresholds based on risk, then review them as confidence grows. Show the approver the real action and parameters, because a persuasive summary written by the model may be wrong or may have been manipulated.
No. It gives agents a governed identity, with features such as blueprints, sponsors and Conditional Access, which addresses an important layer. You still need scoped tools, data permissions, input and output checks, monitoring and incident response. Check Microsoft’s documentation for current availability, as some related features are marked preview, and apply the same layered thinking on other platforms.
No. NIST describes the AI Risk Management Framework as voluntary, and it provides a structure for managing risk instead of awarding any certification. OWASP and MITRE publications are similarly useful references for threats and controls. Use them to shape your program, and ask your legal and compliance teams which rules actually apply to your organization and industry.
Contact DESSS to review your agent design, permissions and monitoring before launch. We will show you where the risks sit and which controls to add first.
This article is general guidance. It is not a guarantee of security or a compliance certification.