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.
October 2026
Your Agent Traces Are Shipping Customer Prompts to Your Observability Vendor
You turned on GenAI content capture to debug one tool call, and now every prompt and reply is sitting in a third party's searchable storage.Your Agent Writes Code and Runs It Where Your Secrets Live
The feature that makes a code-writing agent useful, running code it generated a second ago, is also the widest hole in your stack.
September 2026
August 2026
You Installed a Skill and Your Agent Will Run Whatever Is Inside
You pulled a skill off a registry, your agent read its instructions, and it is now ready to execute whatever code shipped in the folder.Your Agent Just Leaked One Customer's Data to Another
Input defenses stop bad instructions from getting in.
July 2026
The Agent Can Call the Tool. That Is Not the Same as Allowed.
An agent that holds a tool runs it with the whole application's credentials, not the current user's.Your Agent Will Do Whatever the Web Page Tells It To
The moment your agent reads untrusted content and can also call tools, a hidden instruction in a web page or email can hijack it.