By NHI Mgmt Group Editorial TeamBased on Checkmarx: “Codemender, Aardvark, and the Rise of Agentic AppSec: What Developers Need to Know” (November 11, 2025)

TL;DR: Google DeepMind’s CodeMender and OpenAI’s Aardvark show how agentic AI is moving into AppSec automation, with repository-wide scanning, exploitability validation, and patch proposal workflows, according to Checkmarx. The real governance question is whether these tools reduce remediation friction without creating new trust, validation, and runtime risk gaps in developer pipelines.


At a glance

What this is: Checkmarx argues that AI AppSec agents are moving security review earlier in the SDLC, but their value depends on validation, workflow integration, and controls that limit false confidence in machine-generated fixes.

Why it matters: This matters because IAM, PAM, and AI security teams will increasingly need to govern agentic tooling that can read code, propose changes, and influence release decisions inside development pipelines.


Context

AI AppSec agents are systems that inspect code, validate exploitability, and suggest or generate fixes during development. The governance gap is that these tools can reduce remediation friction while also adding a new layer of trust in machine-generated analysis, especially when they operate inside repositories and CI workflows. For identity and access teams, the relevant question is who or what is authorised to act on code, approve changes, and trigger downstream delivery steps.

The article positions this as a shift-left problem rather than a pure model capability question. That makes the identity angle real: the agent is not just analysing code, it is participating in software change control, which means its permissions, boundaries, and review paths become part of the security model. That is typical of where agentic AI is headed in enterprise engineering teams.

The practical concern is not whether AI can help AppSec, but whether organisations treat these agents as advisory tools or privileged participants in the delivery pipeline. Once the agent can scan, validate, and propose patches at scale, governance has to follow the workflow, not the other way around.


Key questions

Q: What breaks when AI AppSec agents are allowed to approve their own fixes?

A: Control quality breaks first, then code integrity. If an agent can identify a defect, generate a patch, and effectively certify that patch without independent review, false confidence becomes a security risk. Teams need separation between detection, remediation, and approval, plus sandbox validation that cannot be influenced by the same model making the recommendation.

Q: Why do autonomous AI agents create new AppSec risk in CI/CD workflows?

A: Autonomous agents compress code creation, testing, dependency selection, and execution into a single machine-driven sequence, so a bad instruction or unsafe dependency choice can propagate before a human review happens. The risk is not just faster mistakes. It is that the control point moves earlier, and many traditional AppSec checks are positioned too late to stop the decision that caused the issue.

Q: How do teams know whether AI-generated patches are actually safe?

A: They need independent validation that checks for exploitability, regression, and build integrity before a patch reaches merge or deployment. A fix is not safe just because the agent produced it. Teams should look for evidence that the patch preserves behaviour, passes tests, and has a clear review trail.

Q: Should organisations treat agentic security tools like automation or like delegated operators?

A: They should treat them as delegated operators. That framing forces teams to define authority, constrain credentials, and set review obligations, instead of assuming a tool is safe simply because it is acting inside a security workflow.


Technical breakdown

How agentic AppSec agents fit into the SDLC

Agentic AppSec tools sit between code authoring and release controls. They can scan repositories, assess exploitability, and propose patch candidates before merge, which means they operate as security intermediaries rather than passive scanners. The architectural change is important: these agents are not only observing code, they are influencing remediation decisions and workflow outcomes. That creates a new control surface across IDEs, commits, sandbox validation, and pull request review. Practical implication: define where agent output is advisory, where it is gated, and where human approval remains mandatory.

Practical implication: Constrain agent permissions to advisory actions unless a review step explicitly authorises code changes or merge decisions.

Why validation loops do not remove model risk

The article highlights a built-in verification step because LLM-driven analysis can produce false positives or weak fixes. That is not a minor implementation detail, it is evidence that the agent’s output cannot be treated as inherently reliable. In practice, validation loops reduce noise, but they do not solve the underlying problem that the model may generate plausible but unsafe remediations or miss context that only humans understand. Practical implication: treat exploitability checks and patch validation as safeguards, not proof of correctness.

Practical implication: Require independent validation for any generated remediation before it reaches a repository or deployment gate.

Safe refactoring depends on code integrity controls

When an agent rewrites unsafe code, the security question extends beyond vulnerability removal to build integrity, dependency consistency, and test coverage. Safe refactoring means the patch must preserve application behaviour while avoiding regression, broken builds, or accidental exposure of adjacent weaknesses. That requires strong control over the repository state, dependency updates, and the execution environment in which the agent tests its own changes. For identity practitioners, this also means the agent’s access should be scoped like any other high-impact automated actor. Practical implication: couple agentic remediation with least-privilege access and change-control logging.

Practical implication: Limit the agent to the narrowest code and CI permissions needed to validate fixes and record every automated change for review.


NHI Mgmt Group analysis

Agentic AppSec is becoming a governance problem, not just a tooling upgrade. Once AI agents can scan repositories, validate exploitability, and propose fixes, they are participating in control decisions that used to belong to humans. That means security teams need to govern authorisation, review, and rollback paths around the agent itself, not just the code it touches. The practitioner takeaway is that agent permissions now belong in the same conversation as SDLC control ownership.

