By NHI Mgmt Group Editorial TeamDomain: Cyber SecuritySource: StackHawkPublished July 29, 2026

TL;DR: AI coding assistants are now widely adopted, with 87% of organisations using tools such as GitHub Copilot, Cursor, or Claude Code to some extent and 53% of AppSec stakeholders seeing them as a moderate or significant risk, according to StackHawk. The real problem is not just code quality, but loss of developer context, overloaded review processes, and expanding attack surfaces that existing tooling cannot track at AI speed.


At a glance

What this is: This is a StackHawk analysis of why AI-assisted development is stressing AppSec programmes, with the key finding that velocity, context loss, and new AI attack surfaces are outpacing existing controls.

Why it matters: It matters to IAM and security practitioners because faster code delivery, weaker implementation context, and AI-enabled application components change how access, authorization, and runtime assurance have to be governed.

By the numbers:

👉 Read StackHawk's analysis of why AppSec cannot keep up with AI development


Context

AI-assisted development is changing the AppSec problem from finding bad code to governing software that moves faster than human review can track. The primary issue is not whether every AI-generated snippet is insecure, but whether existing authorization, documentation, and testing processes can still keep up when developers ship far more code with less direct context.

That matters for identity and access governance because application security failures often become access failures. If teams cannot trace what an endpoint does, what data it can reach, or how an AI-built feature interacts with authentication and authorization, then least privilege and runtime control are already weaker than the architecture assumes.


Key questions

Q: How should security teams govern AI experimentation without slowing delivery?

A: Use lane-based governance. Low-risk experiments belong in isolated sandboxes with minimal guardrails, while managed and critical workloads should inherit progressively stronger controls. The goal is to make experimentation safe by default, not to force every AI use case through production-grade approval gates before value is proven.

Q: Why does AI-assisted development create new AppSec failure modes?

A: AI-assisted development increases risk because it reduces the developer’s working context while expanding the number of paths that must be secured. That combination makes authorization mistakes, hidden data access, and AI-specific abuse cases more likely to survive review. The failure is structural: teams are trying to govern software as if they still understand it fully at every step.

Q: What do security teams get wrong about AI-generated code risk?

A: They often focus on catching insecure output after code is written, which is too late for AI-native workflows. The more important control point is the moment the agent is allowed to initiate the action. If that step is not governed, testing becomes a detection layer rather than a prevention layer.

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 developer context loss changes security outcomes

AI-assisted coding changes the relationship between the developer and the codebase. Instead of building logic line by line, engineers increasingly review generated implementations they did not author and may not fully understand at a later date. That reduces the mental model needed to spot authorization boundaries, data flow issues, and hidden side effects. The security problem is not just code provenance. It is the loss of human context that normally helps teams reason about how a feature behaves once deployed.

Practical implication: teams need automated system and data-flow visibility because human recall is no longer a reliable control.

Why legacy DAST and manual review fall behind AI velocity

Traditional AppSec processes were built around human-paced delivery, where review queues and environment testing could keep pace with change. AI-assisted development breaks that assumption by multiplying output volume and compressing time available for security validation. Static tools also create a scaling problem, because more code produces more findings, and triage becomes the bottleneck. Legacy DAST adds further delay because it depends on setup, execution windows, and environments that are often already stale by the time results arrive.

Practical implication: teams should shift to continuous, automated validation tied to delivery pipelines, not periodic after-the-fact testing.

How AI features expand the attack surface beyond code scanning

The most important change is that AI-assisted development is not only producing more software. It is also producing different software, including chatbots, retrieval-augmented generation flows, and embedded LLM features. Those components introduce attack patterns such as prompt injection, context poisoning, and guardrail bypass that are not visible to conventional SAST. In other words, the application surface now includes the model interaction layer, the retrieval layer, and the data permission model around them.

Practical implication: security teams need testing and policy controls for AI-specific failure modes, not just application code defects.


Threat narrative

Attacker objective: The attacker wants to exploit the gap between delivery speed and control coverage so insecure application behaviour reaches production before security can detect or constrain it.

  1. Entry occurs when AI-assisted development inserts new code, API paths, or AI-enabled features faster than security documentation and review can be updated.
  2. Escalation follows when developers and tools lose context about authorization rules, data access boundaries, or model interactions inside the application.
  3. Impact emerges when incomplete visibility allows insecure behaviour, access violations, or AI-specific attack paths such as prompt injection to reach production.

NHI Mgmt Group analysis

AI-assisted development creates a context governance problem, not just a code quality problem. The security failure is often the shrinking gap between feature creation and the point at which anyone can still explain how the feature should behave. That gap weakens access logic, data-flow assurance, and review quality across both human and non-human workflows. Practitioners should treat software context as a governance asset, not an incidental by-product.

Velocity inflation is now the bottleneck AppSec must govern. When development speed increases faster than triage and review capacity, tooling volume rises faster than the organisation can interpret it. This is a control-plane problem as much as a tooling problem, because alert fatigue and incomplete inventories make risk prioritisation degrade under load. The implication is straightforward: AppSec programmes must be designed around throughput, not hope.

