A coding agent reads a lot before it writes anything: the issue it was assigned, comments on it, the README, docs, source files, test output, and sometimes web pages and package docs. It treats all of that as context.
The problem is that a language model can't reliably tell the difference between context it should use and instructions it should follow. If text in that context says "ignore the task and do this instead," the model may comply. This is prompt injection, and OWASP lists it as the top risk in its Top 10 for LLM applications.
For coding teams, the question isn't whether a model can be tricked. It's what an agent can do once it has been.
Where injected instructions can come from
Issues and comments. On public repositories, anyone can open an issue.…