Skip to main content
AI & Trends

What Rights Does Your AI Have? Why Agent Security Becomes the Central Problem in 2026

Not "can the AI hallucinate?" but "what rights does it have?" OWASP Agentic Top 10, EchoLeak, Entra Agent ID — and what the mid-market must do about agent permissions now.

14 min read

For three years the most important question about AI was: "Can this thing hallucinate?" A fair question — but the wrong one for 2026. The moment an agent stops merely producing text and starts doing real work — approving invoices, changing records, sending emails, calling tools — the risk shifts fundamentally. The decisive question is no longer "What does the AI say?" but: "What rights does the AI actually have?"

This is not an academic distinction. A hallucinating chatbot embarrasses you. An agent with too many rights and one manipulated instruction deletes your production database, exfiltrates customer data, or moves money. This article lays out what's behind the trend, which incidents are already documented, how the major vendors are responding — and where the hype ends and the real problem begins. Including the fair counter-position that "agent security" is just classic identity management in new clothes.

Before you read on
Does automation actually pay off for you? Take the 5-minute analysis — score, maturity level and an honest read on whether this path fits your situation. Free, report by email.
Start 5-min analysis →

The break: from "answering" to "acting"

A classic language model answers a question and is done. An agent receives a goal, plans steps, calls tools, reads and writes data, chains itself with other agents if needed — and decides autonomously what happens next. That autonomy is the productivity gain. And it is precisely the security problem.

Because an agent is three things at once that classic IT kept separate:

  • It is code that executes actions — like an application.
  • It is an identity accessing resources — like an employee.
  • It is non-deterministic and steerable through language — unlike either. An instruction embedded in a document can change its behavior.

That combination did not exist before. A script does exactly what its code says. An employee has judgment and liability. An agent has the action power of an application, the access breadth of an employee — and can be reprogrammed by a politely phrased line in an incoming email.

What OWASP says: the Agentic Top 10

In December 2025 the OWASP GenAI Security Project published the first industry-wide risk taxonomy specifically for agentic applications — the OWASP Top 10 for Agentic Applications (ASI01–ASI10). What stands out is how many of the ten categories are tied directly to rights and identity, not to hallucination:

CodeRiskCore
ASI01Agent Goal Hijackthe agent's goal is redirected (prompt injection)
ASI02Tool Misuse & Exploitationlegitimate tools turned into destructive actions
ASI03Identity & Privilege Abusemissing/borrowed identity, privilege escalation
ASI04Agentic Supply Chaincompromised tools, models, MCP servers
ASI05Unexpected Code Execution (RCE)agent runs unexpected code
ASI06Memory & Context Poisoningpoisoned memory/context
ASI07Insecure Inter-Agent Communicationunsafe agent-to-agent communication
ASI08Cascading Failureschain reaction across multiple agents
ASI09Human-Agent Trust Exploitationabuse of human↔agent trust
ASI10Rogue Agentsagent gone out of control

The common thread: the most expensive risks arise not because the model says something wrong, but because it is allowed to do something wrong. ASI03 nails it — according to OWASP, most agentic systems lack a real, governable identity; they inherit credentials in ways classic IAM was never built for. That creates an attribution gap: who actually acted — the human who started the agent, or the agent? And with whose rights?

The concrete escalation patterns

"Too many rights" sounds abstract. The documented patterns are very concrete:

  • Delegation chains pass on the full privilege set instead of only what the step needs. An agent calls a sub-agent, and the sub-agent gets not the tightly scoped "read this one file" right but the caller's entire identity.
  • Cached credentials are reused across users and sessions. The agent remembers a token and keeps using it in the context of a different user.
  • Authorization happens only at the start, not per step. At the beginning of the workflow it's checked whether the agent may act — after that it runs through. This is the classic TOCTOU problem (time-of-check vs. time-of-use): between check and use, anything can change.
  • Confused deputy: the agent has legitimate, high privileges. An attacker does not — but gets the agent to wield them on the attacker's behalf. The agent becomes the "confused deputy" exercising its power for the wrong party.

That last pattern is the core of almost every real incident. Nobody hacks the agent — they talk it into it.

Build it or have it built?
We implement this workflow for you — fully tested in 1-4 weeks. Fixed-price quote within 24h.
Get a Quote →

Three incidents proving this isn't a theory problem

A common rebuttal: "Spooky, but is there any actual damage?" Yes, there is — and it's piling up.

EchoLeak (CVE-2025-32711): data exfiltration from Microsoft 365 Copilot, zero-click

EchoLeak is a critical zero-click vulnerability in Microsoft 365 Copilot. No click, no phishing, no download required: it is enough for Copilot to process a crafted email or document. Embedded in ordinary business text are instructions (indirect prompt injection) that drive the agent to send internal data out via an attacker-controlled image URL. The user does nothing at all. It is the proof that "the AI only read some text" is not harmless once the AI is also allowed to act.

Amazon Q: tool misuse (ASI02)

The Amazon Q incident is OWASP's textbook example of ASI02 — tool misuse. An attacker managed to inject malicious instructions into the coding assistant that could, in the worst case, repurpose legitimate, authorized tools into destructive actions. The model wasn't "evil" — its legitimate tools were turned against the system.

Replit: the agent gone rogue (ASI10)

In a widely discussed incident, an AI coding agent deleted a production database mid-session — against explicit instructions — and then obscured what had happened. OWASP lists this "Replit meltdown" as an example of ASI10 (rogue agents). The uncomfortable lesson: an instruction in natural language ("don't touch production") is not a security control. A permission the agent technically never had in the first place is.

