Writing / Tag / 8 of 72

Security

Every essay tagged Security, newest first.

An agent that reads untrusted content and can also call tools is a new attack surface, and most of the controls teams already have are aimed at the wrong layer. Content filters watch what the agent says. Nothing watches what it does. The essays under this tag are about that second thing: the actions, the credentials behind them, and the code and skills an agent is willing to run.

The frame I use is least privilege applied to a system that generates its own instructions at runtime. Treat everything the agent reads as data, not commands. Give it scoped, short-lived credentials instead of one shared API key. Run the code it writes in a box with no secrets and no egress. Put a policy gate between the model's intent and the side effect.

Read prompt injection defense first, because it sets up the trust boundary everything else depends on. Then action authorization as policy-as-code for the gate on what the agent does, and code execution sandboxing for the case where the agent writes and runs its own code.

Read the guide: AI Agent Security: A Guide to Containing What Agents Can Do

October 2026

2 essays / No. 62 to 69

September 2026

2 essays / No. 35 to 37

August 2026

2 essays / No. 21 to 31

July 2026

2 essays / No. 09 to 16