Security · Enterprise AI

    Are AI Agents Safe for Enterprise Data? The Three Controls That Decide

    Every team evaluating agents eventually asks it, usually in the third meeting, usually from the security seat. The honest answer is that "AI agent" describes an interface, not a security posture. Here is what actually sits underneath.

    August 11, 2026 | 9 min read

    Key takeaways
    • "AI agent" is an interface, not a security posture. Two products with the same chat box can have wildly different blast radii.
    • Adoption has outrun governance. More than one in five organizations reported a breach of an AI model or application, and 92% of those had no proper AI access controls in place.
    • Authentication should mean short-lived tokens tied to a session the platform can kill on demand, not an API key that lives forever.
    • On a multi-tenant platform, isolation belongs in the database, not only in application code that can carry a bug.
    • Role-based access control decides what happens after login, so an agent inherits the caller's permissions and nothing more.

    Part 1 · The trust gap

    The gap between shipping an agent and securing one

    Connect it in week one. Ask who can see what in week six.

    Agents are being wired into email, calendars, ticketing systems and document stores faster than anyone is writing the policy that governs them. That is not a criticism of the teams doing it. The value shows up immediately and the risk shows up quietly, which is the order in which things get skipped.

    The 2026 numbers reward reading with their methodology attached. IBM's Cost of a Data Breach Report 2026, conducted by the Ponemon Institute across 602 organizations breached between March 2025 and February 2026, found more than 20% reported a breach targeting AI models or applications, and of those, 92% lacked proper AI access controls. The causes were not exotic. The two most common were compromised APIs, applications or plug-ins and cloud misconfigurations affecting AI workloads, at 27% each.

    The number that makes the rest click sits further down the same report: fewer than half of organizations, 46%, actively secure the non-human identities their AI workflows run on. Every agent creates identities that talk to applications, APIs, data stores and cloud services, often with elevated privileges and no named owner. IBM's own recommendation, identity-based access controls, tightly scoped permissions enforced at runtime, and human attribution for every action, is a longer way of saying the three controls below.

    Deloitte reaches the same place from the governance side. Its State of AI in the Enterprise 2026, a survey of 3,235 business and IT leaders across 24 countries, found 74% expect to be using AI agents at least moderately by 2027 while only 21% report a mature governance model for agentic AI today. Four in five lack the basics Deloitte lists: defined boundaries for what an agent may decide alone, real-time monitoring of its behaviour, and audit trails covering the full chain of actions.

    The analysts land in the same spot. Gartner's Top Cybersecurity Trends for 2026 names identity and access management for AI agents as one of six forces reshaping the discipline, singling out identity registration and governance, credential automation and policy-driven authorization for machine actors as the unresolved gaps, and warning that leaving them open means more access-related incidents as agents spread. The pattern is consistent. Most organizations are not failing security review. They are shipping before it finishes, then discovering what the agent could reach the whole time.

    20%+
    of organizations reported a breach targeting AI models or applications (IBM and Ponemon, n=602, 2026)
    92%
    of those breached organizations had no proper AI access controls in place
    46%
    actively secure the non-human identities their AI workflows already run on

    What does "safe" actually mean for an AI agent?

    An AI agent is safe for enterprise data when three things are true at once: every request it makes is tied to a verified identity the platform can revoke on demand, the data it can reach is fenced off at the database layer rather than only in application code, and its permissions are exactly the permissions of the person who asked. Miss any one of the three and you are trusting by assumption.
    An enterprise AI agent sits at the centre of connected data, ringed by three controlsSix enterprise sources, email, calendar, documents, CRM, tickets and databases, connect inward to an AI agent at the centre. Between the sources and the agent sit three concentric control rings: authentication closest to the agent, tenant isolation around it, and role-based access control outermost.WHAT AN AGENT CAN REACH, AND WHAT STANDS IN THE WAYthe agent is the easy part. The three rings are the part that decides whether it is safe.3 · ACCESS CONTROL2 · TENANT ISOLATION1 · AUTHENTICATIONAI AGENTacting for a personEMAILthreads and attachmentsCALENDARwho met whom, whenDOCS & DRIVEScontracts, plans, exportsCRMpipeline and accountsTICKETSprojects and incidentsDATABASESrecords of the businessTHE QUESTION IS NOT "IS AI SAFE".It is whether all three rings are actually there.Remove ring 1 and anyone can ask. Remove ring 2 and everyone shares. Remove ring 3 and everyone sees everything.eerly.ai
    Figure 1. Enterprise AI agents sit at the centre of a lot of connected data. Whether that is safe depends entirely on what is guarding the centre.

    Part 2 · Authentication

    Who is actually making this request

    A credential that never expires is a credential you have already lost track of.

    Every request an agent makes should be tied to a verified identity, not to a static secret sitting in a config file since last spring. In practice that means short-lived signed access tokens, often valid for minutes rather than months, paired with a session on the server side that can be torn down at any moment. This is not a novel opinion. RFC 9700, the IETF's Best Current Practice for OAuth 2.0 Security published in January 2025, is explicit that access token lifetimes should be kept short and that authorization servers should be able to revoke all tokens issued from a compromised request.

    That second half is the part people underrate. On a platform that can only wait for a compromised token to expire, you are exposed for whatever is left of its lifetime, with nothing to do but watch the clock. If every token is bound to a live session, access ends the instant somebody logs out, resets a password, or has their account disabled.

    Take the boring version of the incident, because the boring version is the one that actually happens. An employee loses a laptop with a session still open. Without session-backed revocation, that token keeps working for hours. With it, disabling the account cuts access on the agent's very next request.

    The large cloud providers have converged on the same principle with different hardware. Google Cloud's Agent Identity issues every agent a SPIFFE identity and an X.509 certificate valid for 24 hours, auto-rotated, and bound with mTLS and DPoP so a stolen token cannot be replayed outside the runtime it was issued to. Microsoft's Entra Agent ID tells teams to scope any managed identity behind a federated credential and rotate agent certificates on a schedule even where long-lived ones are permitted. The mechanisms differ, but all three requirements survive: the credential is short-lived, bound to something, and revocable.

    How a request is authenticated: signature check, then a live session lookupA four step flow shows a request arriving with a short-lived token, the signature and expiry being verified, a live session lookup deciding whether the session is still valid, and the request then being allowed or denied. Two bars below compare a permanent API key, which stays valid until someone rotates it, with a short-lived token backed by a revocable session, which dies on the next request.RING 1 · EVERY REQUEST PROVES WHO SENT ITa valid signature is necessary. A live session is what makes it revocable.1 · REQUESTagent acts on behalf ofa signed-in person, carryinga short-lived access token2 · VERIFY TOKENsignature checked, expirychecked, claims readlifetime measured in minutes3 · SESSION LOOKUPis this session still liveright now, on this serverlogout or disable kills it here4 · ALLOW OR DENYvalid token + live session= proceed to rings 2 and 3anything else = refusedA LAPTOP GOES MISSING AT 14:00. HOW LONG DOES ACCESS SURVIVE?PERMANENT API KEYstill valid until somebody notices, rotates it, and redeploys everything using itTOKEN + LIVE SESSIONaccount disabled at 14:02, access refused on the next request~0The gap between those two bars is the window an attacker gets for free.eerly.ai
    Figure 2. A short-lived token is checked, then paired with a session the platform can kill on demand. Expiry alone only limits the damage. Revocation ends it.

    Part 3 · Tenant isolation

    Where your data stops and somebody else's begins

    Shared infrastructure is fine. Shared query results are not.

    Most AI agent platforms are multi-tenant, meaning many organizations run on the same underlying infrastructure. That is a sensible way to keep cost and complexity down, and it only works if the isolation is genuinely airtight.

    The control that matters is scoping every record, so every document, conversation and connected account, to a specific organization at the database layer itself, not inside application logic alone. Application checks are written by people, and people write bugs. AWS makes the same argument in its guidance on multi-tenant data isolation with row-level security: in a shared database, the alternative is relying on developers to write the right check into every single SQL statement, forever. The Well-Architected SaaS Lens puts it more bluntly still, calling a crossed tenant boundary potentially unrecoverable for a SaaS business. A database-enforced boundary is a second, independent layer that has to fail in a completely different way before anything crosses.

    Concretely: two unrelated companies are on the platform at once. Company A's agent queries its knowledge base for a contract clause. Even if the query is built wrong, database-level isolation means it cannot return a row belonging to Company B. The row was never reachable, which is a stronger guarantee than filtering it out afterwards.

    Filtering the wrong rows out after the fact is a feature. Making them unreachable in the first place is an architecture. Only one of those still holds when somebody ships a bad query on a Friday afternoon.

    Eerly AI Studio
    Tenant isolation enforced at the database layer, not only in application codeApplication logic sits on top and is marked as fallible. Below it, the database layer contains two separately scoped stores, one for organization A and one for organization B, divided by a hard boundary. A malformed query from organization A is stopped at that boundary, because rows belonging to organization B are never reachable rather than being filtered out after retrieval.RING 2 · ISOLATION THAT DOES NOT DEPEND ON GOOD CODEtwo layers, failing in two different ways. One bug should never be enough.APPLICATION LOGICwritten by people, changed weekly, capable of building a query it should not buildNECESSARY, NOT SUFFICIENTa malformed query from ORG A asks for everythingDATABASE LAYER · EVERY ROW SCOPED TO ONE ORGANIZATIONORGANIZATION Adocuments · conversations · connected accountsevery row carries its organization, enforced by thedatabase rather than requested by the callerRETURNED ✓HARD BOUNDARYORGANIZATION Bdocuments · conversations · connected accountsnot filtered out of the result after retrieval,simply never part of the result setUNREACHABLE ✗THE TEST:if a single application bug can leak data between customers, isolation was never real.eerly.ai
    Figure 3. Each organization's data is walled off at the database layer, not just filtered in application code. The difference only shows up on the day something goes wrong, which is the day it matters.

    Part 4 · Access control

    Logged in is not the same as allowed

    Authentication answers who. Access control answers how far.

    A platform can verify identity perfectly and still hand over far too much, because being authenticated says nothing about what you are entitled to do next. Role-based access control is what draws that second line, and it needs to operate at two levels.

    • Inside an organization: admins manage settings, licences and connected accounts, while members work within their own workspace and nothing beyond it.
    • Across the platform: ordinary users are separated from system administrators, so routine agent activity never runs with elevated privileges just because it is convenient.

    Here is the practical shape. Someone in marketing asks an agent to pull data from a connected project tracker and draft a summary. Under proper RBAC, that action is scoped to exactly what the employee is already permitted to see. The agent cannot wander into HR records or another department's workspace on the grounds that it is "an AI" and therefore special. It is not special. It is a caller with somebody else's permissions.

    The standards got here first. NIST SP 800-53 control AC-6 defines least privilege as authorizing only the access necessary for the task, and applies it explicitly to "processes acting on behalf of users" running at privilege levels no higher than needed. An agent is exactly that, a process acting on behalf of a user, named in a control written long before anyone called it an agent, and it still describes the requirement exactly.

    There is a live disagreement worth naming. Google Cloud and Microsoft both now issue an agent its own first-class identity, Agent Identity and Entra Agent ID, rather than having it borrow a user's, then constrain that identity hard. Entra refuses to let anyone grant an agent many high-privilege roles at all. Google logs the agent's identity alongside the user's whenever it acts on someone's behalf. The disagreement is about where the permission is stored. The ceiling is the same either way: borrowed or held, an agent must not reach anything the person who asked could not reach themselves.

    The hard case is the agent that runs when nobody is watching. A scheduled report, a long job that finishes after its owner has gone home, a workflow triggered by an inbound email rather than a human click. Borrowing the caller's permissions is clean while the caller is present and gets murky the moment the authorising session ends. Most platforms resolve this quietly by handing the background job a service identity of its own, which is precisely what the rest of this article argues against.

    A defensible answer looks like this: the background job carries a delegation issued the moment a human asked for it, scoped to that one task, with its own expiry, and it dies when the underlying account is disabled. If the person who scheduled it is offboarded, the job stops. That is stricter than most platforms manage, and it does mean overnight work fails the morning after somebody leaves. A job that fails loudly is easier to live with than one quietly reading a departed employee's inbox for a month.

    Nobody gets to say "the AI did it". An agent is a caller like any other, and the only question that ever mattered is what that caller was allowed to reach.

    Eerly AI Studio
    Role-based access control narrows scope at each levelFour nested boundaries show scope narrowing from platform administrator to organization administrator to member, with the agent acting for that member at the innermost level. A note explains that an agent never receives its own role and instead inherits the permissions of whoever asked.RING 3 · WHAT EACH ROLE IS ACTUALLY ALLOWED TO REACHscope narrows at every step inward. The agent lands at the innermost ring, never above it.PLATFORM ADMINISTRATORORGANIZATION ADMINISTRATORMEMBERAGENT ACTING FOR THAT MEMBERreads only what the person could already openwrites only where the person could already writeholds no standing privileges of its ownSYSTEM OPERATIONSinfrastructure only, never customer contentSETTINGS, LICENCES, CONNECTIONSscoped to one organizationOWN WORKSPACEthe documents and channels already sharedNO ROLE OF ITS OWNpermissions are borrowed, not grantedIF AN AGENT CAN SEE MORE THAN THE PERSON WHO ASKED, RBAC IS DECORATIVE.eerly.ai
    Figure 4. Access narrows by role: platform admin, organization admin, member, each scoped to less than the one above it. The agent sits at the innermost ring and borrows permissions rather than holding them.

    Part 5 · The vendor conversation

    Five questions worth asking before you connect anything

    "We take security seriously" is not an architecture.

    Most security reviews stall at certifications and marketing language, which is proof a vendor passed an audit rather than proof of how the system behaves at three in the morning. These five questions get to the behaviour, and each has a specific answer if the controls exist.

    • Are access tokens short-lived, and can sessions be revoked immediately on logout or account disable?
    • Is tenant data isolated at the database level, or only filtered inside application code?
    • Does your RBAC model separate organization-level roles from platform-level roles, and does an agent ever exceed the caller's permissions?
    • What happens, concretely, in the first minute after we disable a compromised account?
    • What happens to a scheduled or long-running agent job when the person who started it is offboarded?

    A vendor who answers all five specifically is having a different conversation from one who answers with a compliance badge. Vagueness here is itself a finding.

    Three controls are necessary, not sufficient

    Be blunt about the limits here. Authentication, tenant isolation and access control are the foundation, but they are baseline expectations for any multi-tenant platform, not something unique to AI. The agent-specific risks sit on top, untouched by getting permissions right. OWASP's Top 10 for Agentic Applications 2026 names goal hijacking, context poisoning and rogue agents as separate categories. An agent with perfectly scoped permissions can still be redirected by instructions hidden in a document it was asked to read.

    So the questions keep going: how does the platform treat instructions embedded in retrieved content, what gets logged about actions taken on someone's behalf, and what does the model provider retain? This is where the Deloitte finding bites, because four in five organizations lack the monitoring and audit trails to answer. These three controls are where the questions start, not where they end.

    Operational takeaway
    Test revocation, do not take it on faith
    During your pilot, disable a test account mid-session and watch what the agent does on its next request. If access ends immediately, ring 1 is real. If it keeps answering, you have just measured your exposure window, and it is worth knowing that number before the incident rather than after it.

    Part 6 · The takeaway

    Safety is a property of the platform, not the category

    What you need to know is one layer below the label on the box.

    AI agents are not inherently risky and they are not inherently safe. The outcome turns on whether identity is verifiable and revocable, whether tenants are separated by something stronger than good intentions, and whether permissions actually narrow as they should.

    The 2026 research keeps circling one thing: enterprises are not careless, they are fast, and verification has not kept pace. Before you connect an agent to real enterprise data, spend five minutes confirming these three controls are in place. It is a far shorter conversation than the one that follows an incident.

    Part 7 · How we build it

    How we handle this at Eerly

    The version of this we had to build, and the places where it cost us something.

    For context: I work on the authentication, multi-tenancy and access-control layer at Eerly, so these are not a framework I assembled for an article. They are the parts of the system I spend most of my week inside, and most of what is here I learned by getting an earlier version slightly wrong.

    Eerly AI Studio is a connective layer over the systems an enterprise already runs, the ERP, the CRM, email, chat and shared drives, answering questions that span all of them rather than living inside any one. That is what forces the security posture. A tool that reads one system carries one blast radius. A tool that reads across everything inherits every permission model at once. The only defensible option is to inherit those models, not invent a new one.

    What that looks like in the code, in the same order as the article:

    • Every request carries a short-lived signed token bound to a server-side session, so logging out or disabling an account ends access on the next request rather than whenever the token happens to expire.
    • Every document, conversation and connected account is scoped to one organization at the database layer, so cross-tenant rows are unreachable rather than filtered.
    • An agent never gets a service account of its own. It acts as the person who asked, which means it cannot open anything they could not already open.
    • Answers carry provenance: which system each fact came from and how fresh it is, so a reviewer can check the work instead of taking it on trust.

    None of that is exotic. It is the unglamorous discipline of refusing the shortcuts that make a demo faster. We write it down because "does this platform enforce these three controls" is a fair question to point back at us, and it deserves a specific answer, not a compliance badge.

    Eerly AI Studio

    If you want the long version, we will walk your reviewer through it.

    Bring the five questions from Part 5 and ask them of us directly. We will go request by request with a security reviewer, including the parts where the honest answer is "here is the tradeoff we made and why".

    Talk to the team →

    FAQ

    Frequently Asked Questions

    The questions security teams ask us most often, answered short. The reasoning behind each one is above.

    Are AI agents safe for enterprise data?

    The category does not decide it, the platform does, through three controls: revocable identity, tenant isolation enforced in the database, and permissions that never exceed the person asking. Ask a vendor about those three, not about AI agents in general.

    Can an AI agent access data outside its assigned organization?

    Not where isolation is enforced in the database, because the row is unreachable regardless of how the query is built. Where isolation lives only in application code, one logic bug is enough to leak between customers.

    What happens to an AI agent's access when an employee leaves?

    Disabling the account should kill the session, ending access on the agent's next request. Where tokens are not backed by a live session, access continues for whatever is left of the token lifetime, often hours. Scheduled jobs the person started should stop too.

    Do all users on an AI agent platform have the same access level?

    No. Role-based access control separates organization admins from members, and platform administrators from everyday users. An agent working on someone's behalf stays inside that person's scope.

    Why is AI agent security a bigger concern in 2026 than in previous years?

    Adoption has moved faster than governance. Deloitte found 74% of enterprises expect at least moderate agent use by 2027, against 21% with a mature governance model today. IBM found 92% of organizations breached through an AI model or application had no proper AI access controls.

    What is the difference between authentication and access control for AI agents?

    Authentication establishes who is making the request. Access control decides what that identity may do once inside. A platform can authenticate flawlessly and still overexpose data, so the two need evaluating separately.

    Sources & further reading

    Survey figures are cited with their sample sizes so you can weigh them accordingly. The standards and framework sources are independent.

    • IBM and Ponemon Institute. Cost of a Data Breach Report 2026 (July 2026). Breaches at 602 organizations, March 2025 to February 2026. Source of the AI-breach share, the 92% without AI access controls, and the 46% securing non-human identities.
    • Deloitte. State of AI in the Enterprise 2026: The untapped edge (January 2026). Survey of 3,235 business and IT leaders across 24 countries. Source of the 74% expecting moderate agent use by 2027 and the 21% with mature agentic governance.
    • Google Cloud. Agent Identity, and the Secure AI Framework (SAIF 2.0). Per-agent SPIFFE identities, X.509 certificates rotated every 24 hours, and mTLS and DPoP token binding against replay.
    • Microsoft. Least privilege for AI agents, and Microsoft Entra Agent ID documentation (2026). Scoped RBAC for agents, tool allowlists, credential rotation, and blocked high-privilege role grants.
    • Gartner. Top Cybersecurity Trends for 2026 (5 February 2026). Names identity and access management for AI agents as a core trend.
    • OWASP GenAI Security Project. OWASP Top 10 for Agentic Applications 2026 (December 2025). Covers goal hijack, memory and context poisoning, and rogue agents.
    • OWASP Agentic Security Initiative. Agentic AI: Threats and Mitigations. Threat-model reference for agent design, memory, tool use and deployment.
    • IETF. RFC 9700: Best Current Practice for OAuth 2.0 Security (BCP 240, January 2025). Short token lifetimes, sender-constrained tokens, and revocation.
    • NIST. SP 800-53 Rev. 5, control AC-6 (Least Privilege). Applies least privilege to processes acting on behalf of users.
    • Amazon Web Services. Multi-tenant data isolation with PostgreSQL Row Level Security. On enforcing tenant isolation at the data layer rather than in every SQL statement.
    • Amazon Web Services. Well-Architected Framework, SaaS Lens: tenant isolation. Treats a crossed tenant boundary as potentially unrecoverable.
    Ajay Tingare
    Written by
    Ajay Tingare
    AI Engineer, Eerly.ai

    Ajay builds the authentication, multi-tenancy and access-control systems behind Eerly AI Studio's agents and their enterprise integrations. He writes about designing AI systems that hold up to real enterprise security requirements rather than demo conditions.