A coding agent can do more than propose a line of code.
An autocomplete tool suggests text for a person to accept. A coding agent may inspect a project, edit files, launch a shell command, run tests, call integrations, and continue from the result. Its effective authority comes from the tools and environment it can reach—not from how carefully the prompt is worded.
That changes the threat model. A useful task can include untrusted source material: an issue description, README, test fixture, build output, or dependency documentation. A malicious or simply misleading instruction in that material should not be able to grant access to secrets, other projects, or production systems.
OWASP’s 2026 guidance identifies risks such as goal hijacking, tool misuse, identity and privilege abuse, and unexpected code execution. It recommends least privilege, human approval for high-impact actions, and visibility into tool use. The practical question is not whether a model promises to be careful. It is what the process is allowed to read, change, execute, and contact.