By NHI Mgmt Group Editorial TeamDomain: Cyber SecuritySource: ArnicaPublished December 22, 2025

TL;DR: AI coding will keep increasing output in 2026, but Arnica argues the real bottleneck shifts to review, pre-PR controls, and guardrails applied before code is written. The central implication is that AppSec teams must measure risk introduced and avoided, not just findings raised, because the review stage is already too late.


At a glance

What this is: Arnica argues that AppSec in 2026 will move from reactive scanning toward earlier guardrails, push-time controls, and risk-based measurement for AI-generated code.

Why it matters: This matters because IAM and security teams increasingly need to govern software supply chains, developer workflows, and machine-generated change with controls that work before code reaches review.

By the numbers:

👉 Read Arnica's AppSec 2026 predictions on AI coding, review bottlenecks, and guardrails


Context

AI-generated code changes the economics of application security because it increases the volume of code created faster than teams can review, validate, and govern it. In Arnica's view, the main issue is no longer whether AI helps developers, but where friction moves when more software is produced with less context and weaker security judgement.

For IAM, PAM, and NHI practitioners, the parallel is clear: controls that only act after an approval checkpoint are losing effectiveness as the control point moves earlier in the workflow. The article's starting position is typical of current AppSec maturity, where review-heavy processes still dominate even as AI pushes risk into pre-PR and pre-commit stages.


Key questions

Q: How should security teams implement controls for AI-generated code in pull requests?

A: Security teams should make pull request scanning the default control point for AI-generated code. Combine SAST for insecure logic and SCA for dependencies, then block merges when the pipeline finds severe issues. The goal is to move review from informal human judgement to enforceable policy before code reaches the main branch.

Q: Why do AI coding tools change the AppSec bottleneck?

A: They increase code output faster than human reviewers can provide context, judgment, and validation. That means the bottleneck shifts from code creation to code review, and then to the controls that must work earlier than review to remain effective. Security teams should plan for that shift rather than assuming PR review will absorb it.

Q: What do security teams get wrong about review loops in AI-assisted development?

A: Teams often assume a review loop automatically means control is preserved. In practice, the agent may still make substantial changes before the developer sees them, especially when planning is hidden or optional. The control issue is not whether review exists, but whether review happens early enough to constrain the change path.

Q: How can AppSec teams tell whether their controls are keeping pace with AI delivery?

A: Look for signals such as shrinking triage backlog, faster validation cycles, and a complete inventory of AI-enabled features, endpoints, and data flows. If the team can explain the security impact of a new release before it reaches production, the control plane is keeping pace. If not, the programme is already behind.


Technical breakdown

Why AI-generated code shifts the AppSec control point earlier

AI coding tools reduce the time required to produce code, but they do not create security context or architectural judgment. That creates a gap between generation and governance: the code appears before the team has a reliable opportunity to review intent, dependencies, and blast radius. When organisations rely on pull-request review alone, they are evaluating a change after it has already been written and potentially copied into multiple branches. The security consequence is not just more findings, but more review load at the wrong stage of the workflow.

Practical implication: move security checks to commit and push time so risky code is blocked before review capacity is consumed.

Why review noise becomes a control failure in AI-assisted development

Review systems break down when the majority of findings are dismissed or arrive too late to change the developer workflow. That does not mean review is useless, but it does mean review is being used as a compensating control for earlier prevention problems. In high-velocity pipelines, a noisy scanner becomes a throughput tax rather than a risk reducer. The article's core technical insight is that effective AppSec must distinguish between detection that informs and enforcement that prevents, especially when AI increases code volume faster than human reviewers can absorb it.

Practical implication: tune scanners for enforcement-worthy findings and reduce low-value alerts that only add friction to the pipeline.

Guardrails before the prompt as a governance pattern for AI code

Pre-prompt guardrails work because they constrain the generation step rather than inspecting output after the fact. In practice, this means policy enforcement at the agent or tool boundary, where instructions, templates, allowed libraries, and risky patterns can be limited before code enters the repository. This is a governance pattern, not just a detection pattern. It is especially relevant when teams use AI assistants that can produce large amounts of code quickly, since post-generation review cannot reliably compensate for weak upstream controls.

Practical implication: establish policy controls that shape AI-assisted development before code is committed, not only after it is reviewed.


Threat narrative

Attacker objective: The attacker objective is to smuggle insecure or malicious logic into software faster than human review and security tooling can reliably stop it.

  1. Entry occurs when AI-generated code or developer prompts introduce insecure patterns, weak assumptions, or unreviewed dependencies into the software supply chain.
  2. Escalation happens when review processes cannot keep pace, allowing risky code to persist through pull requests and into downstream pipelines.
  3. Impact is realised when security teams spend time on low-value review noise while exploitable flaws remain embedded in production code.

NHI Mgmt Group analysis

AI code governance is becoming a pre-production control problem, not a review problem. The article correctly shows that once code volume rises faster than human review, the real control point moves upstream into generation, commit, and push. That shifts the question from finding bad code to constraining how code is produced in the first place. For practitioners, the lesson is to govern the moments before repository insertion, not only the moments after pull request creation.

