WhoBuilt

Your Agent Is a Lethal Trifecta (And What to Do About It)

Oct 12, 2026· 25 min· 5.2K views·Watch on YouTube

Speaker

Kim Maida, founding GTM engineer and head of DevRel at Keycard, presents to the AI Engineer channel on agent security and controlling access to tools and data.

An overprivileged triage agent

Maida demos an on-call agent that reads incident tickets and can access a customer warehouse, billing database, and cloud hosting API. It exposes customer PII in an escalation report, drops a production database, restarts a server, and scales service to 40 pods at $420 per hour.

Why useful agents become risky

Maida describes the lethal trifecta as access to private data, exposure to untrusted content, and the ability to communicate externally. Removing any capability can make an agent less useful, while broad access lets it act on decisions with serious consequences. Human approvals alone shift access decisions to users who may be fatigued or make mistakes.

Limits of common access controls

Maida compares OAuth, MCP gateways, and sandboxes. OAuth grants can be too broad or restrict useful work; gateways provide per-request policy checks but can retain standing credentials; and sandboxes constrain processes without controlling authorization outside them. Even combined, these approaches do not give the agent a credential scoped to one task.

Delegate access with token exchange

Maida proposes OAuth 2 token exchange to identify the user and agent, preserve the user's delegated scopes, and issue short-lived credentials for specific tool calls. A security token service evaluates policy and the delegation chain, while an MCP server brokers access to downstream resources. Tokens should expire within minutes and be discarded after use.

Apply policy to each task

Maida presents Keycard's intent-based authorization approach, where an agent proposes a mission with a goal, allowed actions, and limits. For example, triaging one incident can be auto-approved, while scaling a service may require user approval; policy still blocks actions the user is not authorized to take. In the demo, policy prevents access to customer PII and database deletion, while permitting certificate renewal and an approved scale-up.

Takeaways

  • Give agents only the permissions needed for the task they are performing.
  • Use short-lived, task-scoped tokens instead of long-lived static credentials.
  • Keep user identity and agent identity visible throughout delegated access.
  • Make policy enforce limits even when a user approves an action.
  • Treat access to private data, untrusted inputs, and external tools as a combined risk.

Mentioned in this talk

Search inside this talk

What was claimed 5

  • works at
    Founding GTM Engineer & Head of Developer Relations
    “I am the founding GTM engineer and head of DevRel at Keycard”
    16:59inIt's 10pm. Do You Know Where Your Agents Are?YouTube
    Verified3 sources· Talk, Web· archived
  • feature
    Token exchange: Extends OAuth 2 and can issue short-lived tokens scoped to a specific tool call
    “This is an existing standard published in 2020, and it extends OAuth 2.”
    YouTube
    Unverified1 source· Talk
  • feature
    Keycard: Implements intent-based authorization as an approach to checking agent missions before action
    “This is Keycard's approach to implementing intent-based authorization.”
    YouTube
    Unverified1 source· Talk
  • feature
    runtime authorization: Checks an agent's proposed mission, including its goal, allowed actions, and limits
    “The mission includes a goal, perhaps allowed actions, and limits on what the agent is allowed to do.”
    YouTube
    Unverified1 source· Talk
  • feature
    Security Token Service: Evaluates policy and delegation before issuing access tokens for agent calls
    “The STS evaluates policy, the delegation chain, and the requested access.”
    YouTube
    Unverified1 source· Talk

Related talks