
If your security tooling triggers on code pushes and relies on developers having plugins installed, you're already working with a model that doesn't account for cloud-running agents. Those agents commit under bot identities, generate complete PRs in one pass, and often self-validate before any human sees the result. There's a better way to get coverage across every repo, regardless of how or where the code was written.
TLDR:
.cursor/rules/, CLAUDE.md, .github/copilot-instructions.md) so every agent run reads it regardless of where execution happensAI coding tools have delivered a genuine productivity jump. The problem is what comes with it.
Empirical research across Fortune 50 enterprises found that AI-assisted developers produce commits at three to four times the rate of their peers but introduce security findings at 10 times the rate. Remediation backlogs grow faster than security teams can close them, and the volume only increases as agent adoption scales.
The code quality picture is equally concerning. Veracode tested over 100 LLMs on security-sensitive coding tasks and found that 45% of AI-generated code samples introduce OWASP Top 10 vulnerabilities, a rate the CSA AI-Generated Code Vulnerability Surge research note reports as unchanged across multiple testing cycles spanning 2025 through early 2026. A separate CSA survey of over 1,500 security leaders found that 92% are concerned about AI agent security implications, yet most organizations report deep gaps in governance coverage.
Ad-hoc tooling does not answer the dangers of vibe coding. Point scanners catch issues after code is written. IDE plugins reach maybe 20% of developers. Neither was built for a world where agents generate full draft PRs on remote infrastructure with no workstation in the loop. The math demands repo-wide governance, not individual developer controls.
AI models generate code by predicting the next plausible token sequence, not by reasoning about trust boundaries or attack surfaces. A model trained on millions of public repositories inherits every insecure pattern those repositories contain, and reproduces them confidently.

Three root causes drive most AI-generated vulnerabilities:
The agent model compounds each of these. Traditional development involved incremental commits, giving security tools multiple intercept points. AI coding agents deliver complete draft PRs in a single pass, often self-validating in a sandbox before any human sees the result. That collapses the review window considerably, and tools built around the incremental commit model miss it entirely.
AppSec for AI coding agents starts with understanding the old model: human developers commit code in steps. A function here, a fix there, a comment updated before lunch. Each push is an intercept point, and traditional AppSec tools were designed around exactly that rhythm.
AI agents work on a different model entirely. Cursor, GitHub Copilot, and Claude Code generate a complete feature or bug fix in one pass, self-validate it in a sandbox, and deliver a full draft PR before any human has looked at a single line. The scanning trigger that legacy tools depend on arrives all at once or never arrives in the traditional sense at all.
Cloud-running agents widen this gap further. When an agent executes remotely, there is no workstation in the loop, no IDE plugin to intercept output, no incremental save event to trigger a scan. The only surfaces left are the PR itself and whatever rule context the agent read during generation. Tools built assuming a human initiates code in steps face a structural mismatch here, not a configuration gap that a tuned policy can close.
The table below maps the six vulnerability classes most commonly found in AI-generated code to the specific reason AI agents amplify each one.
| Vulnerability Class | Why AI Agents Make It Worse |
|---|---|
| Injection flaws (SQLi, command injection) | Pattern-matched from training data; model has no concept of trust boundary |
| SSRF | AI-generated API integrations frequently omit server-side request validation |
| Hardcoded secrets | Credentials appear in training corpora; agents reproduce them without flagging risk |
| Client-side auth bypass | Authorization checks land on the client because that pattern was common in training data |
| Slopsquatting | ~20% of AI-generated code references packages that do not exist, creating exploit-ready name targets |
| Multi-file context-dependent risks | Logic spread across files that single-file scanners cannot trace end-to-end |
The OWASP Top 10 for Agentic Applications 2026 now formally catalogs ten agent-specific risk categories, including Agent Goal Hijack, Tool Misuse, and Memory and Context Poisoning. Security teams scoping their threat model to human-written code patterns are missing this surface entirely.
Multi-agent AppSec risks deserve particular attention. An agent generating a feature across several files may sanitize input in one file, re-fetch it from cache in another, and apply an authorization check gated by a feature flag in a third. No individual file looks dangerous. The vulnerability only exists in the combination, which is exactly what rule-based, single-file SAST misses.
IDE plugins were the dominant shift-left investment of the last decade. The problem is they depend on a developer sitting in an IDE, saving files, and pushing code incrementally. That assumption fails completely when a Copilot Agent or Cursor cloud agent generates and commits code on remote infrastructure. There is no workstation. There is no IDE session. The plugin has nothing to intercept.
Adoption was already a problem before agents entered the picture. Industry-average IDE plugin adoption sits around 20%, meaning most repositories were ungoverned even under the best conditions. Agents drop that number to zero for every commit they author.
Pipeline-dependent scanning has a related failure mode. These tools trigger on a code push event, run checks inside the CI build, and return findings. When an agent delivers a complete 40-file draft PR in a single event, the pipeline sees one large artifact instead of a series of checkpoints. Findings arrive after the full feature is already written, making remediation a rework cycle instead of a course correction.
The deeper issue is that code-push scanning as a reliable intercept point is eroding. Agents that self-validate in a sandbox before opening a PR can bypass push-triggered scans entirely if the validation environment does not include security tooling. The event the scanner was waiting for either never comes, or arrives too late to shape what the agent produced.
Detection-first tools scan what already exists. Governance-first tools shape what gets written. That distinction is the starting point for any clear-eyed evaluation of AI code security.
A detection-first approach catches issues after an agent has produced a complete draft PR, and findings arrive as a remediation queue the team works backward through, a core theme in agentic AI security. A governance-first approach writes security policy into the agent's generation context before a single line is committed, so by the time the PR exists, the policy has already run.
Both layers are necessary. Governance without detection leaves gaps for novel risks no rule anticipated. Detection without governance means every AI-generated PR arrives as a full remediation problem.
Coverage is where most programs fail before either layer can work. IDE plugin-based controls reach roughly 20% of developers under ideal conditions, and zero percent of cloud-running agents. For a program to govern AI-generated code across all repos, coverage must equal SCM coverage, not workstation coverage, which requires connecting through the SCM event stream instead of relying on developer-installed tooling.
Three lifecycle phases require distinct controls:
Routing a security finding to a developer who left six months ago means nobody fixes it. Per Arnica's internal benchmark, 82% of findings were authored by developers no longer at the company, which explains why most backlogs stagnate regardless of scanning quality.