Pre-prompt guardrails are the closest analogue to identity policy in AI-assisted development. When AI tools can generate code, the policy boundary matters more than the scan boundary because the generation step behaves like an untrusted actor producing change at speed. That is where identity and access thinking becomes relevant: who or what is allowed to generate, submit, or modify code must be constrained by explicit policy, not assumed trust. Practitioners should treat AI development workflows as governed actors with scoped permissions, not as passive utilities.

Review fatigue is a governance signal, not just an engineering nuisance. If 70% to 80% of developers are reviewing code and most findings are dismissed, the organisation is absorbing security cost without corresponding risk reduction. This points to control-plane debt in AppSec, where detection, approval, and enforcement are misaligned. The practical conclusion is to replace noisy, late-stage controls with narrower, earlier enforcement that changes developer behaviour before expensive review begins.

AI-generated code will expose hidden weaknesses in software lifecycle governance. The article's strongest prediction is not about code quality alone, but about the maturity gap between development velocity and security decision-making. Continuous policy enforcement, measurable risk reduction, and workflow-native controls will matter more than more findings in a dashboard. Teams that cannot stop insecure patterns before they enter the pipeline will keep paying the cost in review time, exception handling, and production remediation.

Named concept: pre-PR security collapse. This is the point at which security feedback arrives after the economically expensive work has already happened and no longer changes the outcome. Arnica's framing shows that once most issues are discovered before PR or dismissed during review, the traditional review stage stops acting as a meaningful control. Practitioners should redesign AppSec around earlier enforcement and measurable prevention, not around post-hoc commentary.

What this signals

AI-heavy development will force teams to treat software delivery as a governed workflow, not a set of isolated security checks. The practical shift is toward earlier enforcement, stronger policy boundaries, and less reliance on human review as the primary control plane.

Pre-PR security collapse: once feedback routinely arrives after the expensive work is done, security becomes advisory instead of preventive. That is the point where programme owners need to rethink where controls sit in the pipeline and what evidence proves they are actually reducing risk.

For identity and secrets teams, the implication is direct: code generation, secret exposure, and service account misuse are converging in the same delivery path. Controls that protect credentials in repositories and CI/CD systems will matter more as AI increases the speed of change.


For practitioners

  • Shift enforcement to commit and push time Block risky AI-generated patterns before pull requests are created by enforcing policy at the earliest viable pipeline stage. The goal is to stop security work from becoming review-time congestion.
  • Separate prevention from detection rules Tune scanners so they only surface findings that can trigger action, while policy engines handle the conditions that should never reach review. This reduces alert fatigue and preserves reviewer attention for genuinely exceptional cases.
  • Measure risk introduced and avoided Track how much insecure code is prevented upstream, how many findings are dismissed, and how much review time is consumed per accepted change. Those metrics reveal whether AppSec is reducing exposure or merely adding friction.

Key takeaways

  • AI-generated code changes AppSec by moving the real control point earlier than pull request review.
  • Review-heavy security processes create friction when most findings are dismissed and code volume keeps rising.
  • Teams need upstream policy enforcement and measurable prevention if they want to reduce risk rather than just add findings.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0, NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST CSF 2.0PR.IP-1AI code governance depends on secure software development processes and upstream control placement.
NIST SP 800-53 Rev 5SA-11Secure development testing and evaluation fit the article's emphasis on early enforcement.
CIS Controls v8CIS-16 , Application Software SecurityThe article focuses on securing software delivery and code review workflows.
MITRE ATT&CKTA0042 , Resource Development; TA0002 , ExecutionSupply-chain abuse and malicious code insertion map to adversary preparation and execution.

Use SA-11 to require upstream validation of AI-generated code before it enters production pipelines.


Key terms

  • Pre-PR Security: Security controls that operate before a pull request is created or reviewed. The purpose is to prevent risky code from entering the expensive human review stage, where late findings often create friction without reducing exposure.
  • Reviewer Fatigue: Reviewer fatigue is the point at which decision-makers are given too many low-context access records and begin approving by default. It is a process design failure, not a character flaw. In practice, it is caused by volume, poor enrichment, and interfaces that make careful judgment slower than rubber-stamping.
  • Guardrails Before the Prompt: Policy constraints applied before an AI system generates output. In software development, this means limiting unsafe instructions, disallowed patterns, or risky dependencies before code is written and committed.
  • Risk Introduced and Avoided: A measurement approach that evaluates security outcomes based on what was prevented, not just what was detected. It helps teams judge whether AppSec controls are reducing exposure or merely producing more alerts and review work.

What's in the full article

Arnica's full blog post covers the operational detail this post intentionally leaves for the source:

  • Detailed examples of how Arnica positions push-time controls against PR-stage scanning in real developer workflows.
  • The article's full breakdown of review bottlenecks and why AI-generated output changes reviewer workload.
  • Arnica's specific reasoning behind pre-prompt guardrails and how they are framed for application teams.
  • The source post's commentary on how organisations should measure AI success using risk avoided and introduced.

👉 The full Arnica post includes the review-time data, control-stage predictions, and AI coding implications in more detail.

Deepen your knowledge

The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, identity lifecycle, secrets management, and workload identity. It helps practitioners connect access control, lifecycle discipline, and governance across modern identity programmes.
NHIMG Editorial Note
Published by the NHIMG editorial team on August 19, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org