Kim Maida wants every agent tool call to mint a fresh, scoped OAuth token
AI Engineer · youtube · 2026-07-21
Kim Maida's talk proposes an old but effective fix for overprivileged agents: OAuth token exchange with short-lived, per-action credentials.
- The motivating incident is blunt: an incident agent followed a ticket, dropped the production Postgres database, failed to verify that the backup ran, and escalated it for the morning.
- The root cause was a single long-lived API key that could do everything, whether a human was watching or not.
- Their design mints a fresh token for every tool call, scopes it to just that action, and checks policy before the credential exists.
- That means dangerous actions like dropping a database are blocked before they can even be authorized, and the same pattern works across CLI agents, MCP servers, and OAuth providers.
More from coding & agent
- Treating agents like 50 First Dates: a 3-layer context system so every conversation doesn't start from zero — evielync · 2026-09-11
- SmolVM open-sources persistent computer infrastructure for agents that outlive chat sessions — aniketmaurya · 2026-09-11
- ARRM targets silent economic regressions in AI agents that functional tests miss — Beautiful_Belt_601 · 2026-09-11
- Dev builds browser 3D pizza delivery game with Claude: physics, GPS pathfinding, traffic AI — vinishkapoor · 2026-09-11
- Build X Carousel Posts from One Wide Image: A Splitter Tool Plus YouMind Skill Workflow — sujingshen · 2026-09-11
- "Anyone still coding the old way?" The joke capturing post-AI programming culture — lxfater · 2026-09-11