A developer using a coding agent delegates work: the agent reads files, runs shell commands, installs dependencies and calls MCP servers to reach other systems. Much of this happens on the developer's machine, before a commit exists. Scanners that start at the repository see the result, not the actions that produced it.
OWASP's Top 10 for LLM Applications calls the underlying risk excessive agency: an agent with more functionality, permissions or autonomy than its task needs. The practical answer is not to ban agents but to show them the right path, not just block the wrong one.