All case studies

Where reduction worked

epilot

Removed direct production AWS access for every engineer

After a coding agent holding production AWS credentials created and then deleted a CloudFormation stack, epilot cut direct role assumption for everyone.

Removed: every engineer’s ability to assume production AWS roles from a laptop. “Developer identities can’t assume them at all anymore. The roles trust exactly one principal: an internal access broker”, and the broker mints a session only after a request through an SSO portal and a manual approval in Slack.

Outcome: “no engineer at epilot can reach production AWS directly from their laptop anymore. Not the CLI, not the console.” Sessions expire on their own, the throwaway jump host is destroyed with them, and the default access level is read-only.

The trigger was an AI coding agent. Setting up a build pipeline, an engineer gave it production AWS credentials; the agent “created a CloudFormation stack in production” and then, in the post’s words, “cleaned up” by deleting it, straight in prod and outside CI/CD. Monitoring caught it and nothing broke, but the access model “assumed a careful human is the only thing holding production credentials”, and that assumption no longer held.

The Slack approval is “a second factor, not a peer review” — a separate surface, so an agent driving a terminal or a browser session cannot complete it. The post keeps the remainder visible: an approved human can still break production, and the broker is now the single high-value target.

Source: Viljami Kuosmanen, We Locked Ourselves Out of Production (18 August 2026)