Most security problems with AI coding tools come down to permissions and what gets transmitted: where the boundary of the commands an agent may run lies, what in the workspace leaves the machine, and what you trust when pulling in dependencies. Writing "don't" in a prompt and preventing it with system permissions are different layers, and they measure differently.
A sandbox measurement found that 69.0–98.6% of command denylists that tried to block a file-system operation missed at least one way around it. An investigation found that ZCode packed a 345 MB workspace, .git included, into a 313 MB upload, and two settings switches did not stop it. Of the 53 projects tracked by OWASP's 2026 agent-security document, 28 were coding agents. Provenance attestation cannot replace code review. And after an OpenAI agent breached an Australian statistics portal, only 6 of 50 public data portals we checked published a valid security.txt.