Verification does not eliminate trust debt. The article’s emphasis on self-checking agents shows that model outputs are not reliable enough to be accepted at face value. The more an AppSec workflow depends on generated patches, the more organisations inherit a trust problem around false positives, incomplete context, and remediation quality. The named concept here is remediation trust gap: the distance between a machine-generated fix and a fix that has been independently validated as safe. The practitioner takeaway is to treat generated remediation as a candidate, not a control outcome.

Shift-left only works if the agent cannot become a hidden privileged path. An AI security reviewer that sits inside IDEs, repositories, and CI pipelines can quietly accumulate influence over change flow. That creates an identity and privilege issue because the agent is effectively a non-human actor with access to sensitive code and workflow decisions. Where agentic AI intersects with IAM, the control question is whether those privileges are bounded, auditable, and revocable. The practitioner takeaway is to govern the agent like any other high-risk workload identity.

The market is moving from detection-first AppSec to intervention-first workflows. The direction of travel is clear: security tooling is shifting from finding issues after the fact to influencing code before merge. That validates the need for developer-first controls, but it also raises the bar for evidence, accountability, and separation of duties. The practitioner takeaway is to reassess whether current SDLC controls still make sense when non-human agents can propose and test fixes at speed.

AI coding assistants and AI security agents are converging into the same governance surface. The article implicitly shows that code generation, code review, and code repair are no longer separate concerns when agents can operate across all three. That matters for identity governance because access no longer maps neatly to human roles. The practitioner takeaway is to align agent permissions, approval logic, and monitoring with the full lifecycle of code change.

From our research library:

What this signals

Remediation trust gap: AI AppSec agents do not just reduce manual review load, they move the trust boundary into code generation and validation. That means programme owners need to decide which remediation steps can be machine-assisted and which must remain human-controlled before release.

Agentic security tools will increasingly influence both development velocity and governance design, so teams should expect their SDLC controls to become more explicit about approval rights, test evidence, and audit trails. The practical issue is no longer whether automation belongs in AppSec, but where its authority must stop.


For practitioners

  • Define agent permission boundaries Limit AppSec agents to the minimum repository, CI, and ticketing permissions needed for their task. Separate read-only analysis from patch generation and from merge authorization so the agent cannot silently cross control boundaries.
  • Require independent patch validation Make every generated fix pass human review or an equivalent independent validation stage before it can enter a protected branch or release pipeline. Do not let self-validated output become the final approval signal.
  • Log agent actions as security events Record code reads, patch proposals, sandbox runs, and workflow interactions as auditable security events. Treat the agent as a non-human actor whose activity must be searchable across development and security operations.
  • Segment remediation from deployment authority Separate the ability to suggest a fix from the ability to merge, release, or alter production configuration. Keep deployment authority with human-controlled processes and enforce explicit approval for any code path that can reach production.
  • Test for regression and hidden breakage Run automated tests and dependency checks on every machine-generated patch, especially when the agent rewrites code across files. Safe refactoring has to preserve application behaviour, not just remove the immediate flaw.

Key takeaways

  • AI AppSec agents are moving security decisions closer to the developer workflow, but their outputs still need governance because machine-generated patches can be wrong or incomplete.
  • The main evidence in this article is that automated validation is being built into the agents themselves, which shows that model output cannot be accepted without checks.
  • Teams should separate analysis, remediation, and approval rights so that agentic tools help security without becoming hidden privileged actors in the delivery pipeline.

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 OWASP Non-Human Identity Top 10 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.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseThe article centers on AI security agents operating inside code workflows with meaningful privilege.
ASI05 — Unexpected Code ExecutionAgent-generated patches and test-case execution can introduce unsafe code paths during validation.
Recommendation — Scope agent privileges tightly and log every action that changes code or workflow state. Isolate agent test execution and review any generated code before it reaches protected branches.
NIST AI RMFGOVERN — AI Governance and AccountabilityThe article is fundamentally about how to govern AI systems that participate in security decisions.
Recommendation — Assign clear accountability for agent approval, monitoring, and rollback across the SDLC.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsAgentic AppSec tools need bounded permissions if they are to act safely inside pipelines.
Recommendation — Review permissions for every non-human actor and remove any entitlement not needed for the task.
OWASP Non-Human Identity Top 10NHI-05 — Overprivileged NHIThe agent behaves like a non-human identity with access that can exceed its narrow purpose.
Recommendation — Audit agent access for overprivilege and reduce it to the minimum code and workflow scope.

Key terms

  • Agentic AppSec: An application security model that embeds detection, remediation, and policy enforcement into AI-assisted development workflows. It treats AI coding tools and remediation agents as part of the security control plane, not just productivity software that developers use informally.
  • Remediation gap: The remediation gap is the distance between identifying a security issue and proving that the underlying exposure is actually gone. In practice, it includes ownership, deployment, validation, and evidence. The gap matters because a fix that never reaches production leaves the attacker-facing condition unchanged.
  • Safe Refactor: A remediation pattern that checks whether a proposed fix introduces regression, dependency breakage, or build failure before the change is merged. It is useful where automatic security fixes must be validated against application behaviour and production stability.
  • Non-Human Actor: A non-human actor is any software or machine entity that can initiate actions, make requests, or interact with systems without direct human operation at the moment of execution. In identity security, it includes bots, services, workloads, scripts, devices, and AI agents that require governance, authentication, authorization, and auditability.

Deepen your knowledge

The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, agentic AI identity, and machine identity security. It helps practitioners design control boundaries for non-human actors across modern security programmes.
NHIMG Editorial Note
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