By NHI Mgmt Group Editorial TeamBased on Veracode: “The Best Application Security Testing Tool Isn’t a Scanning Tool Anymore” (July 21, 2026)

TL;DR: AI-assisted development is driving a trust gap in AppSec: Veracode says 45% of AI-generated code contains known security vulnerabilities without guidance, while 82% of organisations carry security debt and 60% of that debt is critical. Scanning still matters, but software trust now depends on provenance, continuous verification, remediation, and auditable governance.


At a glance

What this is: Veracode says AI-generated code is exposing the limits of scanner-first application security by widening security debt and shifting the real problem to governance, remediation, and proof of trustworthiness.

Why it matters: For IAM, NHI, and broader security teams, the implication is that control quality now depends on provenance, continuous verification, and auditable enforcement, not just vulnerability discovery.

By the numbers:

  • 45% of AI-generated code contains known security vulnerabilities when no security guidance is provided, according to Veracode research.
  • 82% of organizations now carry security debt, according to Veracode's 2026 State of Software Security Report.
  • 60% of those organizations have debt classified as critical, according to Veracode's 2026 State of Software Security Report.
  • High-risk vulnerabilities surged 36% in a single reporting cycle, according to Veracode's 2026 State of Software Security Report.

Context

Application security is moving from a detection-first model to a trust-and-governance model because AI coding assistants are changing who writes code, how quickly it ships, and how much of it humans can realistically review. That shift creates a governance gap: tools that only find vulnerabilities cannot keep up with the rate at which insecure code enters the pipeline.

The identity angle is indirect but real. AI-generated code introduces machine-assisted software creation into the delivery chain, which means provenance, approval, and evidence of remediation matter more than static scanning alone. In practice, the organisation has to govern both the code and the process that produced it.

That tension is now typical, not exceptional, in modern AppSec programmes.


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 does security debt become more dangerous in AI-accelerated development?

A: Because the rate of code creation rises faster than the rate at which teams can review and fix defects. If vulnerabilities stay open for months or years, they stop being isolated findings and become part of the operational baseline. AI acceleration turns that lag into a compounding exposure problem, not just a backlog problem.

Q: What breaks when vulnerability management tools stop at detection and do not drive remediation to completion?

A: When vulnerability management stops at detection, teams inherit a growing queue of findings with no reliable path to closure. Security can identify weaknesses, but Engineering and IT still need context, prioritisation, and coordination to fix them. That gap creates backlog, weak accountability, and slower risk reduction, especially in large environments where thousands of assets change continuously.

Q: Should organisations prioritise provenance and attestation over faster scanning?

A: Yes, when AI-assisted delivery is already increasing code volume faster than teams can inspect it. Faster scanning still helps, but it does not answer the assurance question that boards, regulators, and customers increasingly care about. Provenance and attestation provide evidence that code was controlled, not just inspected.


Technical breakdown

Why AI-generated code changes the appsec control problem

AI coding assistants compress the time between idea and deploy, but they also compress the time available for security review. Traditional application security tools were built around finding defects in code written slowly enough for humans to inspect and remediate. When code generation becomes machine-assisted and continuous, the control objective shifts from pure detection to governance of how code enters the pipeline, how it is verified, and how evidence is preserved for later assurance. This is why scanner output alone is no longer enough: the security question is not only whether a flaw exists, but whether the organisation can trust the code path that introduced it.

Practical implication: treat code provenance and verification as part of the security control, not a downstream reporting step.

Why false positives and false negatives both erode software trust

A noisy scanner trains developers to ignore findings, while a missed vulnerability creates a false sense of closure. Both outcomes damage trust, but in different ways. False positives reduce tool credibility and increase alert fatigue. False negatives are more serious because they let unsafe code move forward under the assumption that the review was complete. In AI-accelerated development, that assurance failure compounds quickly because code volume increases faster than review capacity. The central technical issue is therefore not just detection accuracy, but whether the organisation can rely on the tool’s output as an auditable statement about code risk.

Practical implication: measure security tooling by trusted signal quality, not by raw scan volume.

How remediation, attestation, and provenance replace scan-only thinking

A scan finds issues at a point in time. A trust-oriented control model asks whether those issues are being prevented, traced, fixed, and proven to be fixed across the software lifecycle. Provenance shows whether code came from a human or a machine-assisted process. Continuous verification checks that deployed code matches what was approved. Remediation closes the loop so findings do not become permanent debt. Attestation gives boards, regulators, and customers evidence that those controls are operating. These are not separate nice-to-haves. They are the mechanism by which application security moves from discovery to governance.

Practical implication: build controls that produce evidence of secure delivery, not just evidence of vulnerability discovery.


Threat narrative

Attacker objective: Exploit insecure AI-assisted code paths before remediation catches up, then use those weaknesses to reach sensitive systems or data.

  1. Entry occurs when AI-generated code enters the repository or pipeline with insecure patterns that no guidance layer corrected before merge.
  2. Credential access is not the primary mechanism here, but unsafe code can still introduce exploitable paths that later expose sensitive flows or privileged functions.
  3. Escalation occurs when vulnerabilities remain unremediated long enough to accumulate into security debt and widen the attack surface across releases.
  4. Impact is a software estate that cannot be confidently attested as trustworthy, creating breach exposure, governance failure, and board-level assurance risk.

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

