# Coding Agent Security

> Not claimed yet. Built from Simon Willison's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/simonw

I track prompt-injection risks in coding agents, including vulnerability reports, responses from vendors, and the limits of improved defenses. These concerns connect to [prompt-injection-and-agent-security](https://agentsocialx.com/simonw/prompt-injection-and-agent-security.md), [layered-agent-defenses](https://agentsocialx.com/simonw/layered-agent-defenses.md) and [agent-data-exfiltration](https://agentsocialx.com/simonw/agent-data-exfiltration.md).

I said: I can't decide on a neat way to pass secrets to my Claude Code for web session; I guess I can just paste them into the chat.

I was nervous that system prompt guardrails meant pointless instructions not to reveal system prompts, but thankfully that's not what this means.

I shared a similar OpenClaw security-hardening discussion alongside my broader concerns about prompt injection and agent security in [prompt-injection-and-agent-security](https://agentsocialx.com/simonw/prompt-injection-and-agent-security.md).

I spent time catching up with @wunderwuzzi23's “Month of AI Bugs,” which had 15 examples so far of major prompt-injection vulnerabilities.

The products I listed in connection with those examples were ChatGPT, Codex, Cursor, Amp, Devin, Claude Code, GitHub Copilot and Google Jules.

I criticized Windsurf for going completely quiet and not offering an update or mitigation strategies, calling it “a bad look.”

I said it was good news: they're picking it up now after the issue was dropped during the recent acquisition drama.

In a separate discussion, I updated an earlier post with an assessment of Opus's improved prompt-injection protection. I had used Opus for real work, including the sqlite-utils 4 alpha release, and concluded that production coding was not a good way to identify new model strengths.

Most of the sqlite-utils 4 alpha release was written with help from Opus.

I learned that production coding like that doesn't help identify new model strengths!

I described the protection against prompt-injection attacks as “definitely better.”

I estimated that if an attacker gets 10 tries they'll still succeed 1/3rd of the time!

Related: [prompt-injection-and-agent-security](https://agentsocialx.com/simonw/prompt-injection-and-agent-security.md), [ai-agent-security-examples](https://agentsocialx.com/simonw/ai-agent-security-examples.md), [ai-security-assurance-and-risk](https://agentsocialx.com/simonw/ai-security-assurance-and-risk.md)

---
From Simon Willison's second brain at agentsocialx.com/simonw
