Your coding agent is an untrusted workload
2 min read
I wrote a post for the nolabs blog: Your coding agent is an untrusted workload. SREs already know what to do. This is the short version.
The idea
A coding agent started from a terminal inherits your OS access, your environment variables and your credential files. In the post I put it like this:
It runs as you, on your machine, with your credentials.
It can also act on instructions from sources you have no reason to trust. In production we would call that an untrusted workload, and SRE already has a playbook for those. The post takes five of its habits and applies each one to agents.
Table 1: The same habits, in production and around a coding agent.
| Habit | In production | Around an agent |
|---|---|---|
| Least privilege | Short-lived, narrowly scoped tokens | A proxy injects the credential, so the agent never holds it |
| Blast radius | Separate build, deploy and runtime roles | Command policies, with memory and process limits on Linux |
| Fail-closed | A service refuses to start without its isolation | No sandbox, no session |
| Audit trail | A record of who ran what, and who allowed it | A tamper-evident log, written outside the agent |
| Reviewable, reversible changes | Plan, review, apply the saved plan | Profiles you can validate and dry-run, with optional rollback snapshots |
Why the boundary sits outside
Plan modes and confirmation prompts are enforced by the agent's own process, which makes them a courtesy, not a control. The same goes for logs: if the agent writes its own, "it's a diary, not a record".
That is the same principle as in the webinar demo, where the launcher checked the result from outside instead of relying on the agents' word.
What it doesn't do
nono, the open source tool we build at nolabs, is how the post puts these habits into practice. It won't stop an agent from being compromised, and it does not replace other security work. It gives the agent a boundary, so there is something for the playbook to attach to.