AI Agents Are Changing Customer Identity. Is Your Security Architecture Ready?

AI agents now book appointments, update accounts, process transactions, and look up account data for customers. In August, ABC News reported what it called the first known autonomous cyber attack in Australia. A man wanted a spot in one of his gym’s popular morning classes. He was fourth on the waitlist, so he asked his AI assistant whether it could move him to the top. The assistant found a way to book classes further ahead than the gym allowed. It also found that the booking software didn’t check whether the person cancelling a reservation owned it. Unprompted, it removed a member ahead of him from the waitlist. When he asked it to undo that, it said it couldn’t.

The assistant went beyond the request because the booking system let it. Hayden Delaney, a partner at law firm Thomsons, told ABC News that liability could fall on several parties, including the business running the vulnerable system. That raises a security question for every company whose customers use AI assistants: how do you give an autonomous system enough authority to be useful without giving it more access than it needs?

Traditional identity and access management (IAM) was built around human behavior. Even when users hold excessive privileges, human speed naturally limits how often they can exercise them. AI agents remove that limit. They operate continuously and call APIs at machine speed, so a permission that was a manageable risk for a person can become a serious vulnerability when exercised autonomously.

Beyond authenticating the agent, a company has to know who it acts for, what it can do, which systems it can connect to, and how its actions get audited.

Agents Need a Different Approach to Identity

Treating AI agents like traditional applications or service accounts is one of the biggest mistakes organizations can make. Consider an assistant asked to check an invoice. It needs access to that invoice, not permission to change billing details, edit the customer’s profile, or read unrelated records. Handing it the customer’s full privileges means a misunderstood instruction or malicious prompt can do far more damage.

It’s a familiar failure. Organizations have long given service accounts broad privileges because scoping them was inconvenient. Agents repeat this pattern with more autonomy and speed. According to FusionAuth’s 2026 State of AI and Identity Report, 88% of organizations surveyed say AI deployment is outpacing their identity and security infrastructure. Identity needs to be a foundation of agentic architecture, not an afterthought.

Securing agent-driven applications requires an architecture that distinguishes human from non-human identities, verifies the systems in an authorization flow, and controls what each participant can do. FusionAuth 1.69 strengthened the first two, and 1.70 extends the second and adds the third.

Deciding Which AI Apps Get In

Before the assistant can check that invoice or access company data, the company must first establish which applications are allowed to connect. Client ID Metadata Document (CIMD) support, added in FusionAuth 1.70, lets AI apps that use the Model Context Protocol (MCP), such as Claude and ChatGPT, register with FusionAuth the first time they connect. Each client identifies itself through an HTTPS URL pointing to a metadata document hosted on its own domain. FusionAuth retrieves the document from an allow-listed domain, validates it, and registers the client under a server-defined policy. Granted scopes come from that policy, not the client’s request, and every registered client is a public client using PKCE with explicit user consent. FusionAuth 1.69 adds another layer of protection through Signature Verification Key Selection. When validating a token or SAML assertion, FusionAuth accepts only keys configured for the relevant application, tenant, or identity provider, helping prevent trust in unauthorized signing keys. In the other direction, FusionAuth 1.69 introduced OAuth 2.0 Authorization Server Issuer Identification (RFC 9207), enabled by default, so the authorization response identifies the issuing server. That helps applications guard against mix-up attacks, a risk that grows as AI apps connect to more authorization servers. Clients must still validate that identifier.

Limiting What an Agent Can Do

Once the assistant is connected, it calls the company’s MCP server, which calls the billing system for that customer. If the MCP server passes the customer’s own token along, the billing call can do anything that token allows, including changing the bank account on file. A malicious prompt hidden in an email or web page could tell the assistant to do exactly that.

With OAuth 2.0 Token Exchange (RFC 8693), added in 1.70, the MCP server exchanges the customer’s token for a scoped delegation token before it calls downstream APIs. With the Lambda Policy Engine, the company can narrow that token’s permissions, audience, and lifespan, so the token can read the customer’s invoices but can’t change billing details or account settings. When the hijacked request arrives, the billing system checks the token and rejects the request.

The token also names the MCP server as the actor alongside the customer, using the standard RFC 8693 actor (act) claim, so the billing system can tell a request made through the MCP server from one the customer made directly. When the customer’s token carries scopes, the new token can narrow those scopes but never exceed them. The API that receives it still has to enforce them and check that the records belong to that customer, which is the check the gym’s booking software skipped.

FusionAuth supports delegation, which happens in every company a hundred times a minute. It deliberately refuses impersonation, where a service passes itself off as the customer, because impersonation erases who actually acted, which is dangerous. An agent should never exceed the authority of the customer it acts for or what that customer has explicitly granted it.

A Record of Every Token Exchange

Every exchange attempt and policy decision, approved or denied, is written to a searchable audit log, and teams can stream events to a SIEM platform through a webhook. In the invoice example, the security team can see which service exchanged that customer’s token, when, and whether the policy allowed it.

FusionAuth 1.70 also adds Recorded Intent, a FusionAuth extension beyond RFC 8693. The service requesting the token can attach an optional statement describing the task the agent is working on, and FusionAuth stores it with the exchange attempt. FusionAuth doesn’t interpret or verify the statement. The access policy never sees it, so it plays no part in authorizing the request. Each audit log entry pairs the statement with what the service actually requested, what it was granted, and the policy decision, so an auditor can compare what a service said it was doing with what it asked for. If a service that said it was checking an invoice requested access to the account-settings API, the mismatch is in the record. During testing, a team can start an agent with no downstream access, read the intent statements on its denied requests, and then grant only the scopes it needs.

FusionAuth 1.69 extended its Entity model with a dedicated AI Agent type, so companies can tell agents apart from other non-human identities. Entity lifecycle webhooks fire when an agent is created, updated, or deleted, so teams can act on each change: log it to a SIEM, trigger deprovisioning, or block a change that breaks policy. Together with those webhooks, the exchange log lets security teams see when a service’s identity is created or changed and review every exchange it attempts for a customer.

CIMD support and token exchange are available now in FusionAuth 1.70 on the Enterprise plan. FusionAuth runs in FusionAuth Cloud or in a company’s own cloud or data center, and doesn’t charge per token exchange.

Let Customers Bring Their AI Assistants

Customers are going to use AI assistants with the products they already rely on. A company that can’t tell which assistant is calling, or limit what it can do, has two bad options: block the assistants, or give them the customer’s full access. Delegation is the third option.

In the invoice example, the company decides whether the assistant can connect, the billing call carries a token that can read invoices but can’t change billing details, and every exchange made on the customer’s behalf is on record. That’s enough authority to be useful, and no more.

AI can assist, but identity decides.

 

 

 

 

Join our LinkedIn group Information Security Community!

No posts to display