By NHI Mgmt Group Editorial TeamDomain: Cyber SecuritySource: VeracodePublished May 26, 2026

TL;DR: More than 47 million scans, over 229 million flaws identified, and 148 million fixes over 20 years underscore the scale of the problem, according to Veracode. Veracode’s 2026 State of Software Security report shows 82% of organisations still carry security debt and remediation is lagging, while the practical issue is not scan volume but whether governance, verification, and fix workflows can keep pace with AI-assisted development.


At a glance

What this is: This is Veracode’s 20-year anniversary analysis of application security data, with a key finding that flaw creation and remediation remain out of balance as AI-assisted development accelerates.

Why it matters: It matters because AppSec, IAM, and security architecture teams now need governance that can verify code provenance, enforce policy, and sustain continuous assurance across development pipelines.

By the numbers:

👉 Read Veracode's 20th anniversary analysis of software security data and AI-assisted development


Context

AI-assisted software development changes the governance problem because code can be produced faster than security teams can validate, prioritise, and remediate it. In that environment, the key question is no longer whether scanning exists, but whether organisations can trust the software they ship at the speed they are building it.

This article is really about the widening gap between discovery and remediation in software security. That gap intersects with identity governance when code, pipelines, and deployment workflows depend on service accounts, secrets, and automated approval paths that must be controlled as rigorously as human access.

The starting position described here is increasingly typical rather than exceptional: most enterprises already have broad scanning coverage, but they do not yet have governance that can keep pace with AI-assisted code generation and third-party dependency risk.


Key questions

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

A: Security teams should treat AI-generated code as a controlled identity event, not just a development artifact. Require human approval, traceable authorship, scoped workload identities, and evidence of intent before production promotion. The goal is to preserve provenance and limit blast radius when generated logic behaves unexpectedly.

Q: Why do third-party dependencies create such persistent security debt?

A: Third-party dependencies create persistent security debt because organisations often discover flaws faster than they can replace, patch, or retest them. Dependency sprawl also means one vulnerable component can affect many applications at once. Teams need ownership, prioritisation, and lifecycle tracking, not just detection, to reduce the backlog.

Q: What breaks when software security stops at scanning?

A: What breaks is remediation prioritisation. Scanning can reveal thousands of issues, but without exploitability, exposure, and business context, teams cannot decide what matters first. That leads to noise, backlog growth, and delayed fixes in the parts of the application estate that attackers are most likely to exploit.

Q: What should organisations do first when exploit discovery is moving faster than remediation?

A: Start by ranking exposure paths, not by trying to eliminate every vulnerability equally. Define the systems that matter most, reduce standing privilege around them, and validate segmentation against real traffic. Then tie incident response to isolation and continuity of operations, because speed of containment now matters more than the speed of patch completion.


Technical breakdown

Why continuous application security scanning is not enough

Continuous scanning tells you what exists, but not what matters first. Application security programmes fail when they treat vulnerability discovery as the endpoint rather than the input to risk-based prioritisation. Modern pipelines generate large numbers of findings across source code, open-source dependencies, containers, and running applications. The core technical challenge is triage: combining severity, exploitability, exposure, and business context so teams can focus on what changes real risk. Without that layer, scan volume rises while remediation capacity stays flat.

Practical implication: rank findings by exploitable risk and business exposure, not by queue order or scan volume.

How AI-assisted development changes software trust boundaries

AI-assisted code generation introduces a new trust boundary because the provenance of code fragments, dependencies, and patterns may be harder to trace than in hand-written development. That does not make the code automatically unsafe, but it does mean conventional review assumptions weaken if teams cannot verify what entered the build and why. Governance now has to cover policy enforcement in the SDLC, including approved sources, validation steps, and evidence that generated code met the same controls as any other code.

Practical implication: require provenance, validation, and policy checks for AI-generated code before it reaches production.

What continuous verification means in modern pipelines

Continuous verification is the discipline of proving that what is running matches what was approved, and that the approved state remains intact over time. In practice, that means integrating security checks into CI/CD, IDEs, dependency management, and release workflows rather than relying on periodic snapshots. It also means collecting auditable evidence for boards, regulators, and insurers. For organisations with large software estates, this becomes a governance control as much as a technical one.

Practical implication: build evidence-producing controls into the pipeline so approved state and runtime state can be compared continuously.


Threat narrative

Attacker objective: The objective is to get exploitable software into production by exploiting gaps in code trust, validation, and remediation workflows.

  1. Entry occurs when vulnerable code, exposed dependencies, or AI-generated code with hidden flaws enters the software supply chain through the development pipeline.
  2. Escalation happens when incomplete validation, weak policy enforcement, or missing provenance checks allow those flaws to move from source to build and deployment stages.
  3. Impact follows when insecure code reaches production and expands the organisation’s attack surface, increasing the likelihood of compromise, operational disruption, or data exposure.

NHI Mgmt Group analysis

AI-assisted code governance debt is the new security backlog. The issue is not simply that more code is being created. It is that governance processes still assume human-paced review cycles while generation, dependency updates, and deployment all accelerate. That creates a structural mismatch between how software is produced and how risk is controlled. Practitioners should treat AI-assisted development as a governance design problem, not just a scanning problem.

