TL;DR: OWASP’s 2025 update adds Insecure Design and AI-Driven Vulnerabilities to its Top 10, reflecting how autonomous systems and AI coding assistants are now influencing application logic at scale, according to Arnica. The shift makes governance at code generation and design time more important than post hoc scanning, because AI-assisted development can multiply insecure patterns faster than review processes can absorb them.
At a glance
What this is: This is Arnica’s analysis of OWASP’s 2025 AppSec update, which adds Insecure Design and AI-Driven Vulnerabilities to the Top 10 and reframes risk around AI-assisted code generation.
Why it matters: It matters because IAM, PAM, and security architects increasingly need to govern the identities, permissions, and guardrails around AI tools that can create and change code, not just review the code after the fact.
👉 Read Arnica’s analysis of OWASP’s 2025 appsec update and AI-driven vulnerabilities
Context
Application security is no longer limited to reviewing human-written code after it is committed. As AI coding assistants and autonomous systems shape application logic earlier in the lifecycle, organisations face a governance gap between how code is created and how it is later inspected. The primary issue is not just vulnerability detection, but whether security policy is being enforced at the point where code and design decisions are made.
OWASP’s 2025 update reflects that shift by treating insecure design and AI-driven code generation as first-class risk categories. That is relevant to IAM and NHI practitioners because the same pattern appears whenever software agents act with delegated access: the control problem moves from static credentials and scanning to runtime authority, policy enforcement, and accountable identity for the system doing the work.
The article’s starting position is increasingly typical for modern AppSec programmes, especially those already using AI-assisted development. What remains atypical is treating agent behaviour as a governance issue rather than a tooling issue.
Key questions
Q: How should security teams implement AI code generation controls in the SDLC?
A: Start at the point of generation, not at the point of release. Put SAST, dependency checks, and secrets detection directly into the developer workflow, then back them with CI/CD enforcement and runtime testing. That combination lets teams catch insecure suggestions early without trying to audit every generated line after the fact.
Q: Why do AI coding assistants create access control risk in applications?
A: Because they often generate code that assumes the caller is trusted or that sensitive fields are safe to expose. That can produce direct object access, weak filtering, or missing authorisation checks, which later become real breaches when application logic is reused in production. The risk is strongest around data-rich and admin-facing flows.
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: Who should be accountable for AI agent actions in enterprise systems?
A: Accountability should sit with the team that owns the agent, its policies, and the connected tools, not only with the person who typed the original prompt. When a software actor can send messages, update records, and move data across systems, responsibility must follow the governed identity and its enforcement layer.
Technical breakdown
AI-driven vulnerabilities in the software lifecycle
AI-driven vulnerabilities emerge when code-generation models reproduce insecure patterns, weak authorisation logic, or unsafe defaults at the point of creation. Because the model learns from large code corpora, it can scale the same flaw across many repositories in minutes. That changes the risk profile from isolated developer error to systematic propagation. In practice, the problem is not that scanning disappears, but that scanning arrives too late to shape the code path that created the issue.
Practical implication: move security policy into the coding workflow before the AI writes or modifies code.
Insecure design as a governance failure
Insecure Design is a failure to define and constrain system behaviour before implementation begins. It matters because an architecture can be perfectly coded and still unsafe if the trust model, privilege boundaries, or data flows were never governed correctly. In AI-assisted development, design decisions increasingly include what the model may generate, what tools it may invoke, and what approval gates exist. That makes design governance a control layer, not just a documentation exercise.
Practical implication: treat design-time policy as a required control for AI-assisted development, not a review artifact.
Agentic security and control over autonomous systems
Agentic security applies security controls to systems that can act, decide, and execute within a workflow. These systems are not just tools that produce output. They can create, test, and deploy code, which means they need bounded authority, traceability, and enforced rules at runtime. Traditional AppSec tools can detect issues in output, but they do not govern the agent’s decision path. That is why behaviour control is becoming a separate security requirement.
Practical implication: define least-privilege access, approval boundaries, and auditability for AI development agents.
Threat narrative
Attacker objective: The objective is to get unsafe or malicious code accepted into production through the trust granted to AI-assisted development workflows.
- Entry occurs when AI coding assistants or autonomous development agents are allowed into repositories and pipelines with broad context and tool access.
- Escalation happens when those systems reproduce insecure patterns or make privileged changes faster than manual review can catch them.
- Impact is the propagation of insecure code, hidden authorisation flaws, and policy bypass into production systems at scale.
NHI Mgmt Group analysis
AI-assisted development has created a governance gap, not just a productivity gain. When code generation accelerates faster than review and policy enforcement, security teams inherit a control problem that manual AppSec cannot absorb. The issue is no longer limited to catching vulnerable code after the fact. It is whether the organisation can govern the decisions made by the system generating that code. Practitioner conclusion: policy must move upstream into the generation workflow.
Insecure Design is the more durable failure mode because it survives perfect scanning. A codebase can pass every static check and still encode unsafe trust assumptions, weak authorisation logic, or uncontrolled agent behaviour. That is why design-time governance now matters as much as detection. For identity teams, the parallel is clear: authority must be bounded before access is exercised. Practitioner conclusion: secure architecture decisions must be enforced as controls, not treated as advice.
Agentic security is becoming a distinct discipline because autonomous systems need identity, privilege, and audit boundaries. Once AI systems can create, test, or deploy code, they behave like non-human actors with operational authority. That brings NHI governance into the AppSec conversation, especially around delegated access, approval chains, and traceability. Practitioner conclusion: treat AI development systems as governed identities with explicit limits.
Static tools alone are increasingly misaligned with AI-driven attack surfaces. The article’s central insight is that detection without prevention leaves organisations exposed to the speed of machine-generated change. Security teams need controls that shape behaviour before code is written, not just controls that inspect output later. Practitioner conclusion: the operating model must combine preventive policy, runtime enforcement, and evidence capture.
OWASP’s update signals a broader market shift toward policy-defined software creation. The industry is moving from code review as the primary security act to governance at the point of generation. That affects AppSec, IAM, and AI security teams alike because the same delegated authority problem now appears across repositories, agents, and pipelines. Practitioner conclusion: re-evaluate whether your controls govern code, or merely observe it after risk has already been introduced.
What this signals
AI-assisted development is now a governance problem for identity teams as much as for AppSec teams. When systems can generate code and influence deployments, the question becomes who or what is authorised to act, under what boundaries, and with what evidence. That is the same control logic that underpins NIST AI Risk Management Framework and identity governance for non-human actors.
Code-generation agents are beginning to resemble managed non-human identities. They need scoped permissions, reviewable actions, and lifecycle controls because their behaviour can affect production systems directly. The named concept here is generation-time governance: security policy applied before code exists, not after it is reviewed. That shifts the operating model from detection-only to policy-enforced creation.
The practical signal for enterprises is straightforward: if AI tools can write, test, or deploy code, they also need inventory, ownership, and audit evidence. Without that, organisations inherit a blind spot similar to unmanaged machine identities, where access exists before governance does.
For practitioners
- Move policy into the generation layer Define approved coding rules for AI assistants and enforce them before code is committed, not after pull request review begins.
- Restrict agent authority in development pipelines Limit repository access, deployment permissions, and tool invocation rights for AI systems so they cannot independently modify high-risk paths.
- Bind AI-generated code to accountable review Require traceable approval for AI-assisted changes that affect authentication, authorisation, or data handling logic.
- Measure the backlog created by AI-assisted change velocity Track review latency, unreviewed AI-generated changes, and the percentage of code originating from assistants to identify where manual governance is failing.
Key takeaways
- OWASP’s update shows that application security risk is shifting upstream into design and code generation, where traditional scanning is too late.
- AI-assisted development can scale insecure patterns quickly, which makes authority boundaries and approval controls more important than review volume alone.
- Organisations should govern AI coding systems as bounded non-human actors, with explicit access limits, traceability, and policy enforcement.
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, NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | The article is about AI-driven code risk and agentic controls in development workflows. | |
| NIST AI RMF | GOVERN | AI governance is central because the article focuses on policy at the point of code generation. |
| MITRE ATT&CK | TA0002 , Execution; TA0004 , Privilege Escalation | Agentic code changes and unauthorized changes map to adversarial execution and escalation patterns. |
| NIST CSF 2.0 | PR.AC-4 | Least privilege and access control are directly relevant to governing AI development agents. |
| NIST SP 800-53 Rev 5 | AC-6 | Least privilege is the right control family for restricting AI tool and pipeline access. |
Map AI-assisted development abuse to execution and escalation tactics when evaluating control gaps.
Key terms
- AI-Driven Vulnerabilities: Security flaws that are created, copied, or amplified by AI-assisted coding and development workflows. The risk is not just that AI can make mistakes, but that it can scale the same insecure pattern across many repositories before teams notice.
- Insecure Design: A system design that fails to define safe trust boundaries, privilege limits, or data flows before implementation begins. In AI-assisted development, this includes unclear rules for what agents may generate, change, or deploy.
- Agentic security: The practice of governing software actors that can choose actions, tools, and timing in production workflows. It extends identity, authorization, logging, and lifecycle control to agents so their behaviour is tied to a verifiable principal and a revocable permission set.
What's in the full article
Arnica's full blog post covers the operational detail this post intentionally leaves for the source:
- Specific examples of how Arnie AI SAST identifies hidden backdoors and authorisation flaws in AI-generated code
- Details on the version-controlled rule files used to push secure coding instructions into AI tools
- Workflow examples showing how findings are delivered into Slack and Microsoft Teams for developer action
- Implementation detail on how continuous enforcement is applied across every push and branch
Deepen your knowledge
The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, secrets management, and workload identity for practitioners who need stronger control over non-human access. It is designed for teams building identity, security, and governance programmes that must now account for AI-driven actors.
Published by the NHIMG editorial team on August 19, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org