By NHI Mgmt Group Editorial TeamBased on Armis: “Beyond the Scanner: Why AI-Native AppSec Must Evolve into Risk Management” (March 12, 2026)

TL;DR: Benchmark testing across 18 leading generative AI models found every model struggled to generate secure code consistently, with vulnerable code appearing in over 30% of atomic use-case scenarios and some blind spots failing 100% of the time, according to Armis. The result is a shift from scanner management to contextual risk management, because AI-native development now creates security debt faster than conventional AppSec can triage it.


At a glance

What this is: Armis argues that AI-native development is producing insecure code at scale and that AppSec has to move from scanner output to risk management.

Why it matters: This matters because security teams responsible for code, pipelines, and identity-sensitive application flows need controls that prioritise reachability, business impact, and remediation verification rather than raw findings volume.

By the numbers:

  • Every one of the 18 leading generative AI models tested struggled to generate secure code consistently.
  • Armis found vulnerable code in over 30% of atomic use-case scenarios.
  • Gemini 3.1 Pro had the lowest reported rate of OWASP Top 10 or Armis Early Warning CWEs-related vulnerabilities at 38.71%.
  • The benchmark identified CWE-770, allocation of resources without limits, as the most frequent vulnerability across all models.

Context

AI-generated code changes the economics of software delivery, but it also changes the control problem. When code is produced faster than review, testing, and remediation can keep up, traditional AppSec tooling starts to drown in volume rather than reduce risk.

In this context, scanner sprawl becomes a governance issue as much as a technical one. The security challenge is not just finding defects, but deciding which findings actually threaten production systems, identity flows, and business services.


Key questions

Q: How should security teams govern AI-generated code in production environments?

A: Security teams should treat AI-generated code as normal production code with extra provenance risk. Require architectural review, test coverage, static analysis, and approval before merge. Then bind the agent and the build pipeline to least privilege, short-lived credentials, and complete audit logging so implementation speed does not outrun control.

Q: What are the best practices for reducing AppSec tool sprawl in AI-native development?

A: Start by defining a single prioritisation model that ranks findings by exploitability, reachability, and business impact. Then map each tool’s output into one triage workflow with explicit owners, so the programme does not confuse visibility with control. The best programmes reduce duplicate alerts before they reach remediation queues.

Q: What breaks when AppSec teams keep using separate scanners without shared context?

A: They get overlapping findings, inconsistent severity scoring, and manual triage overhead that masks which issues are actually reachable or exploitable. The result is a backlog that grows faster than remediation capacity and a developer base that learns to ignore alerts. Shared context is what turns detection into decision-making.

Q: Should organisations prioritise secure coding controls before expanding AI developer tools?

A: Yes, if the current delivery process cannot verify code security at the same pace it can generate code. Organisations should strengthen scanning, secret detection, and release gating first, especially in identity-sensitive applications. Otherwise, AI tools simply amplify the volume of vulnerable code entering production.


Technical breakdown

Why AI-generated code creates a persistent security debt

AI coding systems can generate syntactically valid code that still embeds insecure defaults, weak bounds checking, unsafe authentication logic, and missing resource controls. The problem is not only hallucinated defects. It is that models optimise for plausible completion, not secure implementation, so they often reproduce familiar bug patterns at speed. In practice, that means security debt accumulates inside delivery pipelines before traditional review gates can intervene. The article’s benchmark points to a broad and repeatable gap, not a one-off bad model.

Practical implication: treat AI-generated code as untrusted until it passes security-specific validation, not just functional tests.

How scanner sprawl turns findings into governance failure

Scanner sprawl happens when organisations accumulate overlapping tools, feeds, and dashboards without a shared prioritisation model. Each tool may find real issues, but the programme loses coherence when ownership is unclear and remediation triage depends on subjective judgement. That is especially damaging in AI-native development, where the same codebase can generate findings from SAST, dependency, cloud, and identity controls at the same time. Without a common risk lens, teams optimise for alert volume rather than reduction in exposure. See the Application Security Guide.

Practical implication: consolidate findings into one prioritisation model based on exploitability and business impact.

Why multi-stage verification matters for AI-native remediation

The article’s reference to multi-stage agentic loops reflects a deeper point: fixing one flaw is not enough if the remediation itself introduces a new weakness. In AI-assisted development, code changes can cascade quickly, so verification has to confirm both that the original issue is removed and that the fix does not open a new path for abuse. This is less about trusting a single scanner and more about creating an assurance loop across code generation, review, and post-fix validation. That is a control design problem, not a tooling preference.

Practical implication: require independent verification after remediation before code is promoted.


Threat narrative

Attacker objective: The objective is to exploit insecure AI-generated application code before security teams can identify and prioritise the resulting flaws.

  1. Entry occurs through AI-assisted code generation, where insecure patterns are introduced before human review can catch them.
  2. Credential or logic abuse follows when missing authentication safeguards, unsafe uploads, or unlimited resource use are embedded in the resulting application code.
  3. Impact emerges when vulnerable code reaches production and creates exploitable exposure across business services and user-facing workflows.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

