Independent analysis by NHI Mgmt GroupSource article: ZioSec, “Break Your Own AI Agent: A Practical Red-Team Framework for Builders (Part 2)” (April 23, 2026)

TL;DR: AI agent red-teaming becomes evidence production, not prompt chaos, when a six-phase framework defines scope, threat modelling, attack chaining, evidence, remediation, and retesting across Claude Code, OpenClaw, and custom harnesses, according to ZioSec. The core lesson is that AI agent security must be tested as a runtime attack surface mapped to auditor-ready controls, not as a collection of isolated jailbreak prompts.


At a glance

What this is: NHI Mgmt Group's analysis, drawing on ZioSec's blog post: Effective red-teaming of AI agents must produce evidence through six structured phases rather than isolated prompt attacks.

Why it matters: It matters because IAM, security, and AI governance teams need repeatable ways to prove agent risk, map findings to controls, and verify remediation before agents touch enterprise tools and data.


Context

AI agent red-teaming fails when teams treat runtime behaviour like a collection of isolated prompts instead of an attack surface with tools, memory, state, and external access. The article argues that builders need a structured way to test what an agent can reach, what it can be induced to do, and what evidence the test generates for governance.

For identity and access practitioners, the core issue is not model quality but delegated capability. Once an AI agent can call tools, access data, and act across multiple systems, the security question becomes how that runtime access is scoped, observed, mapped to controls, and retested after fixes.


Key questions

Q: What should teams do first when red-teaming an AI agent?

A: Start by writing a scope document that inventories the agent, its tools, data sources, memory, and blast radius. Without that baseline, testing becomes a sequence of prompts with no security meaning. Scope turns a loose exercise into a controlled assessment that can be repeated, audited, and compared across harnesses.

Q: Why do chained attacks matter more than single jailbreak prompts?

A: Because AI agents fail through sequences, not just isolated strings. A chained attack can combine prompt injection, tool calls, and context drift to reach an outcome that a single prompt would not achieve. That is why evidence of a successful chain is more valuable than a large volume of failed prompt attempts.

Q: How do security teams decide whether an AI-generated finding is real?

A: They should require three things: a reachable path, a believable failure mode, and independent human confirmation. If any of those are missing, the result is still a hypothesis, not a finding. That discipline is what keeps AI-assisted research from becoming a high-volume false-positive engine.

Q: How can teams tell whether remediation is actually working after an audit?

A: Teams should look for changed access states, reduced stale accounts, patched endpoints, and a successful follow-up test. If the same exceptions reappear or the same accounts remain active, remediation is only symbolic. The best signal is when a retest no longer reproduces the original failure mode.


Technical breakdown

Why prompt lists are not a red-team method for AI agents

Prompt-only testing usually measures whether a known jailbreak string works, not whether an agent can be driven through chained behaviour to a real outcome. A useful red-team method starts with scope and threat modelling because the agent is not just a model, it is a runtime system with tools, memory, files, and downstream effects. Once those assets are enumerated, attacks can be goal-based rather than cosmetic. That shift is what turns noisy testing into evidence production and creates a repeatable basis for risk review.

Practical implication: treat ad hoc prompt testing as a signal, not a programme, and require scope plus threat models before any AI agent assessment.

How chained tool misuse changes the attack surface

AI agent compromise is often not a single malicious prompt but a sequence that combines indirect prompt injection, tool calls, and stateful context across several turns. That means the exploitable surface sits across model, protocol, and tool layers, and the relevant failure is often trust between those layers rather than one bad response. When a chain succeeds, the finding is not simply that the agent was persuaded, but that its delegated actions were reachable through a reproducible sequence of inputs and calls. That is why logs become first-class evidence.

Practical implication: instrument tool calls, prompts, and returns together so you can reconstruct attack chains and prove how the agent was manipulated.

Why evidence mapping matters more than raw exploit count

A red-team result has little governance value if it cannot be translated into a control language auditors and security leaders already use. The article explicitly maps findings to OWASP ASI, MITRE ATLAS, ISO 42001, NIST AI RMF, and AIUC-1 because evidence without framework mapping is hard to prioritise and harder to remediate. The strongest programmes produce a finding, a chain, a severity judgment tied to blast radius, and a retest record. That structure makes agent testing comparable across harnesses and useful for control owners.

Practical implication: require every AI agent finding to include framework mapping, blast-radius reasoning, remediation ownership, and a verified retest.


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

AI agent red-teaming is becoming evidence engineering, not prompt theatre. The useful output is no longer a clever jailbreak but a reproducible chain that shows what the agent can reach, how it can be steered, and what governance artefact the security team can act on. That is why six-phase testing matters: it creates a bridge between adversarial behaviour and audit-ready control language. The practitioner conclusion is simple: without evidence, the exercise does not scale beyond novelty.

The key governance shift is from model-centric testing to delegated-action testing. A model that answers badly is a quality problem; an agent that can be induced to call tools, touch data, or execute commands is an access-control problem. This is where identity security meets agentic risk, because the real question is whether the runtime authority assigned to the agent is observable and reviewable. The practitioner conclusion is to govern the action surface, not just the prompt surface.