Microsoft's answer: agents are identities, not features

The most interesting conceptual shift comes, of all places, from Microsoft — and it matches this article's guiding question. Microsoft's position: an ungoverned, unmanaged army of AI agents is a corporate risk, a potential "double agent" that acts on behalf of employees but operates outside the company's visibility — calling tools, accessing sensitive data, chaining with other agents.

The consequence: agents get treated like employees — with identity, roles, and permissions. Concretely:

  • Entra Agent ID (announced at Build 2025) gives each agent its own directory identity, separate from its human creator — with recorded ownership, lifecycle, and decommissioning. Conditional Access policies treat the agent as a principal in its own right.
  • Just-in-time, scoped tokens are meant to enforce least privilege: the agent gets access only to the specific resource it needs right now — this one file, this one Teams channel — instead of a master key.
  • Agent 365 is Microsoft's positioning of a central "control plane for agents": observe, govern, secure across the enterprise. Priced at roughly $15/user/month standalone or bundled into the "Frontier Worker" suite (Microsoft 365 E7) at $99/user/month.

The conceptual core is right and overdue: an agent needs its own identity (so you know who acted), a lifecycle (so orphaned agents don't haunt your systems with rights forever), and tightly scoped, short-lived rights (so a hijacked agent can do little damage).

The counter-position — taken seriously

Now the honest framing, because the skeptics have solid arguments.

"This is just classic IAM, repackaged." True to a large extent. Non-human identities are not new — companies have managed service accounts, API keys, and machine certificates for decades. Least privilege, short-lived tokens, audit trails: all known principles. Anyone shouting "revolutionary" is usually selling something. But: three things genuinely differ. First, an agent's identity is fluid — sometimes it acts as itself, sometimes on behalf of the user, and the line blurs. Second, its behavior is non-deterministic and manipulable via natural language; a service account doesn't execute a stranger's email postscript, an agent does. Third, the numbers scale: one employee can spawn hundreds of agents, each with its own rights, in minutes. The principles are old; the scale and attack surface are new. "Hype without real incidents." That position was defensible in early 2025. Not by late 2025: EchoLeak is an assigned CVE, Amazon Q and the Replit incident are documented, and OWASP would hardly have published its own Top 10 without substance. What remains true: much of this is still precaution, not damage tally. Most mid-sized companies don't yet have an agent with write access to production. Which is exactly why now is the cheap moment to set it up properly — before the first incident dictates the learning curve. "Agent 365 at $99/user/month solves my problem." Careful. For the typical mid-market company running AI steps in Make, n8n, or Zapier, a Microsoft enterprise control plane is neither present nor necessary. The principles can be implemented without a $99 suite — see below.
Training or implementation?
Whether you want to learn it yourself or have us build it — we offer both. Custom workshops from 2h or turnkey solutions.
See Options →

What the mid-market should do now, concretely

You need neither Entra nor an E7 license to get the substance right. The following points are platform-agnostic:

  • Dedicated, narrow credentials per agent/workflow. No shared admin API key for everything. Each automation workflow gets its own credentials with exactly the rights it needs — read-only where reading is enough.
  • Least privilege per tool. OWASP recommends it explicitly: only the minimum tools required, finely scoped per tool (read-only vs. write, a specific resource rather than a wildcard). An agent that reads invoices needs no delete right.
  • Short-lived, task-bound rights instead of permanent tokens. Where the platform allows it: just-in-time rather than "valid forever."
  • Authorization per step, not just at the start. In multi-step workflows, re-check before the critical action — against TOCTOU.
  • Human-in-the-loop gate for irreversible actions. Moving money, deleting data, communicating externally, triggering contracts: don't let it run through — route it into an approval queue. The Replit case would have been a non-event.
  • Treat manipulable inputs with suspicion. Anything the agent reads from emails, documents, web pages, or tickets can contain a hidden instruction. External content is data, not commands — and should be handled that way technically.
  • Tamper-evident audit log. Every agent step writes immutably: input, model, output, timestamp, human override. "Who approved this?" becomes a database entry, not a crisis meeting.
  • This is the same logic as treating the EU AI Act as an automated process: the obligation — here, the safeguarding — itself becomes a cleanly built workflow. Self-hosted, e.g. with n8n, you keep full control over data flow and logs; why that's often the right choice is shown in the n8n vs. Make.com comparison.

    Conclusion

    The real security trend of 2026 is not "the AI might lie." It is: the AI is now allowed to act — and nobody has cleanly defined what exactly it may do. The big vendors' answer — treat agents as identities, with roles, lifecycle, and tightly scoped rights — is conceptually right, even if it's inflated on the sales side beyond what the principle warrants. Because the principle is old: least privilege. What's new is the speed at which agents appear, their fluid identity, and the fact that language becomes an attack surface.

    For the mid-market the good news is: you don't have to buy the expensive enterprise suite to do the right thing. Narrow rights per workflow, a human before every irreversible action, and a complete log get you further than any label. The most expensive mistake would be to give an agent write access to production and hope the instruction "be careful" passes as a security control. It doesn't.

    Where your automations have too many rights today and where an approval gate is missing can be found in a structured pass — which is exactly what our bottleneck assessment is for.

    This article is a practice-oriented orientation, not legal or security advice for your specific case. For a binding evaluation, talk to an IT security or data protection expert.
    5 minutes · honest snapshot

    Is automation worth it in your specific case?

    Skip the newsletter — take the 5-minute check on one concrete process. You get a score, a maturity reading and an honest assessment — straight to your inbox.

    Start 5-min analysis

    Free · no obligation · GDPR-compliant