AI-specific attack surface expansion demands a new security vocabulary. Prompt injection, context poisoning, and guardrail bypass are not variants of classic SAST findings, and they require different testing and policy patterns. Application context sprawl: the widening gap between what a feature does, what the team remembers about it, and what security can still verify. Teams should make that gap measurable before it becomes breachable.

Identity and authorization become the hidden fault line in AI-built applications. AI-enabled features are only safe if their access to data, tools, and downstream systems is tightly scoped. That creates a direct intersection with IAM design, especially where service identities, API authorization, and workload permissions support LLM or RAG workflows. Practitioners should assume the application layer will fail where identity boundaries are vague.

OWASP and NIST controls matter here because AI development is exposing governance debt. The article points to control drift between what teams can build and what they can still validate. That aligns with application security guidance such as the NIST Cybersecurity Framework 2.0 and secure control mapping in NIST SP 800-53 Rev 5 Security and Privacy Controls. Practitioners should translate AI delivery speed into explicit control ownership.

What this signals

Application context sprawl: teams should expect the security burden to move from individual code review toward continuous understanding of what applications can reach, expose, or delegate. That means runtime visibility, inventory automation, and stronger identity boundaries around AI-enabled features will matter more than one-off review gates. For programmes already stretched thin, the practical signal is that security must now scale with delivery velocity, not lag behind it.

The identity angle is becoming harder to ignore because AI-built features inherit access patterns from the services, tokens, and workloads around them. When those boundaries are vague, the application becomes harder to reason about and easier to misuse. Teams that already struggle with service accounts and API authorization will feel this most sharply, especially as LLM and RAG components enter normal development pipelines.


For practitioners

  • Map application context before code volume grows further Build automated inventories of endpoints, data flows, and AI-enabled features directly from source and runtime telemetry so teams can still explain what the application does after AI-assisted changes land.
  • Replace periodic validation with continuous runtime testing Use runtime checks to verify authorization behaviour, data segregation, and AI feature handling in the environments where applications actually execute, rather than relying on stale pre-release assumptions.
  • Reduce triage load by prioritising business exposure Tune findings workflows so AppSec teams focus first on issues that affect reachable data, sensitive identities, or AI-enabled attack paths, instead of treating every alert as equal.
  • Add dedicated testing for AI-specific abuse cases Create test coverage for prompt injection, context poisoning, and guardrail bypass in any application that embeds LLM or RAG capabilities, because conventional code scanners will not reliably surface those failures.

Key takeaways

  • AI-assisted development is turning AppSec into a speed and context problem, not simply a code-quality problem.
  • The evidence points to overload: 87% adoption, 53% perceived risk, and 77% building LLM or AI components into applications.
  • The practical response is to automate visibility, runtime validation, and AI-specific abuse testing before delivery velocity outruns governance.

Standards & Framework Alignment

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

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

FrameworkControl / ReferenceRelevance
NIST CSF 2.0DE.CM-1Continuous monitoring fits the article's call for runtime visibility and faster detection.
NIST SP 800-53 Rev 5SI-4System monitoring supports validation of application behaviour beyond static code review.
CIS Controls v8CIS-8 , Audit Log ManagementAudit visibility is central when development speed outpaces manual review.
NIST AI RMFMANAGEAI RMF manage function fits the need to control downstream risk from AI-assisted software.

Tie AI-assisted delivery to continuous monitoring so security can see new exposure before it accumulates.


Key terms

  • AI-assisted development: A development workflow where an AI system helps generate, refactor, test, or execute code inside the software delivery process. The security issue is not the assistance itself, but that the tool may operate in trusted contexts that also contain credentials, infrastructure access, and other sensitive assets.
  • Application context sprawl: The widening gap between what an application does, what the team remembers about it, and what security can still verify. It grows when code is shipped faster than documentation, review, and inventory processes can keep pace, making security decisions less reliable over time.
  • Prompt Injection (Agentic): An attack where malicious instructions are embedded in content that an AI agent reads — causing the agent to execute unintended actions using its own legitimate credentials. A primary vector for agent goal hijacking and identity abuse.
  • Runtime validation: A control practice that tests how an AI system behaves while it is connected to real tools and data, rather than only reviewing configuration or design documents. It matters because agentic systems can appear safe on paper and still fail when prompted, chained, or given access to connected services.

What's in the full article

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

  • Survey breakdowns on how 250+ AppSec stakeholders are actually adopting AI coding assistants
  • Detailed discussion of where legacy DAST and manual review processes break under higher code velocity
  • Specific examples of AI/LLM attack surfaces such as prompt injection and context poisoning
  • The full guidance stack for building an intelligence-first AppSec programme around AI development

👉 StackHawk's full post covers the survey findings, AppSec bottlenecks, and AI attack surface changes in more 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 for practitioners who need to connect identity controls to modern delivery pipelines. It helps security and identity teams translate governance principles into programme decisions across access, lifecycle, and risk management.
NHIMG Editorial Note
Published by the NHIMG editorial team on August 1, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org