AI-native AppSec has already shifted from defect detection to security governance. The article’s central point is not that scanners are obsolete, but that scanner output alone no longer defines programme success. When code generation is accelerated by models, the governing question becomes whether the organisation can reduce risk faster than it creates it. That turns prioritisation, reachability, and verification into core controls rather than downstream hygiene. Practitioners should measure security outcomes, not tool volume.

There is a real identity angle here because insecure code often fails at authentication, authorisation, and session boundaries. AI-generated applications are especially likely to mishandle those control points because they look structurally correct while embedding weak logic underneath. That makes application security inseparable from identity governance in modern delivery pipelines, especially where application security programmes must protect login flows, API access, and privileged actions. Practitioners should treat identity-sensitive code paths as high-risk review targets.

Scanner sprawl is becoming a hidden form of operational debt. When findings arrive from multiple tools with no unified ownership model, the programme drifts from control to collection. The article captures a pattern many teams already feel: more visibility can still mean less clarity. The practical lesson is to design AppSec around decision quality, not tool accumulation.

AI-native risk management must replace the assumption that static policy gates are enough. Model-assisted development compresses the window between code creation and potential exposure, so controls have to operate continuously across generation, validation, and remediation. This is where human review, policy enforcement, and automated verification have to work together rather than sequentially. Practitioners should redesign governance for velocity, not just for completeness.

What this signals

Risk management is now the organising principle for AI-assisted software delivery. The control question is no longer whether a scanner can detect a flaw, but whether the programme can decide which flaws matter most and prove they are fixed before release. That pushes AppSec toward business-aware triage and away from tool-centric reporting.

Identity-sensitive application paths deserve disproportionate scrutiny in AI-generated code. Authentication, authorisation, and session logic are exactly where plausible-looking code can fail in dangerous ways. As AI assistance becomes normal, the organisations that stay ahead will review those paths with stronger controls than they apply to ordinary implementation details.


For practitioners

  • Prioritise AI-generated code by production reachability Rank findings by whether the vulnerable path is reachable in production and tied to business-critical workflows, not by scanner output alone.
  • Add security-specific gates for AI-assisted delivery Require AI-native scanning and policy checks before code can move from development into production-bound branches or release candidates.
  • Verify fixes with an independent second pass Use a separate validation step after remediation to confirm the original flaw is closed and the change did not introduce a new weakness.
  • Consolidate overlapping findings into one triage model Map alerts from SAST, dependency, cloud, and identity tools into a single risk workflow with explicit owners and decision thresholds.

Key takeaways

  • AI-native development is creating a risk-management problem, not just a code-quality problem, because insecure patterns can be produced faster than teams can review them.
  • The article’s benchmark data shows that vulnerability generation is widespread across models, which makes reachability and business impact the right prioritisation lens.
  • Security teams should focus on validation loops, unified triage, and identity-sensitive code paths if they want to reduce exposure rather than simply increase findings.

Related NHI Mgmt Group resources: AI Coding Agents Security Guide · Application Security Guide · OWASP Agentic Applications Top 10 · Secure Coding Guide


Standards & Framework Alignment

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

OWASP API Security Top 10 and MITRE ATT&CK address the attack and risk surface, while OWASP ASVS sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP API Security Top 10API2 — Broken AuthenticationThe article highlights insecure authentication logic in AI-generated code.
Recommendation — Review AI-generated authentication flows against API2 and block releases that weaken login or token handling.
OWASP ASVSV6 — AuthenticationAuthentication paths are one of the article's universal blind spots.
V8 — AuthorizationRisk-based triage is especially important where AI code touches access control decisions.
Recommendation — Apply V6 checks to identity-sensitive code paths and require secure authentication patterns before promotion. Use V8 review gates for AI-generated authorization logic that controls privileged or sensitive actions.
MITRE ATT&CKTA0040 — ImpactThe article is fundamentally about limiting the impact of insecure AI-generated code reaching production.
Recommendation — Map AI-assisted code risk to TA0040 and prioritise controls that reduce downstream business impact.

Key terms

  • AI-Native AppSec: AI-native AppSec is an application security model that uses automation and machine intelligence as part of core security operations, not as a bolt-on feature. It aims to scale detection, prioritisation, and remediation in line with modern software delivery, especially where AI-generated code increases volume and complexity.
  • Scanner sprawl: Scanner sprawl is the accumulation of overlapping security tools, feeds, and dashboards that produce more findings than a team can govern. The problem is not visibility alone, but fragmented ownership and inconsistent prioritisation that prevent the organisation from turning alerts into reduced risk.
  • Production reachability: Production reachability is the question of whether a discovered weakness can actually be exercised in a live environment. It is a practical triage concept that helps teams distinguish theoretical defects from issues that can affect business services, users, or privileged workflows.
  • Security Debt: Accumulated risk that builds when vulnerabilities, unsafe dependencies, and policy gaps are left unresolved across the software lifecycle. In AI-assisted development, security debt grows quickly because more code is produced, more decisions are made automatically, and remediation often lags behind delivery.

Deepen your knowledge

The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, secrets management, and identity-driven control design. It helps security practitioners connect identity governance to the operational realities of modern delivery pipelines.
NHIMG Editorial Note
Published by the NHIMG editorial team on October 22, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org