Daily Picks
Jake Gold
Jake Gold

I trust my coding agents with production secrets now

TL;DR

The author argues that giving AI coding assistants production-level access is a reasonable risk-reward tradeoff as models improve, but isolation and least-privilege principles still matter.

A veteran security engineer now hands core secrets like SSH private keys and OAuth tokens directly to AI coding assistants. The credentials live in a password vault and the agents usually call them without ever seeing the plaintext.

Many would call this suicidal: the assistants can read private data, ingest untrusted content, and send messages externally — completing what Simon Willison calls the 'lethal trifecta.' In theory, a malicious webpage could trick an agent into leaking secrets.

Security is always a tradeoff between productivity and risk

With production access, an agent can investigate outages, read logs, deploy fixes, and verify them itself, saving the author many manual steps. He trusts agents for the same reason he gives access to inexperienced teammates: mistakes are possible, but the job requires it.

The key change is the models. The author runs only frontier models like Claude and Codex, which are far better at distinguishing user instructions from malicious instructions in the content they read, so prompt injection worries him much less. But this applies only to a trusted codebase; opening a random GitHub project with such access would be reckless.

Container isolation isn't about hackers

Even with this trust, the author still runs agents in isolated Docker containers. This is mostly to contain 'child-like' accidents — like running rm -rf in the wrong directory or stepping on each other's processes — not to stop a malicious actor.

As for least privilege, the author argues that merely hiding credentials is self-deception: an agent with a root shell on a production server can still nuke the whole system. The real solution is continued improvements in model capability. Someday we may trust our agents even more than we trust ourselves.

Read the original →
Share to

You might also read

5 articles worth reading every day

Curated from high-quality sources, with concise summaries and key takeaways.

Daily Picks

5 articles worth reading every day

Curated from high-quality sources, with concise summaries and key takeaways.

All posts from that day2026-09-07 · 6 in total