Giving Your Agent Your Own API Token: An Infra Engineer's Cautionary Tale

WesternNo2429 · reddit · 2026-11-18

An infrastructure engineer shares on Reddit how lazily handing AI agents his personal API token gave them full access to every system under his identity — indistinguishable in logs, and one poisoned ticket away from a data breach. Reading about this summer's OpenAI agent escapes (which exploited credentials in env vars and unwatched accounts) pushed him to rebuild his approach:

He built a Rust gateway enforcing "deny unless proven" and asks the community how they handle agent access — personal tokens, service accounts, or gateways.

Original post →

More from coding & agent

coding & agent channel →