TL;DR: 50% of organisations now use AI to write code, according to Checkmarx, while agentic security is being pushed into the IDE and build process to block unsafe completions and align policy earlier in development. Continuous governance is becoming necessary because AI-assisted code creation outpaces reactive AppSec models.
At a glance
What this is: Checkmarx argues that AI agents embedded into the SDLC change application security from a reactive review model to continuous, in-line governance over code creation, policy enforcement and telemetry.
Why it matters: IAM and AppSec teams need to treat agentic systems as governed participants in development, because policy now has to be enforced at code generation and build time, not only after delivery.
By the numbers:
- 50% of organisations now use AI to write code.
Context
AI agents in software development are software systems that can reason, plan and act with some independence inside developer workflows. The governance problem is not simply that they write code faster, but that they can also shape how policy, review and remediation happen before code ever reaches traditional security gates.
For IAM and AppSec teams, the genuine shift is control timing. If agentic systems are operating inside the IDE and build pipeline, security decisions have to be made at the point of generation, not only at scan or release stages. That makes policy enforcement, telemetry and accountability part of the development workflow rather than a downstream review layer.
Key questions
Q: How should security teams govern AI agents and LLM tools in the SDLC?
A: Treat AI agents and LLM integrations as privileged workloads with explicit identity, task scope, and approval boundaries. Give them only the APIs, repositories, and data sources they need, then log tool use and require human approval for sensitive actions such as releases, signing, or permission changes.
Q: Why do AI agents make reactive AppSec less effective?
A: Reactive AppSec assumes there is time to find and fix issues after code exists, but AI agents can generate, validate and propagate code faster than review cycles can respond. That compresses the detection window and turns late-stage scanning into a partial control. The practical answer is to enforce policy at generation and build time, not only at release time.
Q: What are the main failure modes when AI-generated code enters the SDLC?
A: The main failure modes are unsafe completions, policy mismatch and over-reliance on downstream scanning. If the same rule is not enforced in the IDE, build process and source control, risky code can pass through one stage even when another would have blocked it. Consistent control expression is more important than any single security tool.
Q: How do AppSec and IAM teams evaluate whether agentic governance is working?
A: Look for whether agent actions are bounded, logged and reviewed consistently across development stages. If the organisation can show what the agent was allowed to do, what it actually did and where policy stopped unsafe output, governance is maturing. If those questions cannot be answered, the agent is operating with unclear authority.
Technical breakdown
Agentic security inside the IDE
Embedding autonomous agents into the IDE changes the security boundary from repository or pipeline checkpoints to the developer workstation and live editing context. In this model, the agent can inspect code as it is written, reason over surrounding context and enforce policy before unsafe code is completed. That matters because many AppSec controls assume code becomes security-relevant only after commit or build, but agentic systems move decision-making earlier. The control challenge is therefore not just detection, but governing the agent’s authority inside the authoring environment.
Practical implication: define which code-generation and policy-enforcement actions an agent may take inside developer tooling.
Inline validation versus reactive scanning
Traditional AppSec scans code after it exists. Inline validation instead evaluates both human-written and AI-generated code while the developer is still working, allowing unsafe completions to be blocked and safer alternatives suggested immediately. This reduces the gap between introduction of risk and enforcement of policy, which is especially important when code volume increases through AI assistance. The security architecture shifts from post-hoc finding of issues to continuous mediation of code creation, with the build process becoming part of the control plane.
Practical implication: move at least one enforcement control into the authoring path, not just the CI/CD gate.
Policy alignment across build and SCM
The article’s governance point is that AI-generated logic can be checked against enterprise and regulatory policy before it leaves the local environment and again as it enters source control. That creates a policy loop across the build process and SCM, which is useful because different stages expose different risks. The build stage can block unsafe outputs, while source control and telemetry can show whether policy enforcement is working over time. For practitioners, the hard part is consistent policy expression across tools that were not originally designed for autonomous participants.
Practical implication: standardise policy language across IDE, build and SCM controls so the same rule is enforced at each stage.
Threat narrative
Attacker objective: The attacker objective is to turn accelerated code creation into a faster route for introducing unsafe logic, weak controls or supply chain exposure into software delivery.
- Entry occurs when AI agents are allowed into development workflows and begin producing or shaping code directly in the IDE and build process.
- Credential or policy abuse emerges when those agents operate with enough access to validate, modify or approve code before normal review gates can intervene.
- Impact follows when unsafe completions or policy mismatches reach source control or downstream delivery paths faster than reactive AppSec can contain them.
Breaches seen in the wild
- Fake Dependabot commits 2023: Stolen GitHub tokens were used to push fake Dependabot commits to hundreds of repos, adding workflows that stole Actions secrets.
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
Agentic AI is becoming a governance layer, not just a productivity layer. Once reasoning systems sit inside the IDE and build process, they influence which code exists, which policy checks fire and which fixes are proposed. That means security teams are no longer governing only people and pipelines, but software actors that participate in development decisions. Practitioners should treat agent permissions, policy scope and auditability as first-class governance concerns.
Continuous AppSec becomes the only realistic operating model when code creation is machine-accelerated. The article correctly points to the failure of reactive security when code volume and velocity rise. The deeper issue is that delayed review assumes there is time to catch up after creation, while agentic development compresses that window. Practitioners should move controls closer to generation time and measure whether enforcement happens before code propagation.
AI-generated code creates policy drift unless enforcement is expressed consistently across tools. The same rule cannot live only in a scanner or only in a pipeline if the agent is already shaping code upstream. This is where application security, IAM and governance intersect: policy has to be machine-readable, repeatable and auditable across the SDLC. Practitioners should focus on policy consistency rather than isolated point controls.
Developer-side agents need identity and authorisation boundaries, not just prompts and guardrails. If an agent can validate, recommend and influence code in a development environment, its effective permissions matter as much as its model behaviour. That is an identity problem as well as an AppSec problem, because the system must know what the agent may read, change and approve. Practitioners should map agent authority explicitly before letting it participate in production SDLC workflows.
What this signals
AI agent governance is becoming part of application security architecture. The reader takeaway is not simply that code assistance is growing, but that control points are moving upstream into the authoring environment. Once that happens, policy quality, permission design and auditability matter as much as static scanning.
Agent authority should be engineered like any other privileged development capability. If an assistant can validate, modify or steer code paths, it needs explicit scope and observable limits. That is where IAM thinking becomes useful inside AppSec programmes, especially when teams need to distinguish suggestion from effective control.
For practitioners
- Define agent authority in the SDLC Specify exactly what AI agents may read, suggest, block and approve inside the IDE, build process and source control before deployment.
- Move enforcement into code creation Add inline policy checks that evaluate AI-generated and human-written code while it is being authored, not only after commit.
- Align security policy across tools Use one policy model for IDE controls, build-time validation and SCM enforcement so the same rule is applied consistently.
- Separate remediation from detection telemetry Track developer behaviour, policy enforcement and security findings together so teams can see whether controls are preventing unsafe code or only detecting it later.
Key takeaways
- AI agents are changing application security by moving governance into the IDE and build process, where code is created rather than only reviewed.
- The control problem is not just speed, but timing, because reactive AppSec cannot consistently catch issues after machine-assisted code generation has already advanced.
- Practitioners need policy, logging and authorisation boundaries that work across development tools, so agent behaviour is governed before code reaches delivery paths.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10 addresses the attack and risk surface, while NIST AI RMF, OWASP ASVS and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | ASI03 — Identity & Privilege Abuse | AI agents inside the SDLC create privilege and authority questions that map to agent governance. |
| ASI02 — Tool Misuse | The article centres on agents using IDE, build and SCM tooling as part of the workflow. | |
| Recommendation — Bound agent authority in development tools and limit the actions an agent can take on code and policy. Restrict agent tool access to the minimum needed for development tasks and review all sensitive actions. | ||
| NIST AI RMF | GOVERN — AI Governance and Accountability | The article is fundamentally about governing AI behaviour within software delivery. |
| Recommendation — Assign clear accountability for AI agent oversight, logging and policy enforcement across the SDLC. | ||
| OWASP ASVS | V15 — Secure Coding and Architecture | Inline validation of AI-generated code supports secure coding governance at the point of creation. |
| Recommendation — Embed security requirements into code-generation and review workflows so insecure logic is challenged early. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | Agentic SDLC controls depend on tightly scoped permissions for development-time actions. |
| Recommendation — Review and constrain development-time permissions so agents can only perform authorised tasks. | ||
Key terms
- Agentic AI: Autonomous AI systems capable of planning, deciding, and taking actions, including calling APIs, writing code, and orchestrating other agents, with minimal human oversight. Agentic AI introduces new NHI risks as agents must authenticate to external services.
- Inline Code Validation: Inline code validation is the practice of checking code as it is being written, rather than waiting until after commit or release. It reduces the gap between code creation and policy enforcement, which is critical when AI can generate large volumes of code quickly.
- Policy Enforcement Point: A policy enforcement point is the control that applies an authorization decision at the place where an action occurs. In distributed systems, it may sit inside an API gateway, application, or workflow engine, and it depends on a consistent decision format to avoid bespoke integrations.
- SDLC Governance: SDLC governance is the set of policies, controls, and oversight mechanisms that shape how software is built, changed, and released. In security terms, it establishes visibility, access control, change monitoring, and review practices so the delivery pipeline is harder to abuse and easier to trust.
Deepen your knowledge
The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, agentic AI identity and workload identity in practical terms. It helps security and identity practitioners build control models for agent behaviour, authority and lifecycle oversight.
Published by the NHIMG editorial team on August 2, 2026.
Updated on October 12, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org