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: This is an analysis of how agentic AI is being embedded into software development and how that changes application security governance.
Why it matters: It matters to IAM, PAM, and AppSec practitioners because AI agents inside the SDLC create new decision and policy enforcement points that must be governed in real time.
By the numbers:
- 50% of organizations now use AI to write code.
👉 Read Checkmarx's analysis of agentic AI teammates in application security
Context
AI-assisted development is shifting security from a late-stage review problem to a live governance problem. When code is generated, reviewed, and modified by humans and AI in the same workflow, the control question becomes who or what is allowed to propose, validate, and approve changes before they reach shared repositories and pipelines.
That shift creates a real identity intersection. AI agents operating inside the software development lifecycle behave like non-human identities when they act on tools, policies, and repositories, which means IAM, secrets, and privilege boundaries cannot be treated as separate from AppSec. The governance model is still maturing, and that is typical of emerging agentic AI programmes.
Key questions
Q: How should security teams govern AI agents that run long, multi-step workflows?
A: Security teams should require durable execution, full event history, and clear ownership for every multi-step agent workflow that touches sensitive data or privileged tools. If the agent can lose state on failure, the organisation cannot reliably audit what happened or prove which actions were completed versus replayed.
Q: Why does AI-assisted development complicate application security governance?
A: AI-assisted development complicates governance because the organisation must track who authorised the change, what system generated it, and whether the output can be audited. Without that chain of accountability, security teams can inspect the artefact but still fail to prove how it was produced or why it was allowed to ship.
Q: What breaks when AI-generated code is reviewed without security gates?
A: What breaks is the assumption that a clean-looking diff is a safe diff. AI-generated code can hide unsafe defaults, dependency issues, and weak validation that basic review misses. Without CI-enforced tests and security checks, the merge process becomes a distribution channel for defects rather than a control point.
Q: How can organisations measure whether AppSec controls are working?
A: They should look for fewer repeat vulnerabilities, lower false-positive burden, faster developer adoption, and measurable reduction in high-risk bug classes. A healthy AppSec programme changes the shape of risk, not just the number of alerts. If findings remain high but exposure does not fall, the control model is not scaling.
Technical breakdown
AI agents inside the IDE as policy-enforcing actors
The article describes agents operating directly inside the IDE rather than only at CI/CD boundaries. That changes the control point from post-commit scanning to inline decision-making, where code suggestions, security checks, and policy validation happen in the same interaction loop. In identity terms, the agent is not just a tool. It is a runtime actor consuming context, applying policy, and influencing what code gets written. That makes its permissions, prompts, and data access part of the security model, not just its outputs.
Practical implication: treat IDE-resident agents as governed actors and review their access to source, secrets, and policy context.
Continuous AppSec for AI-generated code and human code
Agentic AppSec tries to close the gap between code creation and security feedback. Instead of waiting for a scan after code is committed, inline validation can block unsafe completions and surface secure alternatives while the developer is still working. This is useful because AI-generated code can amplify vulnerable patterns quickly, but it also raises a governance issue: the speed of enforcement must match the speed of generation, or security becomes advisory rather than preventive.
Practical implication: move critical validation earlier in the workflow so policy checks occur before code leaves the local environment.
Telemetry, policy, and ROI data as governance inputs
The article also points to correlation of developer behavior, policy enforcement, and security telemetry. That matters because agentic systems are only governable when they are observable. If security teams cannot measure where unsafe code is blocked, where policies are bypassed, and where remediation happens, they cannot separate useful automation from cosmetic automation. The governance problem is therefore not only detection but feedback quality and accountability across the SDLC.
Practical implication: define metrics that show whether agentic controls reduce unsafe code before they become production defects.
Threat narrative
Attacker objective: The objective is to accelerate insecure code creation and exploitation faster than security teams can inspect, block, or remediate it.
- Entry occurs when AI-generated or AI-assisted code is introduced into the development workflow with broad contextual access to repositories and build systems.
- Escalation happens when unsafe code suggestions, policy gaps, or insecure tool permissions allow risky logic to propagate before human review catches it.
- Impact is the acceleration of vulnerable software into shared codebases and pipelines, increasing downstream exposure across applications and supply chains.
NHI Mgmt Group analysis
AI agents in development are becoming non-human identities, not just productivity features. Once an agent can reason, select actions, and interact with repositories or build systems, it needs governance equivalent to other machine actors. That means identity, privilege, and auditability become design requirements inside the SDLC, not post-hoc controls. Teams that ignore this will struggle to explain who changed what, when, and under which policy boundary.
Inline enforcement is now the only practical way to govern AI-generated code at scale. The article is right to move security closer to the point of creation because reactive scanning cannot keep pace with machine-speed output. In practice, this validates a broader shift toward continuous policy enforcement, where policy context travels with the development workflow. The practitioner conclusion is clear: if the control is not present at creation time, it is already late.
Agentic AppSec creates governance debt unless the organisation can measure control effectiveness. Correlating developer behavior, policy enforcement, and telemetry is valuable only if it shows whether unsafe actions were actually prevented. Without that, AI security becomes a reporting layer rather than a control layer. The named concept here is development-time governance gap: the lag between code generation and enforceable security decisions that allows risk to enter the pipeline.
The identity boundary inside software delivery is expanding faster than most programmes are prepared for. AI agents, service accounts, and automated build tooling now participate in decisions that used to belong only to developers and security reviewers. That creates a broader IAM and PAM implication for software teams, especially where secrets, tokens, and repository permissions are shared across tools. The practitioner conclusion is to treat agent access as part of application governance, not a separate automation problem.
What this signals
The key programme signal is that security controls now need to operate at creation time, not only at commit or deploy time. As AI agents increasingly participate in software delivery, the boundary between AppSec and identity governance narrows, which means repositories, build systems, and secrets handling all need explicit machine-actor accountability.
Development-time governance gap: the longer the interval between code generation and enforceable policy, the more risk enters the pipeline unnoticed. In practical terms, teams should align controls with the workflow itself and use identity-aware policy boundaries to govern AI-assisted delivery, especially where agent access touches secrets or privileged build actions.
For practitioners
- Map agent access to specific SDLC permissions Inventory what the AI agent can read, write, approve, and trigger across the IDE, SCM, and build pipeline. Limit its access to the minimum set of repositories, policies, and secrets needed for its task, and review that scope whenever the workflow changes.
- Enforce inline validation before code leaves the IDE Place security checks where code is created, not only where it is committed. Use blocking controls for unsafe completions and require explanations for policy-based rejections so developers can see why a suggestion was stopped.
- Separate policy enforcement from telemetry reporting Do not confuse dashboards with control. Measure how often agentic controls prevent insecure code, how quickly developers remediate blocked issues, and whether exceptions are actually approved through a governed path.
- Classify AI development tools as governed machine actors Assign ownership, logging, and review obligations to every system that can influence code or pipeline decisions. Where those tools handle secrets or repository credentials, bring them under the same lifecycle discipline used for other non-human identities.
Key takeaways
- AI agents inside the SDLC are not just productivity helpers, they are governed actors that change how access, policy, and auditability must be designed.
- Inline enforcement matters because delayed review cannot keep pace with machine-speed code creation, especially when AI-generated changes are widespread.
- Teams should measure whether agentic controls prevent unsafe code before it reaches shared pipelines, not just whether they produce more findings.
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 and MITRE ATT&CK address the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | NHI-01 | Agentic code assistants raise identity and privilege risks inside the development workflow. |
| NIST AI RMF | GOVERN | Governance is central when AI agents influence code and policy decisions. |
| NIST CSF 2.0 | PR.AC-4 | The article hinges on least-privilege access for development-time tooling and repositories. |
| MITRE ATT&CK | TA0006 , Credential Access; TA0002 , Execution | AI-assisted development can amplify credential exposure and risky code execution paths. |
Map agent-enabled workflows to credential exposure and execution risks, then harden secrets and approval boundaries.
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.
- Development-time governance gap: The delay between code being generated and security policy being enforced in a way that can still stop the risk. This gap matters because machine-speed workflows can move insecure logic into shared systems before traditional review or scanning catches it.
- Inline security validation: Security checking that happens at the point where a change is being created, rather than after it has already been committed or deployed. It is designed to stop unsafe actions early enough to change developer behaviour and prevent propagation downstream.
- Machine identity in SDLC tooling: The identity assigned to non-human systems that read, write, approve, or trigger actions in the software delivery chain. These identities often control access to code, secrets, and pipelines, so they need lifecycle management, least privilege, and clear ownership.
What's in the full article
Checkmarx's full analysis covers the operational detail this post intentionally leaves for the source:
- How Developer Assist validates AI-generated and human-written code inline in the IDE
- How Triage and Remediation Assist is positioned to apply governance in the build process and SCM
- How Insights Assist correlates developer behavior, policy enforcement, and telemetry into business metrics
- How Checkmarx frames agentic AI coverage across the wider SDLC rather than only code scanning
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 in practical terms. It helps security practitioners connect identity controls to the wider systems their programmes depend on.
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