Assets, attackers, and trust boundaries
A threat model describes protected assets, potential attackers, their capabilities, and unacceptable outcomes. An attack surface comprises the components and interfaces an attacker can influence. A trust boundary separates different assumptions about control or authority. Threat modeling turns these distinctions into requirements that can be tested.
Confidentiality protects against unauthorized disclosure; integrity protects against improper modification or destruction; availability preserves dependable, timely access. A support assistant can violate all three: exposing a private ticket, changing its contents without permission, or exhausting capacity needed by legitimate users.
Content and authority cross different boundaries
ExampleExternal influence can reach a privileged workflow.
Read the diagram as text
- Authenticated user.
- External documents. Attacker-editable content.
- Stored memory. Previously retained content.
- Application context assembly.
- Model provider boundary.
- Protected-service gate.
- Credential service.
- Customer records.
- Authenticated user → Application context assembly: Data: task.
- External documents → Application context assembly: Data: retrieved text.
- Stored memory → Application context assembly: Data: retained context.
- Application context assembly → Model provider boundary: Data: model input.
- Model provider boundary → Protected-service gate: Data: proposed operation.
- Authenticated user → Protected-service gate: Control: trusted identity.
- Credential service → Protected-service gate: Control: scoped credentials.
- Protected-service gate → Customer records: Control: authorized access only.
| Asset | Attacker capability | Unacceptable outcome | Required restriction |
|---|---|---|---|
| Private records | A malicious customer submits another customer's identifier. | Cross-customer disclosure. | Check the requesting identity against the selected record. |
| Credentials and action authority | A document author influences a tool proposal. | The assistant exercises privileges the author lacks. | External content cannot grant execution authority. |
| Memory and retrieved evidence | An attacker can insert stored records. | Later tasks inherit attacker-directed behavior. | Preserve origin and restrict how stored content can influence actions. |
| Training inputs and model artifacts | A supplier or insider can change data, dependencies, or deployed files. | Altered behavior or execution of untrusted code. | Control admission, provenance, and deployment identity. |
| Capacity, budget, and attention | A user submits expensive tasks repeatedly. | Legitimate work becomes unavailable or unaffordable. | Bound admitted and accumulated work. |
Authentication establishes identity; authorization determines permitted actions on particular resources. A service credential may reach more records than the person using the assistant. That distinction, developed in Privacy and Data Governance, must survive every tool handoff.
Deployment context changes exposure. An internal-only service, an intervening control, or a historical incident may explain why a suspicious code path is—or is not—reachable. Record that context and verify it with system owners; source code alone does not contain every security assumption.
Prompt injection and instruction authority
Prompt injection is an attempt to make attacker-controlled input redirect model behavior across an intended instruction boundary. Indirect prompt injection places those instructions in material the application retrieves. The legitimate user's request can remain unchanged while the document being read influences the next operation.
The entry point determines who needs control.
- Direct attempt — A user asks a support assistant to disregard its assigned task and reveal restricted information.
- Indirect attempt — A public troubleshooting document tells the assistant to perform an unrelated operation before completing the customer's request. The document author controls the instruction, although the customer merely requested a summary.
The promotion from content to authority
ExampleThe attack changes the proposed objective.
Read the diagram as text
- Summarize documentation. Legitimate user task.
- Attacker-authored document. Contains an unrelated directive.
- Model context.
- Redirected operation proposal.
- Summarize documentation → Model context: Trusted task instruction.
- Attacker-authored document → Model context: Retrieved task data.
- Model context → Redirected operation proposal: Failure: data treated as authority.
An ordinary factual error need not involve an adversary or an attempted instruction override. A jailbreak attempts to bypass restrictions on model behavior. Injection and jailbreaking can overlap, but the useful security distinction is the boundary being crossed: application instructions, model behavior restrictions, or both. Terminology varies, so test definitions should state the intended distinction.
Behavioral guidance and enforced separation provide different assurances.
- Learned instruction priority — Training can improve obedience to higher-priority instructions and resistance to conflicting lower-priority material. Instruction-hierarchy research also found over-refusal regressions. Role labels and reminders influence behavior; they do not independently check authority at a database or service.
- Parser-enforced separation — SQL parameter binding keeps supplied values separate from query syntax. Natural-language delimiters or Base64 marking do not create an equivalent parser contract for model behavior. Even SQL parameterization leaves authorization unresolved: a safely constructed query can still read a record the caller must not access.
Untrusted content across transformations and memory
Provenance records origin and transformation history. A summary may omit the wording and source distinctions needed to assess its authority. Preserve links from derived statements to their contributing inputs, as explained in Lineage and proportionate audit evidence. Traceability enables inspection; it does not make the source truthful.
Retrieval relevance is separate from authority. AgentPoison studies attackers able to insert records into an agent's memory or knowledge base; later retrieval can reactivate malicious demonstrations without changing model weights. Persistent storage therefore extends an attack's possible lifetime. Context Engineering covers input assembly, while Agent Memory covers storage and retrieval policy.
Derivation can hide origin
ExampleA new representation is not new authority.
Read the diagram as text
- External document. Known external origin.
- Derived summary. Origin omitted in this example.
- Stored memory record.
- Later retrieval result.
- Later action proposal.
- External document → Derived summary: Summarized into.
- Derived summary → Stored memory record: Stored as.
- Stored memory record → Later retrieval result: Retrieved into.
- Later retrieval result → Later action proposal: May influence.
The same instruction-boundary problem has additional entry points.
- Tool descriptions — Model Context Protocol, or MCP, connects agent applications to servers exposing tools and resources. Attacker-controlled descriptions can influence use of another server's legitimate tool; invoking the malicious tool is not always necessary. Historical tool-poisoning demonstrations establish this path. MCP covers the protocol mechanics.
- Images and recordings — Instructions can enter through multimodal interpretation or extracted text. Recognizing words in an image or recording grants no authority to perform them. A text-only filter does not cover every input representation.
CaMeL illustrates explicit dependency tracking: a quarantined model processes untrusted content, while an interpreter tracks sources and allowed readers through transformations and checks tool arguments. Its documented retry handling preserves this state within a task. Preserving authenticated restrictions through storage and later executions requires additional design; within-task continuity does not establish cross-session protection.
Tool calls and execution authority
A tool interface declares an operation and its arguments. The model proposes a call; application code or a framework dispatches it. Structured Outputs and Tool Calling explains these mechanics. Dispatch is the point where generated content can become an external effect, so successful parsing cannot be the execution decision.
| Check | What it establishes | What it leaves unresolved |
|---|---|---|
| Parsing | The request can be decoded. | Whether its fields are acceptable. |
| Schema validation | Required fields and types match the interface. | Whether values make business sense. |
| Semantic validation | The requested status change is meaningful in the workflow. | Whether this caller may change this record. |
| Authorization | Trusted identity and policy permit the operation on the selected resource. | Whether separate transaction approval is also required. |
A proposal needs independent authority
ExampleIdentifiers do not confer permission.
Read the diagram as text
- Validated proposal.
- Trusted caller identity.
- Resource and action policy.
- Authorization decision.
- Execute checked operation.
- Reject request.
- Validated proposal → Authorization decision: Data: selected operation.
- Trusted caller identity → Authorization decision: Control: requester.
- Resource and action policy → Authorization decision: Control: permitted scope.
- Authorization decision → Execute checked operation: Permitted.
- Authorization decision → Reject request: Not permitted.
A confused deputy is a component induced to misuse its own authority for another party. An assistant using a broad service account can become that deputy when it loses the identity of the person it represents. Possessing credentials establishes technical access, not permission to exercise that access for every request.
Authority must be enforced where protected resources are reached.
- Least privilege and complete mediation — Least privilege grants only the operations and resources needed. Complete mediation checks every protected access, including alternate tools and retries. The requesting agent must not be able to bypass or rewrite the check.
- Object-level access — Insecure Direct Object Reference, or IDOR, occurs when accepting an identifier substitutes for checking access to the referenced object. A reported agent exploit used an exposed user identifier to retrieve another person's information despite authentication.
- Privileged fetching — Server-side request forgery, or SSRF, redirects a server's request to an unintended destination. A reported repository-fetching tool sent private-repository credentials to an attacker-selected endpoint. Model-selected destination strings require their own enforcement.
For fetchers limited to known services, validate both destination syntax and membership in the permitted set. Redirects and domain-name resolution can change the actual destination after initial validation. Combine application and network controls. A destination being reachable or permitted still does not authorize sending every kind of private data to it.
Credentials also have an intended recipient, called their audience. MCP security guidance rejects passing through tokens without verifying that they were issued for the MCP server. Audience checks and per-client consent prevent specific delegation failures; neither establishes that a particular model-proposed operation matches the user's task.
Approval, changing state, and retries
Transaction authorization binds approval to significant details: actor, operation, target, material arguments, and validity period. Present those details from authoritative application state, not an attacker-written summary. Changing them invalidates approval. A final execution gate enforces the binding. Transaction guidance complements the distinction between proposed and approved record changes.
A time-of-check/time-of-use failure occurs when relevant state changes after validation but before execution. Approval for one record version may no longer justify modifying its replacement. Merely checking again can leave another race. The application needs an operation that couples validation with use, such as an appropriately designed atomic update or effective locking.
Approval follows the reviewed version
ExampleAction identity can persist while approval expires.
Version 1 receives scoped approval.
Read the diagram as text
- Record-change action.
- Proposal version 1.
- Version 1 approved.
- Proposal version 2. Changed target.
- Approval inapplicable to version 2.
- Version 2 execution blocked.
- Record-change action → Proposal version 1: Initial proposal.
- Proposal version 1 → Version 1 approved: Reviewed.
- Record-change action → Proposal version 2: Revised proposal.
- Version 1 approved → Approval inapplicable to version 2: Scope mismatch.
- Proposal version 2 → Approval inapplicable to version 2: Changed target.
- Approval inapplicable to version 2 → Version 2 execution blocked: No matching approval.
- Review. Version 1 receives scoped approval. Active: Record-change action, Proposal version 1, Version 1 approved. New: Record-change action, Proposal version 1, Version 1 approved.
- Change. Version 2 changes the target; earlier approval remains historical. Active: Record-change action, Proposal version 1, Version 1 approved, Proposal version 2, Approval inapplicable to version 2. New: Proposal version 2, Approval inapplicable to version 2.
- Enforce. Execution stops pending matching authority. Active: Record-change action, Proposal version 1, Version 1 approved, Proposal version 2, Approval inapplicable to version 2, Version 2 execution blocked. New: Version 2 execution blocked.
Approval, retries, and revocation solve different problems.
- Approval reuse — An approval must not become an unrestricted session permission. Enforce the transaction's permitted state sequence and lifetime; changed details require renewed authorization.
- Duplicate effects — Idempotency recognizes repeat requests so they do not repeat an operation. Stripe's API binds a key to parameters and a stored result after execution begins; its retention and failure rules are specific to that API. A new key after an ambiguous failure can repeat an effect. Idempotency does not grant permission.
- Revocation — Revoking a credential restricts future use, subject to propagation and provider behavior. It does not reverse a completed write or recall a disclosure. Confirm external results before choosing recovery actions.
Approval records must survive retries and callbacks with their identity, scope, arguments, and expiry intact. Harness Engineering covers persistence and execution mechanics; the security requirement is that resumed work cannot acquire broader authority than the inspected action.
Disclosure paths and the lethal trifecta
Exfiltration is unauthorized information transfer. Egress means outbound communication. The lethal trifecta identifies a dangerous combination: private-data access, attacker-controlled content, and external communication. Together they can let hostile content influence both what an assistant reads and where it sends the result.
The support assistant legitimately reads a customer's record and retrieves public documentation. An attacker-authored document attempts to make its next document-fetch URL contain private record content. Permission to read that record for support does not authorize this transmission. The scenario combines documented mechanisms; it is a constructed example, not a reported execution.
Read permission is not release permission
ExampleA fetch capability can carry private data outward.
Read the diagram as text
- Untrusted document.
- Private-record access gate.
- Assistant with private context.
- Outbound release gate.
- External destination.
- Transfer blocked.
- Untrusted document → Assistant with private context: Data: hostile instructions.
- Private-record access gate → Assistant with private context: Data: permitted private record.
- Assistant with private context → Outbound release gate: Data: proposed fetch URL.
- Outbound release gate → External destination: Disclosure permitted.
- Outbound release gate → Transfer blocked: Disclosure not permitted.
Disclosure review must follow copies and effects beyond the final answer.
- Prompts, files, and telemetry — Each copy creates another access and release boundary. Apply minimization before exposing fields to the model, generated artifacts, or diagnostic systems.
- Retrieval and caches — Serving a previously retrieved record still requires current permission. Reuse across customers must not bypass access checks merely because the result already exists in storage.
- Implicit network operations — Historical Markdown-image attacks placed private information in an image URL. Rendering initiated the request, making the interface itself an outbound channel even without an explicit send-message tool.
- Allowed destinations — Destination validation blocks particular routes. A permitted service may still receive data outside its approved purpose; destination checks and disclosure decisions remain separate.
- Vendor processing — Vendor obligations establish handling requirements. Assess actual downstream copies, access, and disposal rather than treating an agreement as observed enforcement.
A harmless final answer does not establish harmless execution. Tools may already have changed files, disclosed information, or modified remote state while producing it. Output filtering can prevent a later delivery; it cannot undo earlier effects.
Model artifacts and inference exposure
Weights are learned numerical parameters. Training changes them; inference applies the fitted model to new input. Retrieving a document into context is not itself a weight update. Training, fitted state, and inference explains the distinction, which separates attacks on model learning from attacks on a running application's inputs.
| Threat | Required access | Possible outcome | Evidence and limitation |
|---|---|---|---|
| Artifact theft or replacement | Read or write access to model storage or distribution. | Copied weights or a substituted artifact. | Verify artifact identity against a trusted release reference. A checksum alone does not establish that the reference is benign. |
| Model extraction | Queries and observable predictions. | A model that reproduces aspects of the target's behavior. | Evaluate functional agreement. Successful imitation need not recover original weights; richer confidence outputs can aid extraction, but label-only attacks also exist. |
| Membership inference | A candidate example and observable model behavior. | An estimate that the example participated in training. | Validate against known membership and report false positives. High likelihood alone does not establish membership. |
| Training-data extraction | Generated outputs, with validation access for confirmed findings. | Recovered training content. | Compare candidates with the training corpus. Demonstrated recovery from particular models does not imply arbitrary private records are recoverable. |
| Model inversion | Model behavior, often confidence information and known attributes. | Inferred sensitive features or a representative input. | A reconstructed input need not be an exact stored training example. The attacker's prior knowledge affects the inference. |
A backdoor is attacker-induced learned behavior activated by a trigger. BadNets demonstrates models with good ordinary validation accuracy and malicious trigger behavior under an attacker-controlled training process. This differs from manipulating retrieved content at inference. It also differs from an unsafe file loader: behaviorally malicious weights need not exploit deserialization.
Treat model acquisition and inspection as software supply-chain operations. Flexible formats and loading features can execute code; safer weight formats reduce particular risks without proving benign behavior. Separate weights from executable components, verify provenance, and isolate uncertain artifacts. PyTorch's security policy explicitly treats untrusted models as potentially untrusted programs.
Controls must match the exposed asset.
- Artifact lifecycle — Protect model storage and deployment pipelines, verify signing and provenance under an explicit trust policy, and check which approved artifact actually reached deployment.
- Prediction interface — Return only prediction detail the product needs. Continuous confidence outputs can offer richer training targets to an imitator. Investigate unusually heavy requester activity, while recognizing that high volume can also be legitimate.
Control placement and defense in depth
Isolation restricts what an execution environment can access or affect. A sandbox can constrain files, networking, credentials, and resources, but an allowed API call can still misuse a legitimate service without escaping. Sandboxes and Execution Isolation covers mechanisms; authorization determines which business actions those mechanisms should permit.
Defense in depth combines controls addressing different failure opportunities and consequences. Infrastructure protection, access policy, runtime inspection, and operating practice complement one another. A policy enforcement point is where a protected operation is allowed or denied. Its location matters: a model-facing restriction is ineffective if another route reaches the same resource.
Enforcement remains outside agent control
ExampleContainment and scoped access complement each other.
Read the diagram as text
- Agent: untrusted boundary.
- External enforcement boundary.
- Scoped read service.
- Scoped write service.
- Restricted outbound service.
- Denied request.
- Agent: untrusted boundary → External enforcement boundary: Data: capability request.
- External enforcement boundary → Scoped read service: Control: read scope permitted.
- External enforcement boundary → Scoped write service: Control: write scope permitted.
- External enforcement boundary → Restricted outbound service: Control: outbound scope permitted.
- External enforcement boundary → Denied request: Control: permission absent.
| Boundary and owner | Restriction | Failure behavior and residual risk |
|---|---|---|
| Artifact admission: platform team | Inspect origin and loading behavior before deployment. | Hold uncertain artifacts; inspection does not prove benign learned behavior. |
| Retrieval: data service | Return only task-relevant, permitted fields. | Withhold unauthorized data; permitted content may still carry hostile instructions. |
| Model input and output: application team | Inspect content for known unsafe patterns. | Block or escalate detected cases; variants may evade detection. |
| Tool execution: protected service | Check each requested operation independently. | Reject missing authority; equivalent alternate routes need the same enforcement. |
| Outbound communication: network and tool services | Enforce destination and operation restrictions. | Block disallowed requests even when the model follows an injection; permitted routes still need review. |
| Execution environment: runtime team | Restrict filesystem and network access together. | Either unrestricted boundary can leave a route for damage or disclosure. |
Independent enforcement limits consequences when behavioral controls fail.
- Keep credentials outside agent control — A mediator can perform credentialed operations without exposing the secret to the agent. It must still authorize the requested operation; hiding credentials alone does not prevent misuse of the mediator.
- Fail closed — If a required authorization check cannot complete, deny the protected operation. Availability pressure must not silently turn missing permission into permission.
- Remove unnecessary capability — A summarizer need not receive a send operation. Removing one tool is insufficient when a shell, browser, or other interface provides equivalent access.
Separating components is useful only if data and control paths remain constrained. Shared memory or derived values can reconnect untrusted processing with private reads and outbound operations. Dependency tracking must cover transformations and relevant control dependencies; simply assigning those steps to different models does not establish separation.
Residual risk remains after controls. Multiple model-based reviewers may share inputs, models, or mistaken assumptions; their independence needs evidence. Human escalation should explain the proposed action, suspected constraint violation, and consequences. Additional review can add cost and latency while still leaving failures possible.
Availability and resource abuse
Denial of service prevents legitimate work by exhausting or disrupting resources. Long inputs and expanding tool work make request counts a poor measure of consumption. Admission control decides whether new work may begin within available capacity and policy limits.
Generated code can exhaust CPU or memory through mistakes as well as attacks. Explicit time, CPU, and memory limits constrain individual executions; tenant isolation must also address whether one user's workload can disrupt another. Choosing a sandbox technology does not establish that these limits are configured.
One task can create repeated work
ExampleLimits must cover accumulated consumption.
Read the diagram as text
- Requester and admission limits.
- Task budget.
- Model work.
- Tool work.
- Retry request.
- Stop admission.
- Requester and admission limits → Task budget: Capacity permitted.
- Requester and admission limits → Stop admission: Limit reached.
- Task budget → Model work: Budget permits inference.
- Task budget → Tool work: Budget permits execution.
- Tool work → Retry request: Retryable failure.
Limits apply at several counting boundaries.
- Request and concurrency — Bound individual inputs and simultaneous execution.
- Task and requester — Accumulate calls and consumption across retries and separate requests.
- External artifacts — Limit quantities as well as operation types. Permission to create a pull request should not imply permission to create hundreds and overwhelm maintainers.
- No action — Allow an automation to finish without creating an artifact when no useful change is needed.
Cancellation is a request, not completion evidence. MCP's 2025-11-25 contract permits cancellation to arrive after completion or be ignored when work cannot be cancelled. It establishes neither downstream resource reclamation nor billing cessation. Harness Engineering covers stopping mechanisms; security claims require observing their actual reach.
Adversarial tests and bounded security claims
A security case specifies attacker control, initial permissions, a protected asset, and an observable prohibited effect. A test oracle judges those observations. Executable cases supply fixtures and trajectories; security testing adds adversarial objectives and checks environment changes separately from the assistant's response.
| Case | Attacker control | Required effect evidence | Legitimate work to preserve |
|---|---|---|---|
| Document-induced disclosure | Public document requests transmission of an artificial private record. | Inspect actual outbound requests at an instrumented destination and authorized routes. A refusal alone is insufficient. | Read the permitted record and summarize the public document. |
| Cross-customer access | Request names another customer's record. | Verify denial at the data service and absence of returned record content. | Retrieve the caller's permitted records. |
| Persistent injection | Insert an attacker-controlled memory record, then start a later task. | Inspect later retrieval and resulting actions without changing model weights. | Use legitimate stored context. |
| Changed approval | Replace a target or relevant record state after review. | Verify that the changed operation cannot commit under the earlier approval. | Execute an unchanged, currently authorized proposal. |
| Authorization outage | Make the required policy check unavailable. | Verify that protected execution is denied. | Keep unrelated, independently authorized functions available. |
| Resource exhaustion | Trigger unbounded code or repeated costly work. | Observe enforced limits and effects on other tenants. | Complete ordinary bounded tasks. |
Different test layers support different claims.
- Enforcement checks — Exercise the protected boundary directly with permitted and forbidden requests. These checks establish behavior for the tested policy and state combinations.
- Security regressions — Retain known attack cases and verify them after changes. Observed red-team failures should inform runtime controls and subsequent testing.
- Exploratory red teaming — Search for new ways to achieve an unauthorized objective. Separate candidate discovery from adversarial verification so plausible findings receive independent scrutiny.
Attack success must name its denominator. Assume four cases receive three attempts each, with complete observations: two successful attempts both affect one case. Per-attempt success is 2/12; any-success-per-case is 1/4. Neither is a deployment compromise probability. Adaptive attackers change subsequent attempts using feedback, so record both their capabilities and attempt budget.
Report legitimate-task success alongside attacker success. Distinguish a blocked effect from an unobserved effect; missing destination records cannot establish prevention. Metrics and denominators explain this accounting, and release decisions connect coverage and consequential failures to deployment choices.
Interpretation also depends on the evaluator and configuration.
- Classifier errors — If positive means detecting an attack, a false positive labels benign input as an attack and may block it under a blocking policy; a false negative misses an attack. Report the positive class and denominator. Precision and the false-positive rate answer different questions.
- Evaluator injection — Candidate answers can contain instructions aimed at their judge. JudgeDeceiver demonstrated this under specified model and attack settings. Test clean and injected candidates, including order swaps where ranking is involved; schema-valid scores do not establish trustworthy judgments.
- Comparable evidence — Record model, prompt, policy, tool, and dataset versions, repeated attempts, scenario coverage, severity, and benign failures. Changing models and controls together does not isolate either one's contribution.
Detection and investigation evidence
Investigation joins records across ingestion, authorization, execution, and external effects. Propagated trace identifiers can connect service activity, but they neither authenticate the records nor establish causality. Uninstrumented services remain gaps. Telemetry coverage determines where an investigation must seek additional evidence.
Choose diagnostic fields for a defined investigation purpose. Exclude secrets and unnecessary personal data, restrict readers, and define retention and disposal. Capture policy applies before export. Auditability does not authorize indiscriminate copying of prompts, records, or tool results.
| Record | Useful fields | Interpretation limit |
|---|---|---|
| Input and configuration | Actor, source identifier, model and policy version, interaction identifier. | External text and identifiers may be forged; preserve their trust status. |
| Authorization decision | Operation, object, approval version, destination, result, reason. | Permission or denial does not establish what subsequently executed. |
| Execution attempt | Actual arguments, attempt identity, external result. | An attempted call does not prove its user-visible effect. |
| Observed effect and resource use | Confirmed state change or export, quota decision, relevant failures. | Missing observations remain unknown; suspicious activity is not itself proof of disclosure. |
Diagnostic records can carry the original injection into a second model. Treat captured prompts and tool results as untrusted when an evaluator reads them. Keep scoring separate from production credentials and write-capable tools; authorize any downstream action independently of the evaluator's text or score.
Alerts need a decision and an owner.
- Attempted violation — Route repeated authorization failures, workflow bypass attempts, or unusual exports to the service owner for investigation. Protect logs from injected formatting and unauthorized modification.
- Changed behavior — Assign model or application owners to investigate abrupt and gradual changes. Ordinary drift and compromise can look similar; changes to prompts, data, and models require reassessment.
Containment and verified restoration
Incident response coordinates investigation, containment, recovery, and learning after a suspected security event. NIST's guidance distinguishes limiting further harm from establishing safe restoration. Investigation and recovery can overlap under explicit criteria.
Contain the affected capabilities while preserving proportionate evidence.
- Execution and outbound access — Stop admitting affected work, disable implicated tools or routes, and request cancellation. Verify which operations actually stopped rather than assuming the request reached every dependency.
- Credentials — Revoke exposed authority and verify provider behavior, including related credentials and propagation. Completed disclosures and external actions require separate consequence assessment.
- Persistent content — Quarantine implicated source and memory records against later retrieval. Removing the original input does not establish that every reusable copy or derived instruction has disappeared.
Containment does not establish restoration
ExampleResumption requires evidence and authority.
Initial availability.
Read the diagram as text
- Support deployment.
- Operating.
- Contained.
- Protected evidence.
- Investigation.
- Restricted validation.
- Authorized resumption.
- Support deployment → Operating: Initial state.
- Operating → Contained: Containment applied.
- Protected evidence → Investigation: Supports assessment.
- Contained → Restricted validation: Trusted repair ready.
- Restricted validation → Authorized resumption: Criteria met; owner confirms.
- Operating. Initial availability. Active: Support deployment, Operating. New: Support deployment, Operating.
- Contained. Restrict harm and investigate. Active: Support deployment, Operating, Contained, Protected evidence, Investigation. New: Contained, Protected evidence, Investigation.
- Validating. Test restoration before production use. Active: Support deployment, Operating, Contained, Protected evidence, Investigation, Restricted validation. New: Restricted validation.
- Resumed. Confirm restoration and monitor adequacy. Active: Support deployment, Operating, Contained, Protected evidence, Investigation, Restricted validation, Authorized resumption. New: Authorized resumption.
An action history linked to configuration changes helps reconstruct which agent state produced which behavior. Event-sourced designs such as ActiveGraph retain that relationship through typed events. Restoring earlier internal state is separate from reversing remote effects; replay or rollback facilities do not establish that a sent message or disclosure was undone.
Recovery evidence belongs to an identifiable deployment configuration. Replacing a model, changing a prompt, or rebuilding a data source can change behavior. Verify the restored combination and monitor it after resumption; a previously passing configuration does not automatically validate its successor.
Restoration requires both repaired controls and evidence of useful operation.
- Validate the repair — Verify that the original exploit no longer succeeds, preserve existing tests, and probe related attack paths afresh. Require accountable review before accepting a security patch.
- Preserve uncertainty — When derivatives cannot be traced reliably, record the unresolved exposure rather than declaring cleanup complete. Rebuilding from trusted inputs may require a broader recovery boundary.
- Record recovery outcomes — Keep proposed recovery actions, overrides, execution results, and validation outcomes distinct. Escalation is appropriate when evidence or authority is insufficient for automatic action.
Open questions
Cross-session information-flow restrictions remain difficult when summaries, memory, and reloads change representation. Progress requires authenticated provenance and reader restrictions surviving those transformations, with tests showing that later tasks cannot silently broaden disclosure authority.
Task-specific access must preserve useful discovery without accepting the agent's own justification as permission. A meaningful advance would distinguish necessary incident-related reads from unrelated requests under adversarial inputs, while measuring both unauthorized grants and blocked legitimate work.
Adaptive security evidence remains difficult to translate into deployment decisions because attacker strategies and budgets change. Progress requires reproducible objectives, explicit attempt budgets, matched benign tasks, and reassessment against stronger attacks rather than a single clean scan.
Poisoned-derivative recovery needs evidence that restoration removed persistent influence without destroying necessary records. Missing lineage complicates scope assessment; progress would demonstrate trusted reconstruction, related-path retesting, and owner-confirmed restoration across affected components.


























































































































































