I. Model the system under attack
Assets, attackers, and successful attacks
Security begins with an asset: something whose loss or misuse matters. Confidentiality, integrity, and availability are security objectives for those assets. Private records and credentials require confidentiality; training data, model artifacts, policy decisions, and business records require integrity; serving capacity and tool dependencies require availability. An agent may also hold delegated authority—the capability to send messages, alter accounts, deploy code, or spend money. A hosted model's behavior can have economic value even when its weights remain inaccessible, making its loss or misuse consequential.
A threat model describes more than a bad output. It states the attacker, required capability, entry point, affected asset, existing controls, and adverse consequence. Relevant actors include malicious users, authors of retrieved content, compromised suppliers or integrations, insiders, and users attempting to cross tenant boundaries. The same observed response may be harmless in one architecture and a breach in another: mentioning a salary is different from retrieving another employee's actual record.
Assets and losses
| Asset | Security objective or other concern | Example loss |
|---|---|---|
| Customer record | Confidentiality and integrity | Unauthorized disclosure or modification |
| Tool credential | Delegated capability | Actions performed outside the represented user's permission |
| Model or checkpoint | Integrity; economic value affects impact | Substitution, malicious loading, or behavioral extraction |
| Service capacity | Availability; economic cost affects impact | Runaway calls consume shared capacity or budget |
| Decision record | Integrity and attribution | A consequential action cannot be tied to its actor or evidence |
Entry points and trust boundaries
A trust boundary is a crossing between components governed by different identities, permissions, operators, or validation assumptions. Extend the processing inventory from Privacy and Data Governance: for every message, document, tool result, cache entry, and outbound request, record its origin, who may influence it, which identity carries it, what validation occurred, and which assets become reachable after the crossing.
The attack surface includes direct requests, uploads, webpages, retrieved records, long-term memory, tool descriptions, tool results, model and provider APIs, generated files, renderers, logs, caches, and plugins. An input can be structurally valid and relevant to the task while still being adversarial. Likewise, a component inside one cloud account is not automatically trusted by every tenant or authorized for every resource.
Questions for every crossing
- Origin — Who created or can modify the value?
- Identity — Which user, tenant, workload, or service principal is represented?
- Authority — What data, tools, destinations, and effects become reachable?
- Enforcement — Which component independently validates and authorizes the operation?
- Evidence — Which record would distinguish a proposal, denial, accepted request, and completed effect?
II. Established principles, new interpreter
Security foundations across four shifts
AI security did not begin with prompt injection. Saltzer and Schroeder's 1975 protection principles articulated fail-safe defaults, complete mediation, and least privilege: deny absent permission, check authority on every protected access, and grant only the powers required for the task. A reference monitor sharpens the placement requirement: the enforcement mechanism must always be invoked, resist tampering, and remain small enough for meaningful analysis and testing.
Learned models added new attack surfaces. Goodfellow, Shlens, and Szegedy's 2015 adversarial-example work showed that ordinary predictive accuracy and resistance to deliberately chosen inputs are different claims. Tramer and collaborators demonstrated model extraction through prediction APIs in 2016. BadNets, released in 2017, showed how an attacker-controlled training process could preserve ordinary validation behavior while introducing trigger-dependent behavior. These lines of work addressed input manipulation, model confidentiality, and training integrity; none replaced access control around the application.
Instruction-following applications changed the interface again. Simon Willison proposed the name prompt injection in September 2022 for attacks in which untrusted text redirects an application's instructions. In 2023, Greshake and collaborators demonstrated indirect injection through material retrieved by integrated applications. Tool-using agents then connected model interpretation to delegated operations. The old rule still applies: protected effects require enforcement outside the fallible interpreter.
Protection principles meet new attack surfaces
1975Saltzer and SchroederCheck every protected access, deny absent permission, and grant only necessary authority.
Contributors: Jerome Saltzer and Michael Schroeder
What changed: The Protection of Information in Computer Systems supplies the chapter’s enforcement foundation: a model’s proposal cannot establish permission to affect a protected resource.
2015Explaining and Harnessing Adversarial ExamplesOrdinary predictive accuracy does not establish resistance to deliberately chosen inputs.
Contributors: Goodfellow, Shlens, and Szegedy
What changed: Small input changes can accumulate into large output changes. Adversarial training improves tested robustness without establishing immunity; attacks can also transfer across models.
2016Stealing Machine Learning Models via Prediction APIsQuery access can expose enough information to reproduce valuable model behavior.
Contributors: Tramer and collaborators
What changed: The protected asset can be the prediction function even when weights remain inaccessible. Removing confidence outputs reduces the efficiency of some attacks but does not eliminate the studied label-only extraction attacks.
September 12, 2022Prompt InjectionWillison names the application risk of untrusted text redirecting instructions.
Contributors: Simon Willison
What changed: The translation example makes the boundary failure concrete: text supplied as task data changes the requested output. This milestone marks the naming and framing, not a claim of first discovery.
2023Not What You’ve Signed Up ForRetrieved material can redirect an application without changing the legitimate user’s request.
Contributors: Greshake and collaborators
What changed: The indirect prompt-injection work demonstrates how externally controlled material influences answers and subsequent API calls. Retrieval relevance therefore cannot establish trust or authority.
2025The Lethal TrifectaPrivate data, attacker-controlled content, and external communication compose into a theft path.
Contributors: Simon Willison
What changed: HTTP requests and image loads can supply the outbound channel. The framework directs attention to breaking a required path through capability separation or enforced communication restrictions; it is not a complete threat taxonomy.
When content behaves like instruction
Prompt injection occurs when attacker-controlled content causes an instruction-following model to cross the application's intended task or instruction boundary. A direct injection arrives from the requester. An indirect injection is embedded in a webpage, document, message, image, memory record, or tool result that the application later places in context. A jailbreak principally targets the model's behavioral restrictions; prompt injection targets the application's separation between instructions and data. An input may do both.
One mechanism, two entry points
Suppose an application must summarize a support attachment. A direct attacker can ask the assistant to ignore its summarization task. An indirect attacker can place the same instruction inside the attachment. The second route is more easily overlooked because the user request remains legitimate; the hostile instruction arrives through material the system intended to treat as evidence.
Why marking is not mediation
Delimiters, role labels, Base64 encoding, instruction-hierarchy training, and classifiers can reduce some failures, but they do not create a hard authorization boundary. Parameterized SQL works differently: an independently enforced parser treats bound values as values rather than executable query structure. Natural-language marking asks the model to honor a distinction; it does not prevent marked content from influencing the model. Classifiers add another fallible decision and must be tested against both attacks and legitimate text containing attack-associated words.
III. From influence to effects
The exfiltration path
Exfiltration is an unauthorized transfer of information to an attacker-controlled or otherwise impermissible destination. Simon Willison's 2025 lethal trifecta names three capabilities that create a particularly direct path: access to private data, exposure to attacker-controlled content, and an external communication channel. Each capability can have a legitimate product purpose; their composition is the danger.
A browser assistant illustrates the chain. A webpage contains a hidden instruction. The assistant can read authenticated context. Generated Markdown or a navigation action constructs a request to an attacker-controlled destination with private information in the URL. The renderer or fetcher—not the language model response by itself—turns generated text into external communication. Historical disclosures involving browser and coding assistants demonstrate this two-boundary pattern: untrusted source material influenced generation, and a downstream consumer created the network effect.
Three capabilities compose into exfiltration
ExampleThe attack succeeds through a complete data path; mediating any required edge can stop this path while leaving other risks.
Read the diagram as text
- Attacker content. Hidden instruction in a page, message, or document.
- Assistant context. Processes untrusted content while working for the user.
- Private data. Authenticated records or conversation context.
- Renderer or fetcher. Interprets generated URL or image markup as a network action.
- Attacker destination. Receives the unauthorized request payload.
- Attacker content → Assistant context: untrusted instruction.
- Private data → Assistant context: private context.
- Assistant context → Renderer or fetcher: generated outbound payload.
- Renderer or fetcher → Attacker destination: external request.
The trifecta is precondition analysis, not a theorem or complete threat taxonomy. Denying private-data access, preventing untrusted content from controlling privileged decisions, or restricting outbound destinations can break this path. Its absence does not rule out corrupted answers, unauthorized writes, resource exhaustion, or attacks through another sink.
A valid request is not an authorized action
A tool interface gives the model a machine-readable operation and argument contract; Structured Outputs and Tool Calling owns the full mechanism. The crucial boundary here is that the model proposes a call and application code executes it. A schema-constrained object can establish that employee_id is a string and fields is an allowed list. It cannot establish that the requester may read that employee's salary.
Separate claims at the action boundary
- Parsing — The bytes represent a value.
- Schema validation — The value has the permitted fields, types, and enumerated values.
- Semantic validation — The target exists, prerequisites hold, and values make sense in current state.
- Authentication — The system knows which actor or workload made the request.
- Authorization — That actor may perform this operation on this resource.
- Consequence policy — The effect is allowed now or requires a transaction-specific approval.
- Verification — Authoritative state establishes what actually occurred.
A tool proposal crosses separate gates
ExampleEach successful check answers one question and supplies no automatic evidence for the next.
Read the diagram as text
- Action proposal. Model-selected operation and arguments.
- Parse and schema. Checks representation, fields, types, and allowed values.
- Semantic checks. Checks target existence, prerequisites, and state invariants.
- Authenticate actor. Verify the represented user and tenant independently of model output.
- Resource authorization. Checks the represented actor, operation, tenant, and target.
- Consequence policy. Allows, denies, or requires approval for the exact versioned action.
- Denied. No protected operation occurs.
- Human approval. Bind approval to the exact target, arguments and version; reject changed details.
- Protected execution. Execute the authorized operation with the approved target, arguments and version.
- Verify actual state. Check the protected system’s result rather than the model’s account.
- Action proposal → Parse and schema: structured value.
- Parse and schema → Semantic checks: shape valid.
- Parse and schema → Denied: invalid shape.
- Semantic checks → Authenticate actor: state valid.
- Semantic checks → Denied: invalid state.
- Resource authorization → Consequence policy: authorized resource.
- Resource authorization → Denied: unauthorized.
- Consequence policy → Protected execution: low-risk allow.
- Consequence policy → Human approval: approval required.
- Consequence policy → Denied: policy deny.
- Human approval → Protected execution: exact action approved.
- Human approval → Denied: rejected or changed.
- Authenticate actor → Resource authorization: verified identity.
- Authenticate actor → Denied: identity invalid.
- Protected execution → Verify actual state: authoritative result.
Approval must bind to the material action, target, arguments, and version the user inspected. If those details change before execution, the earlier approval no longer applies. This is a time-of-check/time-of-use problem: a correct check over one proposal does not authorize a substituted resource used later.
Delegated authority and accumulated harm
Tool abuse occurs when an available operation is used outside the represented user's authority, intended task, or acceptable overall effect. The classic confused deputy is a component that possesses stronger authority than its caller and mistakenly applies that authority to a caller-selected target. An agent running with a broad service credential can reproduce this failure even when its tool call is syntactically perfect.
Scope has several dimensions: operation, resource, tenant, destination, duration, and cumulative effect. Hiding a dangerous tool name does not help if another tool or credential provides equivalent reach. Read-only access to an entire service can still expose unrelated private records. A narrow capability for incident-related messages is materially different from general read access to every channel.
Authority patterns
| Pattern | Model may do | Independent control |
|---|---|---|
| Read-only retrieval | Propose queries and summarize authorized results | Per-record and per-tenant authorization on every read |
| Propose and approve | Prepare a versioned mutation | Human approves exact target and arguments; server rechecks at execution |
| Bounded autonomous write | Select and execute within a narrow task | Scoped capability, quota, idempotency, audit, and postcondition checks |
IV. Bound reach and protect assets
Isolation defines the blast radius
Isolation constrains what an untrusted workload can observe or affect under stated escape assumptions. Sandboxes and Execution Isolation develops the mechanisms. For security review, inspect filesystem mappings, process and kernel boundaries, outbound networking, secret placement, CPU and memory limits, maximum lifetime, teardown, and tenant separation independently.
Linux namespaces isolate resource views and cgroups constrain consumption, but ordinary containers continue to interact with a shared host kernel. Seccomp can reduce the exposed system-call surface, sometimes at a compatibility cost. Userspace kernels and virtual machines move or narrow parts of that boundary. None of these names is a complete security claim: mapped files, allowed services, host configuration, network policy, and control-plane permissions still determine reach.
Keep secrets outside the untrusted workload where possible. A mediator can perform a narrowly authorized service operation without revealing the credential. Denied-by-default egress limits where readable data can be transmitted, while explicit service bindings preserve required capabilities. Resource caps bound both malicious denial of service and ordinary generated mistakes such as infinite loops. A sandbox still does not decide whether an allowed business action is authorized.
Sensitive data leaves more than answers
Sensitive information can appear in source datasets, retrieval indexes, embeddings, prompts, provider requests, caches, memory, traces, evaluation corpora, feedback stores, generated outputs, and human-review tools. A harmless visible answer does not prove that upstream copies were minimized or that no provider, cache, or log received the value. Inventory these artifacts separately because each has its own readers, retention, and deletion path.
One datum creates several governed artifacts
ExampleRestricting the final answer does not remove upstream copies, derived representations, provider transmissions, or operational records.
The source record remains distinct from its retrieval representation; authorization must govern eligibility before retrieval.
Read the diagram as text
- Source record. Authoritative sensitive value with resource-level permissions.
- Retrieval representation. Indexed text, metadata, or embedding derived from the record.
- Assembled request. Selected source material placed into model context.
- Provider transmission. Request crosses into the approved model-service path.
- Operational trace. Recorded execution evidence, governed by its logging policy.
- Generated answer. May reproduce, combine, infer, or omit sensitive information.
- Human review record. A further audience and retention boundary.
- Cache entry. Reusable result under its own eligibility and retention rules.
- Source record → Retrieval representation: indexed as.
- Retrieval representation → Assembled request: retrieved into.
- Assembled request → Provider transmission: transmitted to.
- Provider transmission → Generated answer: generates.
- Assembled request → Operational trace: recorded by.
- Generated answer → Human review record: reviewed through.
- Generated answer → Cache entry: may cache.
- Source and index. The source record remains distinct from its retrieval representation; authorization must govern eligibility before retrieval. Active: Source record, Retrieval representation. New: Source record, Retrieval representation.
- Request crosses a provider boundary. Selected content becomes model input and may also create an operational trace. Active: Source record, Retrieval representation, Assembled request, Provider transmission, Operational trace. New: Assembled request, Provider transmission, Operational trace.
- Output and review add audiences. Answers may create a cache entry or a review record, each with separate access and retention rules. Active: Source record, Retrieval representation, Assembled request, Provider transmission, Operational trace, Generated answer, Human review record, Cache entry. New: Generated answer, Human review record, Cache entry.
Name the threatened representation
Different privacy attacks establish different things. Membership inference asks whether an already supplied record participated in training. Model inversion infers sensitive features or constructs an input associated with an output, often using auxiliary information. Training-data extraction seeks to recover content itself. Application-context exfiltration is different again: it transfers data supplied at runtime rather than recovering training information. Conflating these mechanisms leads to mismatched controls.
Retrieval must apply current tenant and record-level authorization before information enters model context. Similarity is not permission, and a tenant boundary does not imply that every user within the tenant may read every record. Cached answers and retained conversations require the same scope discipline. Disclosure also depends on audience, destination, purpose, and reuse, as explained in Privacy and Data Governance.
Models and artifacts are supply-chain assets
An AI release is a chain of distinct artifacts: datasets, dependencies, training code, checkpoints, adapters, tokenizers, configurations, system instructions, evaluation sets, deployment bundles, and serving credentials. Attackers can poison inputs, substitute an artifact, exploit a loader, or query a serving API to approximate valuable behavior.
Loading crosses a boundary
Treat downloaded models as potentially executable software. Flexible serialization formats and framework conveniences can execute code during deserialization. PyTorch's security guidance consequently recommends provenance checks, separating weights from Python code, and isolated loading. A pre-load scanner can detect some unsafe constructs, but a clean scan is not permission to load arbitrary untrusted serialized code.
Artifact provenance can bind a digest to a signed claim about source, builder, build type, and parameters. Verification detects substitution only under the stated trust assumptions. It does not prove that an authentic model is behaviorally safe. BadNets demonstrated why ordinary validation accuracy and backdoor absence are separate claims. Supply-chain assurance therefore combines provenance, restricted loading, scanning, promotion controls, access control, and behavior-specific tests.
V. Place and test defenses
Mediate every outbound sink
Model output becomes another component's input. A chat renderer may interpret Markdown, a backend may build a query or file path, and an agent runtime may convert structured output into a tool request. Each consumer creates a distinct sink. Protecting only the displayed response leaves URL fetches, webhooks, emails, tool arguments, logs, telemetry, and network requests unmediated.
Controls must match the channel. A destination allowlist is separate from URL syntax validation. Redirects and DNS resolution can move an apparently permitted request toward an internal or unexpected address. A credential broker can attach a secret after an untrusted workload has selected an allowed operation, but the broker must still authorize the requested resource and effect. Field-level disclosure policy asks whether this recipient may receive these values for this purpose.
Output filters and data-loss-prevention classifiers can catch known patterns, but transformed, split, or encoded information can evade content inspection. Rate and volume limits reduce cumulative exposure without deciding whether any one transfer is legitimate. Blanket egress denial offers a smaller communication surface but may eliminate the product's required work. The useful design is the narrowest independently enforced channel that still performs the task.
Controls belong on attack paths
Defense in depth is not a stack of labels. Each control should remove, narrow, detect, or repair a stated attack precondition. Source curation and provenance reduce hostile ingestion. Context minimization reduces exposed data. Instruction-hierarchy training and classifiers reduce some model-level failures. Resource authorization mediates protected operations. Isolation bounds execution, egress policy restricts communication, monitoring exposes suspicious sequences, and recovery limits duration and consequence.
Independent enforcement
Place the decisive control where the effect reaches the protected resource. A model instruction can express intended policy, but it cannot serve as the reference monitor when the model can ignore or rewrite it. Similarly, a model-based monitor can help identify sensitive operations without replacing deterministic authorization or human review for high-impact actions.
Controls can share failure modes. A gateway, sandbox, and audit system may all trust the same incorrect tenant claim. A classifier and model judge may both interpret the same injected candidate. Human review can degrade into approval fatigue when prompts are frequent or omit material transaction details. Record the owner, enforcement point, failure mode, false-positive cost, and residual path for every material control.
Adversarial tests need observable effects
An adversarial evaluation selects cases to exercise attacker goals, capabilities, entry points, and complete paths. A model-only probe can establish how a model responds to a supplied prompt. It cannot establish whether retrieval permissions held, whether a tool executed, or whether data reached an external destination. End-to-end tests must include relevant identities, mutable state, tools, sinks, and side effects.
Check effects, not rhetoric
Define the oracle around an observable property. A controlled exfiltration test can place a canary value in a synthetic private store and instrument the only permitted external destination. A state-changing test can inspect the environment after execution. AgentDojo separates legitimate task success, success without adversarial side effects, and attacker-objective success. Executable vulnerability witnesses likewise distinguish a real program effect from an agent's assertion. Evals and Benchmarks develops requirement-specific oracles.
Security test record
| Field | Why it matters |
|---|---|
| System and policy versions | Binds the result to the tested configuration |
| Attacker capability and preconditions | Defines what access the test assumes |
| Attack population and attempt budget | Bounds what zero or nonzero success means |
| Oracle and controlled effect | Distinguishes persuasive text from achieved harm |
| Blocked stage and residual gap | Shows which boundary worked and what remained untested |
VI. Detect, respond, and decide
Evidence from proposal to effect
A security record should distinguish intent, prevention, transport, and effect. Preserve attributable actor and tenant identity, input provenance, context-source versions, model and policy versions, proposed operation, authorization result, execution identity, destination, stable operation identifier, provider acknowledgement, and authoritative postcondition. Shared API-key logs may prove credential use while leaving both the user and acting workload unknown.
A model explanation says what the model believes happened. A tool response says what the integration returned. An accepted remote request says the provider received it. None alone proves the resulting business state. When the outcome is unknown, preserve the operation identity and reconcile against authoritative provider state before retrying; otherwise an investigation can create a second effect.
Useful detections include cross-tenant actor/resource mismatches, repeated denied actions, unusual tool sequences, new outbound destinations, secret-like payloads, and rate anomalies. Alerts are starting points, not verdicts: behavior drift, instrumentation changes, and legitimate administrative work can produce similar signals. Logs are sensitive assets themselves and need minimized payloads, access control, integrity protection, and defined retention.
Contain, reconcile, and restore
Incident response first limits new harm. Identify affected assets and tenants; revoke credentials and capabilities; disable compromised models, tools, destinations, or retrieval sources; and preserve relevant evidence. Containment can overlap investigation. It should be narrow enough to preserve unaffected service paths where the architecture permits that distinction.
Investigation reconstructs the exact model, prompt assembly, retrieved content, tool definitions, policy version, user and service identities, generated artifacts, trajectory, and external receipts. Preserve provenance and restrict evidence access. An investigation can itself damage evidence: altered timestamps may be immaterial when the question is whether data exists, but fatal when the question is who knew what when.
Recovery separates several responsibilities. Rollback changes future software or model behavior. Revocation prevents future credential use. Reconciliation establishes whether an uncertain external operation committed. Deletion removes qualifying retained state. Compensation creates a new effect that counters completed work. A sent disclosure or message is not erased by restoring an earlier deployment. Software Engineering Fundamentals explains unknown external outcomes, while its recovery section distinguishes rollback from compensation.
Recovery does not erase completed effects
Example timingsContainment, investigation, reconciliation, and restoration overlap, but only reconciliation or compensation addresses effects already committed externally.
Read the diagram as text
- Incident response. Overall coordinated response period. 0 to 10 relative time; duration 10 relative time.
- External effect. Unauthorized disclosure, message, deletion, or transaction occurs. 0.5 to 1.2 relative time; duration 0.7 relative time. Parent: Incident response.
- Detection and triage. Validate the report and identify likely scope and urgency. 1 to 3 relative time; duration 2 relative time. Parent: Incident response.
- Containment. Stop new effects and revoke relevant authority. 2 to 5 relative time; duration 3 relative time. Parent: Incident response.
- Evidence preservation. Protect relevant records, artifacts, and provenance. 2 to 6 relative time; duration 4 relative time. Parent: Incident response.
- Investigation. Reconstruct identities, versions, trajectory, and external receipts. 3 to 7.5 relative time; duration 4.5 relative time. Parent: Incident response.
- Reconcile or compensate. Establish unknown outcomes and address completed effects. 5 to 9 relative time; duration 4 relative time. Parent: Incident response.
- Verified restoration. Deploy verified inputs, confirm service, and monitor heightened risk. 7 to 10 relative time; duration 3 relative time. Parent: Incident response.
Replay attacks only in controlled environments: cloned or synthetic state, inert tools, synthetic credentials, blocked or instrumented egress, and explicit reset procedures. Restoration should use verified artifacts, rotate compromised authority, add regression cases, obtain service-owner confirmation, and continue heightened monitoring until stated exit criteria hold.
Make a bounded security decision
Security assurance is bounded evidence, not a permanent certificate. Return to each consequential attack path and record the attacker assumptions, preventive and detective controls, independent enforcement points, test conditions, plausible blast radius, recovery mechanism, owner, and residual uncertainty. A control's existence is different from evidence that it operated under the relevant conditions.
Decision dimensions
| Design | Reach and effects | Security obligation |
|---|---|---|
| Read-only retrieval | Authorized records; no intended mutation | Current per-record authorization, data minimization, and disclosure control |
| Propose and approve | Versioned consequential proposal | Meaningful transaction-bound review and final server-side authorization |
| Autonomous bounded write | Narrow resources and cumulative effects | Scoped capability, complete mediation, containment, quotas, evidence, and recovery |
Stronger isolation, review, and monitoring can reduce risk while increasing latency, friction, false positives, cost, and operating burden. The acceptable balance depends on asset value, consequence, reversibility, and responsible ownership. Reassess when models, prompts, tools, permissions, providers, data paths, policy engines, or credible attacker capabilities change.
Open questions
How can systems preserve useful reasoning over untrusted content while enforcing information-flow and capability policies that remain practical for dynamic tools? Progress would mean policies with clearly defined source and sink semantics, low bypass rates under adaptive attack, and tolerable false denials on real workflows.
How should intent-based access distinguish a legitimate newly discovered task requirement from prompt injection or an over-eager agent? Progress would require independently evaluated decision procedures, explicit escalation behavior, and evidence about both unauthorized grants and unnecessary denials.
How can red-team results support stronger assurance across multi-turn sessions, persistent memory, live tools, and changing application state? Progress would include reproducible stateful environments, effect-based oracles, adaptive attack budgets, and explicit uncertainty over the tested attack population.
How can security telemetry remain useful for investigation without becoming another sensitive-data repository? Progress would combine minimal but attributable event schemas, protected payload access, integrity evidence, artifact-specific retention, and validated detections that do not require indiscriminate prompt capture.







































































































































































