A pattern where an attacker relies on session resets or fresh conversations to reattempt an exploit with refined prompts. In AI governance, the control weakness is assuming a single refusal or one-time check is enough to stop later reconstitution of the same abuse path.
Expanded Definition
Context Reset Attack describes a prompt abuse pattern in which an attacker depends on conversation resets, new threads, or state loss to reintroduce the same malicious objective with slightly refined wording. In agentic AI systems, the relevant weakness is not just whether a model rejects a prompt once, but whether the surrounding policy layer preserves risk context across sessions. That distinction matters because the model may appear safe in a single interaction while the overall workflow remains exploitable.
Definitions vary across vendors, but the operational meaning is consistent: the attacker is testing whether safeguards are session-bound instead of identity-bound, policy-bound, or workflow-bound. This is closely related to prompt replay, refusal evasion, and iterative jailbreak behavior, but a Context Reset Attack specifically exploits the reset itself as a control gap. For broader agentic risk framing, NHIMG’s OWASP NHI Top 10 and the MITRE ATLAS adversarial AI threat matrix both help place this pattern in the context of repeated adversarial probing. The most common misapplication is treating a single model refusal as durable protection, which occurs when the control design forgets that the same user or agent can simply re-enter through a fresh context.
Examples and Use Cases
Implementing defenses against Context Reset Attacks rigorously often introduces state-management and logging overhead, requiring organisations to weigh user experience and low-friction conversation reset against stronger abuse resistance.
- An attacker asks a chatbot to reveal restricted operational steps, gets refused, then opens a new session and retries with a rephrased request designed to bypass the earlier safety decision.
- An AI agent with tool access is instructed to ignore prior policy context after a reset, then attempts the same unauthorized action path against a new thread or fresh workspace.
- A support assistant is used to extract secrets or internal procedures, and the attacker repeatedly restarts the conversation until the model accepts partial disclosures that were rejected earlier.
- A workflow agent performs a safe action in one session, but after reset it loses prior escalation history and can be coaxed into repeating the same risky tool invocation.
These patterns align with the attack style documented in CISA cyber threat advisories and with the iterative abuse logic described in NHIMG’s Top 10 NHI Issues. In practice, the defense challenge is to preserve policy memory across resets without over-blocking legitimate re-engagement.
Why It Matters in NHI Security
Context Reset Attack is an NHI security issue because many AI systems are not just chat interfaces, they are identity-bearing agents that can call tools, access secrets, and trigger downstream actions. If the reset boundary clears abuse history while credentials, permissions, or allowlists remain unchanged, the attacker gets repeated opportunities to probe until one attempt succeeds. That is especially dangerous when service accounts, API keys, or delegated agent credentials are involved, because the abuse path can move from conversation manipulation into real operational impact.
NHIMG research shows how often weak identity hygiene amplifies that risk: only 5.7% of organisations have full visibility into their service accounts, and 91.6% of secrets remain valid five days after notification, leaving a long window for repeated attempts. The same dynamic is visible in the Ultimate Guide to NHIs — Key Challenges and Risks, where persistence and revocation gaps are central themes, and in Ultimate Guide to NHIs — Why NHI Security Matters Now, which ties identity sprawl to enterprise exposure. Organisational controls should therefore treat context state as part of the security boundary, not just the model response. Organisations typically encounter the operational cost of this weakness only after repeated abuse, account compromise, or an unsafe tool action has already been executed, at which point the reset behavior 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, NIST AI RMF and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | NHI-07 | Covers repeated prompt abuse and refusal bypass in agentic systems. |
| OWASP Non-Human Identity Top 10 | NHI-04 | Addresses identity-bound controls for non-human sessions and agent workflows. |
| NIST CSF 2.0 | PR.AC-4 | Least-privilege access must survive repeated attempts and session resets. |
| NIST AI RMF | Requires governance for ongoing monitoring of AI misuse and control drift. | |
| NIST Zero Trust (SP 800-207) | Zero Trust assumes no implicit trust from prior successful interactions. |
Bind authorization to NHI identity and workflow state, not a single conversation thread.