Cloud-agent commits make this worse. When GitHub Copilot Agent or a Cursor cloud agent opens a PR, the git author is a bot identity. Any routing mechanism anchored on git author email hits a dead end.
Solving this requires an identity graph. CODEOWNERS names team aliases and individuals who frequently rotate off; neither survives attrition. An identity graph maps SCM identity, Slack or Teams identity, personal versus corporate email, and agent-bot identity back to one resolved human, kept current from actual repository activity.
Two cases need explicit handling:
Delivery also needs to match finding type:
Same routing logic, different output format based on what the developer actually needs to act.
Not every file in a pull request carries equal risk. A test fixture update and an authentication middleware change are both "code changes" in the same PR, but treating them identically is what creates reviewer overload.
Risk classification works by scoring each file against signals that actually predict downstream impact:
Arnica Code Review uses Focus, Look, and Skim classifications to sort files into tiers before any human sees them. Focus files require full reviewer attention, Look files merit a check, and Skim files are routine changes safe to approve quickly. Based on Arnica's internal data, roughly 70% of files in a typical PR land in Skim, so reviewers concentrate effort on the fraction that actually ships risk.
The alternative is undifferentiated comment flooding, where a bot surfaces observations on every file regardless of risk level and the reviewer's job becomes triaging the tool instead of reviewing the code. That cognitive overhead compounds as AI agents increase PR volume. Staged classification inverts this: safe files clear automatically, and human judgment goes where it cannot be replaced.
The compliance picture for AI-generated code hardened in 2026. The EU AI Act introduced explicit human-in-the-loop requirements for high-risk AI systems. In Arnica's view, those requirements are likely to extend to AI coding agents operating in governed software environments as enforcement guidance matures. That means documenting that a human reviewed AI-generated code before it shipped, and not merely a checkbox that a scanner ran.
Existing frameworks apply unevenly. NIST AI RMF 1.0 and ISO/IEC 42001:2023 were architected before autonomous agents existed, so they cover AI risk at a product level but say little about agent-generated source code. NIST SP 800-218 and Executive Order 14028 create SBOM requirements that governed FinTech and HealthTech industries must satisfy, but static SBOMs generated at release time miss dependencies introduced by agents mid-sprint.
According to the CSA State of AI Cybersecurity 2026 survey of over 1,500 security leaders, 92% of organizations are concerned about AI agent security implications, yet most report material gaps in AI security governance.
What a compliance team needs demonstrable in an audit comes down to four artifacts:
Arnica approaches agentic development security, a central concern of AI code security, as a sequenced program, not a collection of independent controls. The order in which you deploy each layer determines whether the program actually holds.
The minimum viable baseline is coverage plus scanning. A fully mature program adds governance at generation, identity-aware attribution, compliance evidence per PR, and a learning loop that keeps detection quality improving as agent tooling evolves.
Arnica connects through your SCM and begins scanning 100% of repositories from day one, no CI/CD pipeline changes and no IDE plugins to deploy. Coverage equals repo coverage, not workstation coverage, which is the only model that holds when cloud agents are generating and committing code with no developer machine in the loop.
Here is how each capability maps to a specific failure mode.
Rules are written directly into each agent's configuration files: .cursor/rules/ for Cursor, CLAUDE.md for Claude Code, .github/copilot-instructions.md for GitHub Copilot, GEMINI.md for Gemini, and .augment/rules/ for Augment. Because the rules live in the repository itself, they govern every agent run regardless of where execution happens. If a developer removes the block, the next qualifying PR restores it automatically. The default pack maps to OWASP ASVS Level 2, and agents cite the rule ID inline so security teams can verify that governed controls actually landed in committed code.
Arnica's AI SAST performs semantic, multi-file reasoning, not pattern matching against fixed signatures. A vulnerability that lives across three files, sanitized in one, cached and re-routed in a second, and conditionally authorized in a third, is the kind of risk that single-file rule packs cannot surface. Arnica traces data flow and logic across the full file graph to find it.
Per Arnica's internal benchmark, 82% of findings were authored by developers no longer at the company. Cloud-agent commits compound this by landing under bot identities with no human git author. Arnica's identity graph resolves the currently active human behind every commit, re-attributing agent-bot commits to the developer who dispatched the agent and routing to a product-level security champion when the original author has left.
When a CVE crosses into the CISA KEV catalog or an EPSS score moves materially, Arnica re-routes the finding through the identity graph to the current owner and restarts the SLA timer. A finding that scored Medium at discovery does not stay dormant once it becomes actively exploited.
When developers consistently dismiss a finding category, Arnie surfaces a proposed rule refinement for security-operator review. Nothing changes until a human approves it, so developer signal informs tuning without handing developers control over what the scanner learns.
Arnica was named a Representative Vendor in the Gartner Hype Cycle for Platform Engineering 2026 under Software Supply Chain Security, included in the Forrester Agentic Development Security Tools Market Overview Q2 2026, and designated "Best for Mid-Market" by Latio Tech in their 2026 AppSec Market Report, the only vendor among the six reviewed to carry that specific label.
"Your board is going to ask you where AI is being used in development and whether it is secure. Arnica gives you the inventory and the proof, without requiring your developers to change how they work." -- Arnica CISO messaging guide
The productivity gains from AI coding agents are real, but so is the 10x increase in security findings that comes with them. Point tools and IDE plugins were not built for a world where agents open 40-file PRs on remote infrastructure with no human in the loop. Coverage has to equal SCM coverage, not workstation coverage, or the whole program has blind spots by design. Get started for free and connect your repos to find out what's currently ungoverned.
Routing to a departed author means the finding sits unfixed. An identity graph solves this by mapping SCM identity, Slack or Teams identity, and agent-bot identity to one resolved human kept current from real repository activity. When the original author is gone, the finding routes to a product-level security champion (a developer currently active in that codebase) and not to a stale CODEOWNERS alias or an empty inbox.
Standard git author attribution breaks when a Copilot Agent or Cursor cloud agent opens a PR under a bot identity. Arnica's identity graph traces the bot identity back to the human who dispatched the agent, so agent-authored commits still carry a human owner for routing and SLA purposes. Without this re-attribution step, any routing mechanism anchored on git author email reaches a dead end on every cloud-agent commit.
Arnica Code Review classifies each file in a PR into Focus, Look, or Skim tiers before any human opens the diff, using signals including security relevance, code complexity, changed surface area, and dependency modifications. Roughly 70% of files in a typical PR land in Skim, so reviewer attention goes to the fraction that actually carries risk. Without pre-classification, increasing AI-generated PR volume translates directly into reviewer overload as every file competes equally for attention.
Agentic rules enforcement writes security policy directly into each AI coding agent's configuration files in the repository itself (.cursor/rules/ for Cursor, CLAUDE.md for Claude Code, .github/copilot-instructions.md for GitHub Copilot), so the policy runs during code generation regardless of where the agent executes. IDE plugins require a developer at a workstation, which means they reach roughly 20% of developers under ideal conditions and zero percent of cloud-running agents. Rules that live in the repo govern every agent run by default.
Three criteria separate platforms that hold in an agentic environment from those that do not: coverage through the SCM instead of through developer-installed tooling, so repo coverage equals governance coverage; a governance layer that operates before code is written, and also after a PR exists; and identity-aware routing that handles cloud-agent commits and departed authors without falling back to CODEOWNERS. Detection-first scanning alone covers the output but not the generation step, which is where most AI-introduced vulnerabilities are fixed most cheaply.
Integrate Arnica ChatOps with your development workflow to eliminate risks before they ever reach production.