OWASP ASI and MITRE ATLAS are useful here because they force adversarial structure onto an otherwise vague category. AI agent programmes need common language for goal hijack, tool misuse, supply-chain exposure, and cascading failure, especially when multiple harnesses are in play. ISO 42001 and NIST AI RMF then give the management-system wrapper for finding ownership, remediation tracking, and verification. The practitioner conclusion is to align red-team output to controls the business can actually govern.

Cross-harness testing is the right default because the agent is the system, not the wrapper. Claude Code, OpenClaw, and custom stacks may expose different exploit primitives, but the risk persists at the level of delegated runtime behaviour. That means a single passing test on one harness is not evidence of safety elsewhere. The practitioner conclusion is to test per harness and per tool path, then treat differences as design facts, not anomalies.

Named concept: evidence-first red teaming. The article’s strongest contribution is the shift from attack generation to evidence production, where each finding is documented, severity-rated, mapped to a framework, remediated, and re-tested. That concept matters because it turns AI agent security from an offensive exercise into an operational control loop. The practitioner conclusion is to make evidence the output, not the by-product.

From our research library:

What this signals

Evidence-first red teaming: AI agent testing is maturing from exploratory prompt play into a control loop that produces scope, findings, remediation ownership, and re-test artefacts. That matters because governance teams need outputs they can certify, not just attacks they can admire.

Cross-harness drift is the hidden risk: the same agent logic can behave differently across Claude Code, OpenClaw, and custom stacks, so a single successful assessment does not imply programme-wide safety. Security teams should compare harnesses as separate runtime environments, then treat differences as design facts to govern.

The category is moving toward structured adversarial testing because the real unit of risk is delegated runtime action, not the prompt alone. That means agent programmes need assessment evidence that survives audit, change management, and incident review.


For practitioners

  • Define the agent as a runtime system Document the model, harness, tools, data sources, memory, state, and outbound effects before testing begins.
  • Write threat models per tool and data source List realistic abuse scenarios for each tool and record the expected attack shape from prompt, tool call, and target perspectives.
  • Run goal-based attack chains Test chained prompts across turns and tools, not isolated jailbreak strings, and log every prompt, response, call, and return.
  • Package findings as evidence artifacts For each successful chain, capture the achieved goal, step-by-step reproduction, framework mapping, severity, and remediation path.
  • Re-test the exact chain after remediation Re-run the original attack and close the finding only when the same chain, and close variations, fail reliably.

Key takeaways

  • AI agent red-teaming only becomes useful when it is treated as a governed testing process with scope, attack chains, evidence, remediation, and retesting.
  • The article’s framework is designed to turn adversarial findings into audit-ready artefacts that different stakeholders can actually use.
  • Security teams should test each harness separately, because Claude Code, OpenClaw, and custom agents can expose different exploit primitives.

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 ATLAS address the attack surface, NIST AI RMF sets the technical controls, and ISO/IEC 42001:2023 defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI02 — Tool MisuseThe article centres on tool-calling abuse in AI agents.
ASI03 — Identity & Privilege AbuseThe framework maps how agents use delegated access across tools and data.
Recommendation — Test agent tool paths for misuse and require evidence for each successful chain. Restrict delegated privileges and review agent access paths against ASI03.
MITRE ATLASTA0006;TA0008 — Credential Access; Lateral MovementChained agent attacks can reach secrets and move through connected tools.
Recommendation — Map agent attack chains to credential access and lateral movement behaviours.
NIST AI RMFGOVERN — AI Governance and AccountabilityThe article emphasises evidence, ownership, and lifecycle governance for testing.
Recommendation — Build governance for red-team findings, owners, and verification under GOVERN.
ISO/IEC 42001:2023AIMS — Artificial intelligence management systemThe article stresses a management-system approach to AI agent security testing.
Recommendation — Use an AI management system to formalise testing, remediation, and verification.

Key terms

  • AI Agent Red Teaming: AI Agent Red Teaming is the practice of deliberately testing an AI agent to find unsafe behavior, hidden failure modes, and security weaknesses before real attackers do. It evaluates how the agent handles prompts, tool use, memory, permissions, data exposure, and autonomous actions under adversarial conditions, including manipulation, deception, and policy bypass attempts.
  • Attack Chain: An attack chain is a sequence of prompts, observations, and tool calls that moves an AI agent from a benign starting point to a harmful result. In agent security, the chain matters more than any single prompt because real risk often emerges only when actions accumulate across steps.
  • Evidence Package: An evidence package is a structured finding record that captures what the agent achieved, how it achieved it, how severe the impact is, and how the issue was remediated and verified. It gives CISOs, auditors, and engineers a shared artifact for decision-making.
  • Harness: The harness is the layer of instructions, policies, and approval logic wrapped around an AI agent. It is where organisations try to constrain behaviour, but it only works if the rules are explicit, current, and enforced outside the model itself.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on June 9, 2026.
Updated on October 10, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org