Software trust is becoming the real security boundary for application delivery. Detection still matters, but detection without governed remediation only increases backlog. In AI-assisted development, the decisive question is whether teams can prove that code was introduced, reviewed, and released under controlled conditions. Practitioners should treat trust as an operational control, not a slogan.

AI-generated code creates a provenance gap that scanner-centric programmes cannot close. Traditional AppSec assumes code lineage is mostly human and reviewable. That assumption weakens when generation, transformation, and release are machine-accelerated. The practical conclusion is that code provenance, approval evidence, and release traceability now deserve the same governance attention as vulnerability counts.

Security debt is the clearest signal that finding flaws is not the same as reducing risk. When vulnerabilities remain open for long periods, the programme has moved from inspection to accumulation. That is a governance failure as much as a technical one, because unresolved findings become part of the organisation’s operational baseline. Teams should reframe AppSec around debt reduction, not report production.

Attestation will matter more as regulators and customers demand proof, not promises. Boards do not need another dashboard of findings. They need evidence that software is controlled, traceable, and remediated at a pace consistent with delivery speed. The market is moving toward evidence-based assurance, and practitioners should align policy, tooling, and reporting to that expectation.

Security debt governance is now an AppSec discipline in its own right. The article’s core concept is not just vulnerability discovery, but the accumulation of unaddressed flaws in AI-accelerated delivery. Teams should establish explicit ownership for debt burn-down, release gating, and audit-ready evidence across the lifecycle.

From our research library:

  • Claude Code-assisted commits leaked secrets at a rate of 3.2%, more than double the human-only baseline of 1.5%, with peaks reaching 31 secrets per 1,000 commits in August 2025, according to the State of Secrets Sprawl 2026.
  • Only 44% of developers are reported to follow security best practices for secrets management, exposing a significant developer behaviour gap, according to the State of Secrets in AppSec.
  • Read next: NHI Lifecycle Management Guide

What this signals

Security debt governance is the operational response to AI-accelerated code risk. AppSec teams can no longer rely on periodic scans as the main control because the creation rate of flaws now outpaces the human capacity to close them. Programmes need age-based escalation, release gating, and explicit ownership for unresolved findings.

Provenance is becoming a governance requirement, not just a technical traceability feature. If teams cannot distinguish human-written code from machine-assisted code, they cannot apply proportionate scrutiny or provide credible assurance. That is especially true where software changes move faster than conventional review cycles.

AI-assisted development changes the trust model for software delivery. The practical question is no longer whether a tool can find defects, but whether the organisation can prove the code it ships was controlled, verified, and remediated at the speed of delivery. That is where the next generation of AppSec programmes will be judged.


For practitioners

  • Establish code provenance controls Track whether code was human-written, AI-assisted, or machine-generated, and require that lineage be visible at review and release time.
  • Shift from point-in-time scans to continuous verification Verify that deployed artefacts match approved builds and that high-risk changes cannot drift between approval and production.
  • Create a security debt burn-down process Assign ownership for unremediated vulnerabilities, set age-based escalation rules, and report debt separately from raw findings.
  • Use evidence-based attestation for board reporting Package proof of remediation, approval history, and release traceability into reporting that regulators and customers can audit.

Key takeaways

  • AI-generated code is pushing application security beyond scanner performance and into governance, provenance, and remediation control.
  • Security debt is compounding because flaw creation is moving faster than teams can close findings, which turns backlog into exposure.
  • The control gap is not just detection accuracy. Organisations now need evidence that code was verified, remediated, and auditable before release.

Standards & Framework Alignment

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

CIS Controls v8, NIST SP 800-53 Rev 5, NIST CSF 2.0 and OWASP ASVS set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
CIS Controls v8CIS-16 — Application Software SecurityThe article is about controlling security in the software delivery lifecycle under AI-assisted development.
Recommendation — Apply CIS-16 to govern secure software development, review, and release controls for AI-assisted code.
NIST SP 800-53 Rev 5SA-11 — Developer Testing and EvaluationThe post centers on verifying code quality and security before release, not just detecting flaws later.
Recommendation — Use SA-11 to require security verification and evaluation before software reaches production.
NIST CSF 2.0PR.DS-10 — Integrity is protected through validation, verification and checking mechanismsThe article argues for proof that software remains trustworthy through delivery and deployment.
Recommendation — Apply PR.DS-10 to validate software integrity across the build and release pipeline.
OWASP ASVSV15 — Secure Coding and ArchitectureAI-generated code changes how secure coding and architecture checks must be enforced.
Recommendation — Use V15 to embed secure coding checks into the development lifecycle and reduce flaw introduction.

Key terms

  • 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.
  • Code provenance: Code provenance is the verifiable history of where code came from and who or what created it. In security practice, it combines authorship, timestamps, signatures, and build lineage so teams can prove a change was trusted before it reached production.
  • 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.
  • Attestation: Attestation is verifiable evidence about a workload’s execution context, such as where it is running, who started it, and whether it matches policy. In agent governance, attestation can be used to bootstrap enrollment and to justify access decisions that need to change as the workload behaves differently.

Deepen your knowledge

NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, secrets management, and workload identity alongside the control thinking that supports modern security programmes. It helps practitioners connect identity governance to delivery risk, assurance, and operational accountability.
NHIMG Editorial Note
Published by the NHIMG editorial team on August 1, 2026.
Updated on October 13, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org