Continuous verification is now a software trust control, not just a detection control. Static and dynamic analysis remain necessary, but they are insufficient if organisations cannot prove that approved code is what actually runs. This is where evidence, provenance, and runtime validation matter. For identity and access teams, the intersection is clear: service accounts, secrets, and pipeline permissions must be governed as production identities, not treated as incidental tooling.

Third-party code creates remediation drag that outlasts discovery. When a flaw takes nearly a year to clear from the environment, the security problem has shifted from detection to lifecycle management. That is the same failure pattern seen in identity programmes that cannot rotate, revoke, or offboard fast enough. Practitioners should view dependency risk as an ongoing control lifecycle, not a one-time review.

Policy enforcement must move into the SDLC if organisations want auditability. Boards, regulators, and insurers increasingly expect evidence rather than assertions. That means the security programme needs controls that produce records of provenance, validation, and exception handling at the point of change. The result is not more bureaucracy, but a more defensible trust model for software delivery.

What this signals

AI-assisted code governance debt: the next scaling problem for security teams is not finding flaws, but proving that fast-moving build systems still obey policy. That pushes identity, secrets, and approval controls deeper into CI/CD, where service accounts and automation tokens become part of the security perimeter as much as endpoints or cloud workloads do.

When remediation half-life stretches across months, the programme signal is clear. Security leaders need controls that measure how quickly a flaw moves from detection to verified fix, and they need those controls to produce evidence for audit, board reporting, and insurance scrutiny. That is a governance change, not just a tooling change.

Identity teams should pay close attention to pipeline privilege. The same lifecycle problems that undermine NHI governance, such as standing access, weak revocation, and untracked exceptions, now show up in software delivery systems. Where those identities are not controlled, continuous verification becomes a claim rather than a control.


For practitioners

  • Implement provenance checks for AI-generated code Require evidence of source, transformation, and validation for generated code before merge or release. Tie those checks to build approvals so teams can prove what entered the pipeline and why.
  • Shift AppSec triage to exploitability-first prioritisation Use severity, exposure, reachability, and asset criticality to decide what gets fixed first. Do not let scan counts or raw finding volume drive remediation queues.
  • Enforce policy in CI/CD pipelines Move validation gates into the pipeline so insecure builds are blocked before production deployment. Include exception handling, sign-off evidence, and automated audit trails.
  • Treat pipeline identities as privileged assets Review service accounts, API keys, and automation tokens used by build and release systems. Limit scope, rotate credentials, and remove standing access that is not needed for each stage.
  • Measure remediation half-life by dependency class Track how long critical third-party flaws remain open across languages, frameworks, and build systems. Use that metric to prove whether remediation workflows are actually improving.

Key takeaways

  • AI-assisted development is accelerating code production faster than many security programmes can validate and remediate it.
  • Veracode’s 20-year dataset shows that the core issue is not scan volume, but the gap between finding flaws and fixing them.
  • The practical response is continuous verification, pipeline policy enforcement, and identity-aware control over build and release automation.

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 surface, NIST CSF 2.0, NIST SP 800-53 Rev 5 and CIS Controls v8 set the technical controls, and ISO/IEC 27001:2022 define the regulatory obligations.

FrameworkControl / ReferenceRelevance
NIST CSF 2.0PR.IP-2Continuous verification and secure SDLC practices map directly to this article.
NIST SP 800-53 Rev 5CM-3Configuration change control is relevant to enforcing build and release governance.
CIS Controls v8CIS-16 , Application Software SecurityThe article centres on application security testing and remediation workflows.
MITRE ATT&CKTA0003 , Persistence; TA0010 , ExfiltrationMalicious code and exposed tooling can persist in the delivery chain and enable theft.
ISO/IEC 27001:2022A.8.25Secure development lifecycle controls fit the article’s governance focus.

Embed security checks into the SDLC and verify that approved code remains the code in production.


Key terms

  • Continuous Verification: A Zero Trust practice that re-evaluates trust during the session instead of relying on a single successful login. The control is stronger when context signals are available in real time and when the identity programme can act on those signals without creating excessive exceptions.
  • 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.
  • Software Composition Analysis: Software composition analysis is the inspection of dependencies and packages to identify known vulnerabilities in third-party or transitive code. It complements secret scanning by answering a different question: what exploitable software weaknesses are present in the container, regardless of whether credentials are embedded.
  • AI-Generated Code Provenance: AI-generated code provenance is the ability to trace where generated code came from, how it was transformed, and what validation it passed before release. It matters because teams need evidence that machine-assisted code met the same policy expectations as hand-written code.

What's in the full article

Veracode's full article covers the operational detail this post intentionally leaves for the source:

  • How Veracode applies scan intelligence across static analysis, dynamic analysis, and software composition analysis in the product workflow
  • Examples of AI-powered remediation guidance inside the IDE for developers who need fix-level detail
  • The way Veracode frames continuous verification and attestation for boards, regulators, and cyber insurers
  • The platform-specific explanation of container security and AI-driven protection in the delivery pipeline

👉 Veracode's full article covers the scan data, remediation gap, and pipeline governance detail

Deepen your knowledge

The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security, and secrets management. It gives security and identity practitioners a structured way to govern the automation and access paths that underpin modern delivery pipelines.
NHIMG Editorial Note
Published by the NHIMG editorial team on August 2, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org