WhoBuilt

Securing Agents with Open Standards

Jun 30, 2025· 19 min· 1.2K views·Watch on YouTube

Speakers

Bobby Tiernay and Kam Sween, engineers at Auth0, discuss agent identity and access control at AI Engineer.

Why agents need scoped access

As agents move from chat to actions such as calling APIs and changing systems, shared secrets, broad scopes, and poor visibility make it hard to trace what happened. Bobby connects these risks to excessive agency and the confused deputy problem. He recommends tying actions to real users and limiting what each agent can access.

Use short-lived tokens tied to users

Bobby contrasts a shared API key stored in an environment variable with a short-lived token issued for one user and one API. In the second pattern, the backend retrieves a credential from a vault and uses token exchange; the agent uses the token without keeping a long-lived secret. This makes actions easier to attribute and tokens easier to rotate.

Enforce authorization at retrieval and tool boundaries

For RAG systems, Bobby says access checks should happen at the retrieval layer so the model does not decide which data a user may see. He also describes securing networked MCP servers with OAuth 2.1, scoped tokens, and browser sign-in. Requests should carry clear information about who is acting and what they can do.

Ask users to approve sensitive actions

Bobby explains CIBA, where an authorization server contacts a user on a trusted device to approve, deny, or ask for details about an agent action. Kam’s demo uses a TypeScript trading assistant, a token vault, and CIBA to request consent before a proposed stock trade. The demo could not complete because of Wi-Fi issues, so Kam walked through the intended flow.

Takeaways

  • Give each agent action a user identity so teams can trace who authorized it.
  • Exchange backend-held credentials for short-lived tokens scoped to one user and API.
  • Apply RAG permissions during retrieval, before data reaches the model.
  • Use a trusted-device approval flow for sensitive actions that run without a user-facing screen.
  • Build on OAuth and OIDC standards early instead of adding identity controls as an afterthought.

Mentioned in this talk

Search inside this talk

What was claimed 7

Related talks