Recursive risk occurs when a control inherits the same weakness as the system it is meant to guard. In AI security, that happens when a generative model is asked to police another generative model, creating a loop where both can be manipulated by the same prompt-based attack.
Expanded Definition
Recursive risk describes a control pattern where the safeguard inherits the same failure mode as the thing it is supposed to govern. In NHI and agentic AI security, the clearest case is model-on-model oversight: one generative model is asked to evaluate, filter, or constrain another model, yet both remain exposed to prompt injection, instruction hijacking, or data poisoning. The result is not a stronger boundary but a mirrored weakness. This is why NHI Management Group treats recursive risk as a governance problem as much as a technical one, especially when the control plane is itself an autonomous agent.
Definitions vary across vendors on whether recursive risk is a distinct class of AI risk or simply a subcase of control failure, but the operational concern is consistent: the validator must not share the same trust assumptions, execution context, or attack surface as the subject it monitors. NIST’s NIST Cybersecurity Framework 2.0 frames this as a resilience and governance issue, not just a model safety issue. The most common misapplication is using the same promptable model to review another promptable model, which occurs when teams optimize for speed and convenience instead of independent assurance.
Examples and Use Cases
Implementing recursive-risk controls rigorously often introduces extra latency and operating cost, requiring organisations to weigh automation speed against the need for independent verification.
- An AI agent drafts remediation steps, then another LLM scores those steps for policy compliance, but both can be steered by the same injected instruction embedded in the ticket text.
- A content moderation model reviews outputs from a code-generation model, yet both are trained or tuned on overlapping corpora, allowing the same adversarial phrasing to influence both systems.
- A security assistant approves access requests generated by another agent, but a single prompt chain can manipulate the requester and approver because neither has an independent trust anchor.
- An incident triage bot validates alerts produced by a detection agent, but recursive failure appears when the validation logic is also expressed in natural language and exposed to the same attacker-controlled inputs.
- The OWASP NHI Top 10 is useful here because it highlights how agentic systems can collapse when controls and subjects share the same prompt surface.
For a broader NHI context, see Top 10 NHI Issues and the Ultimate Guide to NHIs — Key Challenges and Risks, which both show how control gaps become amplified when identities, secrets, and execution pathways are entangled.
Why It Matters in NHI Security
Recursive risk matters because it breaks the assumption that a control is a separate layer of defense. In NHI environments, that assumption is already fragile: NHIs outnumber human identities by 25x to 50x in modern enterprises, and NHI Management Group research shows that 72% of organisations have experienced or suspect a breach of non-human identities. When an AI system is entrusted to approve secrets usage, rotate credentials, or police agent actions, a shared prompt attack can turn governance into a self-referential loop where the guard rails fail in the same way as the workload.
This is especially dangerous for agentic AI and automated identity operations because compromise may not look like a traditional exploit. It may first appear as policy drift, false approvals, or missed remediation inside workflows that seem healthy on the surface. The practical lesson is that controls need independence, not just more model layers. For governance context, the Ultimate Guide to NHIs — Why NHI Security Matters Now explains why weak identity hygiene rapidly becomes systemic exposure. Organisations typically encounter recursive risk only after an agent approves the wrong action or suppresses the alert that would have exposed it, at which point the control problem becomes operationally unavoidable to address.
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 CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | A2 | Agentic systems can recursively trust prompts or outputs from similar models. |
| OWASP Non-Human Identity Top 10 | NHI-09 | Recursive controls amplify NHI governance failures when agents handle secrets or approvals. |
| NIST CSF 2.0 | GV.SC | Recursive risk is a supply-chain and governance issue when automated controls depend on each other. |
Require independent assurance for automated control chains and document failure dependencies.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on July 5, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org