Contents
  1. I. Model the system under attack
    1. Assets, attackers, and successful attacks
      1. Assets and losses
    2. Entry points and trust boundaries
      1. Questions for every crossing
  2. II. Established principles, new interpreter
    1. Security foundations across four shifts
    2. When content behaves like instruction
      1. One mechanism, two entry points
      2. Why marking is not mediation
  3. III. From influence to effects
    1. The exfiltration path
    2. A valid request is not an authorized action
      1. Separate claims at the action boundary
    3. Delegated authority and accumulated harm
      1. Authority patterns
  4. IV. Bound reach and protect assets
    1. Isolation defines the blast radius
    2. Sensitive data leaves more than answers
      1. Name the threatened representation
    3. Models and artifacts are supply-chain assets
      1. Loading crosses a boundary
  5. V. Place and test defenses
    1. Mediate every outbound sink
    2. Controls belong on attack paths
      1. Independent enforcement
    3. Adversarial tests need observable effects
      1. Check effects, not rhetoric
      2. Security test record
  6. VI. Detect, respond, and decide
    1. Evidence from proposal to effect
    2. Contain, reconcile, and restore
    3. Make a bounded security decision
      1. Decision dimensions
  7. Check understanding
  8. Open questions
  9. Selected talks
  10. References
  11. Talk library
← All topics

AI Security

An AI application is secure only to the extent that attacker-controlled influence cannot violate the confidentiality, integrity, or availability of its assets. The analysis must also account for delegated authority—the capability to cause effects—and economic value when judging impact. That question reaches beyond the model. Retrieved documents, tool descriptions, model artifacts, caches, renderers, credentials, execution environments, and external services all participate in the result. The central engineering move is to follow a complete attack path. Identify what the attacker controls, where it enters, which privileged component interprets it, what asset or authority becomes reachable, and what observable consequence would count as success. Prompts and classifiers can reduce model-level failures, but dependable boundaries are enforced by application and infrastructure components the model cannot bypass or modify.

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

An asset inventory should distinguish security objectives, delegated capabilities, and measures of impact instead of compressing unlike considerations into one unsupported score.
AssetSecurity objective or other concernExample loss
Customer recordConfidentiality and integrityUnauthorized disclosure or modification
Tool credentialDelegated capabilityActions performed outside the represented user's permission
Model or checkpointIntegrity; economic value affects impactSubstitution, malicious loading, or behavioral extraction
Service capacityAvailability; economic cost affects impactRunaway calls consume shared capacity or budget
Decision recordIntegrity and attributionA 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

  • OriginWho created or can modify the value?
  • IdentityWhich user, tenant, workload, or service principal is represented?
  • AuthorityWhat data, tools, destinations, and effects become reachable?
  • EnforcementWhich component independently validates and authorizes the operation?
  • EvidenceWhich record would distinguish a proposal, denial, accepted request, and completed effect?
One application architecture: private reads, protected writes and outbound disclosure each cross independent enforcement. A model proposal grants no permission; a sandbox does not authorize business operations.

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

  1. 1975Saltzer and SchroederCheck every protected access, deny absent permission, and grant only necessary authority.Sources & context

    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.

  2. 2015Explaining and Harnessing Adversarial ExamplesOrdinary predictive accuracy does not establish resistance to deliberately chosen inputs.Sources & context

    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.

  3. 2016Stealing Machine Learning Models via Prediction APIsQuery access can expose enough information to reproduce valuable model behavior.Sources & context

    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.

  4. September 12, 2022Prompt InjectionWillison names the application risk of untrusted text redirecting instructions.Sources & context

    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.

  5. 2023Not What You’ve Signed Up ForRetrieved material can redirect an application without changing the legitimate user’s request.Sources & context

    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.

  6. 2025The Lethal TrifectaPrivate data, attacker-controlled content, and external communication compose into a theft path.Sources & context

    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.

Follow the shift from protected access to model behavior, untrusted context, and external effects. Independent enforcement remains essential throughout. Spacing is not to scale.

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

Example

The attack succeeds through a complete data path; mediating any required edge can stop this path while leaving other risks.

A renderer or fetcher converts generated content into an external request. Breaking any required edge stops this illustrated path; it does not establish protection against every attack.
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 contentAssistant context: untrusted instruction.
  • Private dataAssistant context: private context.
  • Assistant contextRenderer or fetcher: generated outbound payload.
  • Renderer or fetcherAttacker 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

  • ParsingThe bytes represent a value.
  • Schema validationThe value has the permitted fields, types, and enumerated values.
  • Semantic validationThe target exists, prerequisites hold, and values make sense in current state.
  • AuthenticationThe system knows which actor or workload made the request.
  • AuthorizationThat actor may perform this operation on this resource.
  • Consequence policyThe effect is allowed now or requires a transaction-specific approval.
  • VerificationAuthoritative state establishes what actually occurred.

A tool proposal crosses separate gates

Example

Each successful check answers one question and supplies no automatic evidence for the next.

Authentication identifies the actor; authorization checks the requested resource. Approval binds to the exact action and version. A protected operation is followed by verification of its actual result.
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 proposalParse and schema: structured value.
  • Parse and schemaSemantic checks: shape valid.
  • Parse and schemaDenied: invalid shape.
  • Semantic checksAuthenticate actor: state valid.
  • Semantic checksDenied: invalid state.
  • Resource authorizationConsequence policy: authorized resource.
  • Resource authorizationDenied: unauthorized.
  • Consequence policyProtected execution: low-risk allow.
  • Consequence policyHuman approval: approval required.
  • Consequence policyDenied: policy deny.
  • Human approvalProtected execution: exact action approved.
  • Human approvalDenied: rejected or changed.
  • Authenticate actorResource authorization: verified identity.
  • Authenticate actorDenied: identity invalid.
  • Protected executionVerify 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

Separate judgment from authority, and bound the whole attempt rather than each call in isolation. Agent Engineering develops accumulated effects.
PatternModel may doIndependent control
Read-only retrievalPropose queries and summarize authorized resultsPer-record and per-tenant authorization on every read
Propose and approvePrepare a versioned mutationHuman approves exact target and arguments; server rechecks at execution
Bounded autonomous writeSelect and execute within a narrow taskScoped 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.

A configured isolation boundary limits the workload’s reach. Filesystem access, resource limits and network policy are separate controls; business authorization and credentials remain external. Escape assumptions and teardown still depend on the runtime.

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

Example

Restricting the final answer does not remove upstream copies, derived representations, provider transmissions, or operational records.

1 / 3 · Source and index

The source record remains distinct from its retrieval representation; authorization must govern eligibility before retrieval.

Possible artifacts from one sensitive record, not a mandatory pipeline. Each copy or representation has its own readers, retention and deletion rules; transmission alone does not establish provider retention.
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 recordRetrieval representation: indexed as.
  • Retrieval representationAssembled request: retrieved into.
  • Assembled requestProvider transmission: transmitted to.
  • Provider transmissionGenerated answer: generates.
  • Assembled requestOperational trace: recorded by.
  • Generated answerHuman review record: reviewed through.
  • Generated answerCache entry: may cache.
  1. 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.
  2. 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.
  3. 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

Preserve enough context to interpret the result and reproduce the assessed configuration.
FieldWhy it matters
System and policy versionsBinds the result to the tested configuration
Attacker capability and preconditionsDefines what access the test assumes
Attack population and attempt budgetBounds what zero or nonzero success means
Oracle and controlled effectDistinguishes persuasive text from achieved harm
Blocked stage and residual gapShows 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 timings

Containment, investigation, reconciliation, and restoration overlap, but only reconciliation or compensation addresses effects already committed externally.

Incident response010 relative timeDuration 10 relative time
External effect0.51.2 relative timeDuration 0.7 relative timeWithin Incident response
Detection and triage13 relative timeDuration 2 relative timeWithin Incident response
Containment25 relative timeDuration 3 relative timeWithin Incident response
Evidence preservation26 relative timeDuration 4 relative timeWithin Incident response
Investigation37.5 relative timeDuration 4.5 relative timeWithin Incident response
Reconcile or compensate59 relative timeDuration 4 relative timeWithin Incident response
Verified restoration710 relative timeDuration 3 relative timeWithin Incident response
Illustrative relative phases share one time axis. The external effect occurs before containment. Response activities overlap, so their durations must not be summed as elapsed time. Rollback changes future execution; it does not undo the earlier effect.
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

Compare designs without collapsing unlike dimensions into a universal security score.
DesignReach and effectsSecurity obligation
Read-only retrievalAuthorized records; no intended mutationCurrent per-record authorization, data minimization, and disclosure control
Propose and approveVersioned consequential proposalMeaningful transaction-bound review and final server-side authorization
Autonomous bounded writeNarrow resources and cumulative effectsScoped 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

  1. 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.

  2. 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.

  3. 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.

  4. 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.

Follow the curated reading path through the speakers and demonstrations behind this entry.

25 min

AI Engineer World's Fair 2024 · 2024

Building security around ML

Dr. Andrew Davis

Cited in this entry

A system-level tour of poisoning, model extraction, prompt injection, and unsafe model loading that connects model-specific risks to ordinary security boundaries.

Watch talk

Explore more talks

The rest of the library, beyond the curated path. Cited talks support this entry; reviewed transcripts were processed in full. Metadata candidates have not been reviewed as sources or verified as topic members.

163 matching talks

Every catalogued talk on this subject: Safety and governance

TalkSpeakerEventYear
Nagkumar Arkalgud, Keiji KanazawaAI Engineer World's Fair 20252025
Fouad MatinAI Engineer World's Fair 20252025
Bobby Tiernay, Kam SweenAI Engineer World's Fair 20252025
Security Firewall for Agents

Transcript reviewed

Ryan DahlAI Engineer World's Fair 20262026
AI Engineering 101

Transcript reviewed

Noah HeinAI Engineer Summit 20232023
RAG for VPs of AI

Transcript reviewed

Jerry LiuAI Engineer World's Fair 20242024
Roy DerksAI Engineer Summit 20252025
How to Build Trustworthy AI

Cited in this entry

Allie HoweAI Engineer World's Fair 20252025
Don Bosco DuraiAI Engineer Summit 20252025
Eugene YanAI Engineer World's Fair 20262026
Diego CarpenteroAI Engineer Europe 20262026
Lovina DmelloAI Engineer World's Fair 20262026
Erik MeijerAI Engineer World's Fair 20262026
Kenton VardaAI Engineer World's Fair 20262026
Simon WillisonAI Engineer World's Fair 20242024
Idan GazitAI Engineer World's Fair 20262026
Paola Estefanía de CamposAI Engineer World's Fair 20262026
Yohei NakajimaAI Engineer World's Fair 20262026
Michael AlbadaAI Engineer World's Fair 20252025
Nick HeinerAI Engineer World's Fair 20262026
Rene BrandelAI Engineer World's Fair 20252025
Sander SchulhoffAI Engineer World's Fair 20252025
Daniel ChalefAI Engineer World's Fair 20262026
Tun Shwe, Jeremy FrenayAI Engineer Europe 20262026
Samuel ColvinAI Engineer World's Fair 20252025
Sunil PaiAI Engineer Europe 20262026
Vinoth GovindarajanAI Engineer World's Fair 20262026
Tushar JainAI Engineer World's Fair 20262026
Harshil AgrawalAI Engineer Europe 20262026
Cedric VidalAI Engineer World's Fair 20252025
AI’s Jurassic Park Period

Cited in this entry

Aaron StanleyAI Engineer World's Fair 20262026
Anna Marie BenzonAI Engineer World's Fair 20262026
Simon WillisonAI Engineer Summit 20232023
Sam MorrowAI Engineer Europe 20262026
Nico AlbaneseAI Engineer Summit 20252025
Sarthak AggarwalAI Engineer World's Fair 20262026
2025 in LLMs so far

Transcript reviewed

Simon WillisonAI Engineer World's Fair 20252025
Trust, but Verify

Transcript reviewed

Shreya RajpalAI Engineer Summit 20232023
Akele Reed, Dave Revere, Doug KellerAI Engineer World's Fair 20262026
Ian WebsterAI Engineer World's Fair 20242024
Christopher Lovejoy, Saul HowardAI Engineer World's Fair 20262026
Sonny Merla, Mauro Luchetti, Mattia RedaelliAI Engineer Europe 20262026
Joel HronAI Engineer World's Fair 20252025
Manoj Nair, Ezra, RandallAI Engineer World's Fair 20262026
Build Systems, Not Code

Cited in this entry

Angie JonesAI Engineer World's Fair 20262026
Philipp SchmidAI Engineer World's Fair 20252025
Gabe De MesaAI Engineer World's Fair 20262026
Uri Rolls, Thom WolfAI Engineer World's Fair 20262026
Ameya BhatawdekarAI Engineer World's Fair 20262026
Abhishek BhardwajAI Engineer World's Fair 20262026
Tobin SouthAI Engineer World's Fair 20252025
Building Reactive AI Apps

Transcript reviewed

Matt WelshAI Engineer Summit 20232023
Ritvik PandyaAI Engineer World's Fair 20262026
Daniel WhitenackAI Engineer World's Fair 20242024
Ben Hylak, Sid BendreAI Engineer World's Fair 20252025
Ezra Tanzer, Dan ArpinoAI Engineer World's Fair 20262026
Steve YeggeAI Engineer World's Fair 20262026
Abhishek BhardwajAI Engineer World's Fair 20252025
Mani KhanujaAI Engineer World's Fair 20252025
Sarah KhalifeAI Engineer World's Fair 20242024
Vasek MlejnskyAI Engineer World's Fair 20242024
Jared HansonAI Engineer World's Fair 20252025
Steven MoonAI Engineer Summit 20252025
Remy GuercioAI Engineer Europe 20262026
Liam McGarrigleAI Engineer Europe 20262026
Nick TaylorAI Engineer Europe 20262026
Gunjan PatelAI Engineer World's Fair 20242024
John DickersonAI Engineer World's Fair 20252025
Damien MurphyAI Engineer World's Fair 20252025
Sharmila Chokalingam, ShubhiAI Engineer World's Fair 20242024
Jacob LauritzenAI Engineer Europe 20262026
Ian Butler, Nick GregoryAI Engineer World's Fair 20252025
AI SDK v6

Metadata candidate

Nico AlbaneseAI Engineer Europe 20262026
Justin SmithAI Engineer World's Fair 20262026
Stephen Chin, Jonathan LoweAI Engineer Summit 20252025
Gagan Bhat, Isabella Kai HeAI Engineer World's Fair 20262026
Henry MaoAI Engineer World's Fair 20252025
Robert BrennanAI Engineer Code 20252025
Ivan BurazinAI Engineer World's Fair 20252025
Nimrod HauserAI Engineer Europe 20262026
Sunny MadraAI Engineer World's Fair 20242024
Julián Duque, Anush DSouzaAI Engineer World's Fair 20252025
Mahesh MuragAI Engineer Summit 20252025
Jerry LiuAI Engineer World's Fair 20252025
Ekaterina DeynekaAI Engineer World's Fair 20262026
Lou BichardAI Engineer World's Fair 20252025
Building Cursor Composer

Metadata candidate

Lee RobinsonAI Engineer Code 20252025
Simrat HanspalAI Engineer Summit 20232023
Marlene Mhangami, Liam HamptonAI Engineer Europe 20262026
Michael FesterAI Engineer World's Fair 20252025
Abed MatiniAI Engineer World's Fair 20262026
Prasenjit SarkarAI Engineer Europe 20262026
Michael GrinichAI Engineer World's Fair 20252025
Thariq ShihiparAI Engineer Code 20252025
Pedro RodriguesAI Engineer Europe 20262026
Mahesh SathiamoorthyAI Engineer World's Fair 20262026
Develop at Idea Velocity

Metadata candidate

Jeffrey Lee-ChanAI Engineer World's Fair 20262026
Tomas ReimersAI Engineer World's Fair 20252025
Joseph Wang, SidAI Engineer World's Fair 20262026
Ofer MendelevitchAI Engineer Code 20252025
Sam BhagwatAI Engineer World's Fair 20262026
Alex Shaw, Ryan MartenAI Engineer World's Fair 20262026
Katelyn LesseAI Engineer Code 20252025
Gaurav MishraAI Engineer World's Fair 20262026
Gateways are All You Need

Metadata candidate

Karan SampathAI Engineer Europe 20262026
Ruben CasasAI Engineer Europe 20262026
Mark MyshatynAI Engineer World's Fair 20252025
Brian JohnAI Engineer Code 20252025
Tanmai GopalAI Engineer World's Fair 20242024
Dr Bryan Bischof, Dr Bryan BischofAI Engineer World's Fair 20242024
Donald HruskaAI Engineer World's Fair 20252025
Vaibhav Page, Infant VasanthAI Engineer World's Fair 20252025
Eno ReyesAI Engineer World's Fair 20262026
Jaspreet SinghAI Engineer World's Fair 20252025
Zhou YuAI Engineer Summit 20252025
Kyle Jaejun LeeAI Engineer World's Fair 20262026
Identity for AI Agents

Metadata candidate

AI Engineer Code 20252025
Philip Kiely, Yineng ZhangAI Engineer World's Fair 20252025
Andreas Kolleger, Zach Blumenthal, Michael Hunger, TomaszAI Engineer World's Fair 20242024
Raymond FengAI Engineer World's Fair 20262026
Ben HolmesAI Engineer World's Fair 20262026
Will BrownAI Engineer World's Fair 20262026
Move Fast Break Nothing

Metadata candidate

Dedy KredoAI Engineer Summit 20232023
Atita Arora, Deanna EmeryAI Engineer World's Fair 20242024
Maggie AppletonAI Engineer Europe 20262026
Jeronim MorinaAI Engineer World's Fair 20242024
Mario ZechnerAI Engineer Europe 20262026
Pragmatic AI With TypeChat

Metadata candidate

Daniel RosenwasserAI Engineer Summit 20232023
Steve KorshakovAI Engineer World's Fair 20262026
Kuba RogutAI Engineer Europe 20262026
Rewiring the State

Metadata candidate

Eoin MulgrewAI Engineer Europe 20262026
Joshua SnyderAI Engineer Europe 20262026
Robert BrennanAI Engineer World's Fair 20252025
Daniel HanAI Engineer World's Fair 20262026
Peter Steinberger, swyxAI Engineer Europe 20262026
Brandon WaselnukAI Engineer Europe 20262026
Sohail Shaikh, Ankush RastogiAI Engineer World's Fair 20262026
Barr YaronAI Engineer World's Fair 20262026
Patrick DeboisAI Engineer World's Fair 20252025
Christopher Harrison, John PeckAI Engineer World's Fair 20252025
Jack CableAI Engineer World's Fair 20262026
Armin Ronacher, Cristina Poncela CubeiroAI Engineer Europe 20262026
The Future of Work

Metadata candidate

Toran Bruce Richards, Silen Naihin, PootsAI Engineer Summit 20232023
The Log Is The Agent

Metadata candidate

Ishaan SehgalAI Engineer World's Fair 20262026
Itamar FriedmanAI Engineer Code 20252025
Jonathan MortensenAI Engineer World's Fair 20252025
Forrest Brazeal, Matt BallAI Engineer World's Fair 20252025
Chris LattnerAI Engineer World's Fair 20242024
Erik HanchettAI Engineer World's Fair 20262026
Veo 3 for developers

Metadata candidate

Paige BaileyAI Engineer World's Fair 20252025
Fryderyk WiatrowskiAI Engineer Europe 20262026
Lucas PalmaAI Engineer World's Fair 20262026
Sai Krishna RallabandiAI Engineer World's Fair 20262026
Benjamin CowenAI Engineer Europe 20262026
Andy TriedmanAI Engineer Summit 20252025
Frédéric BartheletAI Engineer Europe 20262026
Diane LinAI Engineer World's Fair 20262026
Prukalpa SankarAI Engineer World's Fair 20262026
Ravi MadabhushiAI Engineer World's Fair 20262026
Dan FarrellyAI Engineer World's Fair 20262026
Veronica HylakAI Engineer World's Fair 20262026
Rustin BanksAI Engineer World's Fair 20252025
Sachin KumarAI Engineer World's Fair 20262026

References

Coverage and source review
Processed transcripts
60 processed in full · 5 in the curated path
Automated source review
Passed
Metadata candidates
108 unreviewed; not verified topic membership
Corpus version
1bd8e407b26a07b33815594e1b2db5f41827119a2b3cb6fbf240f9fc571fc767

Automated review checks source support; it is not publication approval.

A synthesis of selected conference talks and technical references. Citations link to the source material; they do not imply that every talk on this subject is included.

  1. NIST FIPS 199: Security objectives and losses

    Confidentiality preserves the restrictions that authorized parties place on information access and disclosure, including privacy and proprietary information. Integrity protects information against improper changes or destruction and includes authenticity and non-repudiation. Availability requires access and use to remain dependable and timely. Their corresponding losses are unauthorized disclosure, unauthorized modification or destruction, and disrupted access or use. Applied to a support application, exposing a private ticket breaks confidentiality, an unauthorized ticket edit breaks integrity, and making support records unavailable when needed breaks availability. One incident can damage several properties.

  2. Stealing Machine Learning Models via Prediction APIs

    Model extraction aims to reproduce the target model function from query access, rather than recover a particular training record. Tramer and colleagues show that information-rich prediction APIs can expose enough structure to reconstruct or closely approximate studied models. Confidence outputs aid equation-solving for some model classes and reveal useful structure for others. Removing confidence values makes these attacks less efficient but does not eliminate label-only extraction in their experiments. The defended asset can therefore be the model behavior itself, even when the underlying service is not compromised.

  3. NIST SP 800-30 Rev. 1: Guide for Conducting Risk Assessments

    NIST models adversarial risk by identifying threat sources and events, vulnerabilities or predisposing conditions, safeguards, likelihood, and impact. Threat-source characterization includes capability, intent, and targeting. Overall likelihood combines whether an adversary initiates an event with whether the initiated event produces adverse impact; risk then combines likelihood and impact. A useful AI threat model should therefore state the attacker’s required capabilities, the attack path and conditions, the affected asset, existing controls, and resulting harm rather than label model misbehavior as risk by itself.

  4. NIST AI 100-2e2025: Adversarial Machine Learning

    An AI threat model identifies the protected property, attack stage, attacker knowledge, and what the attacker can control. Training-data control, model control, query access, and control of retrieved resources enable different attacks. Indirect prompt injection specifically exploits resource control: a third party changes material a legitimate user's application reads, allowing the data channel to influence instructions. Its consequences include corrupted outputs, lost availability, and private-data disclosure. This differs from poisoning training data and from a malicious user directly querying a model; the controls must match the access path.

  5. Balancing Innovation with Security & Safety

    Test the same sensitive-data request under different user roles and target identities.

  6. OWASP LLM10:2025 Unbounded Consumption

    Uncontrolled inference can consume shared capacity or money without crossing a content-policy boundary. Long inputs, repeated requests, and expensive operations can make request count a poor proxy for work. OWASP recommends input limits, per-user quotas, resource management, timeouts, throttling, graceful degradation, and bounds on queued and total actions. For an agent, the engineering implication is to account for the whole task, including generated tokens and downstream calls, and enforce limits before repeated work expands beyond its budget.

  7. OWASP Threat Modeling Cheat Sheet

    Threat modeling examines a specific system from an adversarial perspective and develops responses to identified threats. A data-flow diagram represents processes, stores, external entities, information flows, and trust boundaries. The model should include cloud identities, managed services, and provider-versus-customer responsibilities. OWASP connects identified threats to actionable mitigation requirements and asks whether their success or failure can be tested. Removing an unnecessary feature is a distinct response from adding mitigations. The model should evolve with the system.

  8. AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Bases

    AgentPoison studies agents that retrieve stored demonstrations to guide future actions. Its threat model grants an attacker the ability to insert a small number of records into a memory or knowledge base, plus access to an embedder during attack construction. A trigger in a later query makes malicious demonstrations likely to be retrieved; those examples influence the model without changing its weights. The result is a persistent data-to-behavior attack surface: later retrieval can reactivate previously stored hostile material even when the current task is legitimate.

  9. Invariant Labs: MCP Security Notification—Tool Poisoning Attacks

    Invariant's original experiments place malicious instructions in a tool description supplied by an attacker-controlled MCP server. In the reported Cursor demonstration, a nominal arithmetic tool induces sensitive-file reads and transmission through an additional argument. The report describes a confirmation interface that did not expose the complete sensitive input. A second experiment uses one server's description to redirect email sent through another server's legitimate tool; invoking the malicious tool is unnecessary. The authors also identify replacement of previously approved descriptions as a later compromise path.

  10. Saltzer and Schroeder: Basic Principles of Information Protection

    Least privilege limits each program and user to the authority needed for its task, reducing the damage from error or compromise. Complete mediation requires authorization checks for every access, including lifecycle paths such as recovery, and reliable identification of the requester. Cached authorization decisions must account for changed permissions. Fail-safe defaults make access depend on explicit permission. Applied to an agent, these principles require enforcement where a proposed operation actually reaches a protected resource; a model promise or a tool description is not that enforcement.

  11. NIST CSRC Glossary: Reference Monitor

    A reference monitor is a set of requirements for a mechanism enforcing access-control policy over subjects and objects. The mechanism must always be invoked, resist tampering, and be small enough for meaningful analysis and testing. Applied to AI tools, the protected operation must pass through enforcement outside the model on every access; an instruction, classifier, or schema-valid tool request cannot serve as the reference monitor if the model can bypass or modify it.

  12. Explaining and Harnessing Adversarial Examples

    A model can classify ordinary test examples accurately yet fail on deliberately selected nearby inputs. Goodfellow, Shlens, and Szegedy show how many small input changes can accumulate into a large output change in a high-dimensional linear calculation; nonlinear networks can exhibit similar behavior. Adversarial examples can transfer across models, so an attacker need not always obtain the target weights. Their adversarial training mixes ordinary and adversarial examples and improves measured robustness without eliminating errors. Ordinary accuracy, confidence, and tested resistance to a particular perturbation method are distinct claims.

  13. BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chain

    BadNets studies an attacker-controlled training process that returns a model with good ordinary validation accuracy but attacker-chosen behavior when a trigger appears. Poisoned examples can teach the association between the trigger and an unwanted label. The paper also demonstrates a backdoor surviving transfer learning in its studied setting. This differs from evasion against an honestly trained model: the attacker has altered what the model learned. A behaviorally malicious weight artifact need not exploit a file loader, so clean validation accuracy and safe deserialization address different risks.

  14. Simon Willison: Prompt injection attacks against GPT-3

    On September 12, 2022, Willison proposed the name prompt injection for attacks against applications combining instructions with untrusted text. His translation example illustrates the mechanism: text supplied for translation instead redirects the requested output. He also reports his own prompt-disclosure experiment. The practical concern was application developers treating natural-language input as passive data even though it could change model behavior.

  15. Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection

    Indirect prompt injection places attacker instructions in material an application is likely to retrieve, rather than in a direct user request. The paper demonstrates how applications can confuse external data with instructions, allowing retrieved text to redirect behavior or influence subsequent API calls. This makes the provenance and trust level of a context item separate from its relevance to a query: useful retrieved material can still be adversarial.

  16. The Protection of Information in Computer Systems

    Saltzer and Schroeder describe complete mediation, fail-safe defaults and least privilege: check authority for accesses, deny absent permission, and limit a component’s granted powers. These principles apply during recovery as well as ordinary execution. In an agent loop, tool proposals and retrieved instructions must therefore pass an independently enforced authorization boundary before they can affect protected resources. Model capability does not establish the caller’s authority.

  17. Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection

    Indirect prompt injection places attacker-authored instructions in material an application retrieves at inference time, such as web pages or messages. When inserted into model context, that material can be interpreted as instructions and redirect subsequent answers or API use without the attacker controlling the user's request or model weights. The paper demonstrates attacks on integrated systems and develops a taxonomy including information theft and manipulated content. Engineering implication: retrieval and tool results remain untrusted data; the application must independently enforce resource access, tool permissions, transaction approval, and data-release restrictions. A model's interpretation of retrieved text cannot grant these privileges.

  18. How to Build Trustworthy AI

    Prompt-injection exposure includes retrieved documents and scraped websites, as well as direct user messages.

  19. Why, and how you need to sandbox AI-Generated Code? — Harshil Agrawal, Cloudflare

    Generated code can exhaust resources or expose credentials through ordinary mistakes and apparently helpful behavior; adversarial input adds another path to the same privileged execution.

  20. OWASP SQL Injection Prevention: prepared statements and bound values

    Parameterized queries define SQL structure separately from the values bound into its placeholders. A supplied string is compared as a value rather than becoming new SQL syntax, even when it contains SQL-looking text. This relies on actual parameter binding, not concatenating input into the command. Parameters generally cannot stand for table names, column names, or sort keywords; those require application-controlled selection or redesign. The engineering comparison with prompts is precise: natural-language delimiters or Base64 marking alone do not supply an independently enforced parser contract that prevents marked content from influencing model behavior. Such marking can help a model recognize untrusted material without granting it SQL-style separation.

  21. The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructions

    The paper trains models to follow lower-priority instructions when compatible with higher-priority instructions and ignore conflicting ones. Context synthesis distributes compatible parts of a request across hierarchy levels; context ignorance trains against the answer expected without conflicting lower-priority material. GPT-3.5 Turbo experiments compare supervised fine-tuning and reinforcement learning from human feedback with and without hierarchy examples. Evaluations report improved resistance, including attack classes withheld from training, while testing benign instruction following separately. Two over-refusal tasks regress. The authors describe this as a model-based mitigation, acknowledge likely vulnerability to stronger attacks, and treat system-level safeguards as complementary. Learned role priority therefore is not an independent authorization check at a protected resource.

  22. Building security around ML

    Encoding untrusted content does not by itself establish a reliable instruction boundary.

  23. InjecGuard: Benchmarking and Mitigating Over-defense in Prompt Injection Guardrail Models

    The October 30, 2024 preprint investigates detectors that incorrectly classify harmless text containing attack-associated words as malicious. Its NotInject dataset contains 339 generated, manually reviewed benign examples containing such words. Evaluation separates ordinary benign inputs, malicious inputs, and these challenging benign cases. InjecGuard adds benign combinations of problematic tokens during training and reports improved balance across the categories. The study supplies a concrete reason to test legitimate security discussions and programming questions alongside attacks.

  24. Simon Willison: The lethal trifecta for AI agents

    Simon Willison names three capabilities that jointly expose an agent to data theft: private-data access, exposure to attacker-controlled content, and an external communication channel. Untrusted material can influence a model that can fetch private information and then transmit it. External communication includes HTTP requests and image loads, not only an explicitly named email tool. The useful design question is where to break that path through capability separation or enforced outbound restrictions. Assess the combined workflow: separate tools can supply the three capabilities even when each tool has a legitimate purpose.

  25. GitHub Copilot Chat: From Prompt Injection to Data Exfiltration

    The researcher reports placing instructions in source code analyzed by Copilot Chat. Those instructions caused generated Markdown to contain an image URL carrying information from conversation history. Automatic image retrieval then sent that information in an HTTP request. The disclosure therefore crossed two boundaries: source text influenced generation, and the renderer converted generated text into external communication. The report records submission to GitHub on February 25, 2024, fix confirmation on June 12, and publication on June 14.

  26. From Arc to Dia: Lessons learned in building AI Browser

    The 'lethal trifecta' combines private-data access, exposure to untrusted content, and external communication in one assistant.

  27. OWASP Server-Side Request Forgery Prevention Cheat Sheet

    Server-side request forgery can make an application act as a proxy to a service the attacker cannot reach directly. OWASP distinguishes systems that contact a known set of services from systems that must fetch arbitrary external destinations. It recommends application and network controls together. For known destinations, valid hostname syntax and membership in the permitted destination set are separate checks. Redirect following can bypass initial validation, and permitted domains can resolve to unexpected internal addresses. The guidance therefore addresses redirects and DNS behavior in addition to URL input.

  28. AI Engineering with the Google Gemini 2.5 Model Family

    Function calling produces a requested function name and arguments; application code must dispatch the call and return its result to the model.

  29. OWASP Input Validation Cheat Sheet

    Syntactic validation checks the form of structured fields; semantic validation checks whether values make sense in their business context, such as a start date preceding an end date. JSON Schema is one supported validation mechanism. Validation applies to potentially untrusted backend feeds and supplier data as well as direct user input. OWASP explicitly cautions that input validation is not the primary defense against SQL injection or cross-site scripting.

  30. OWASP Access Control

    Authentication establishes identity; authorization decides which actions that identity may perform on particular resources. A user allowed to initiate a transfer must still be authorized for the source account. Least privilege limits the authority of running code and service accounts, while centralized checks reduce inconsistent enforcement. In an AI application, tool availability and a model-produced argument are therefore insufficient grounds to execute a business operation; the application must apply resource- and action-level policy.

  31. OWASP Transaction Authorization Cheat Sheet

    Transaction authorization should let the user acknowledge significant transaction data, such as destination and amount, and bind approval to that transaction rather than an unrestricted session. The server controls authorization data and permitted state transitions. Changes to transaction data invalidate prior authorization or restart the process. Credentials should be unique per operation and valid only for a limited interval. A final server-side gate immediately tied to execution verifies that the transaction was properly authorized, preventing skipped checks and substitution between approval and use. For an agent, approving a draft action therefore must not silently authorize a changed target, payload, or scope.

  32. OWASP: Transaction Authorization

    Approval must concern the significant transaction details the user actually reviewed. Store and verify those details server-side, protect them against substitution and enforce the authorization state sequence. If transaction data changes, invalidate the previous challenge or restart authorization. Credentials should be transaction-specific and time-limited. A final gate tied to execution verifies that this transaction was authorized. Application inference: bind approval to an immutable transaction version containing the action, target and material arguments, and reject execution if that version no longer matches.

  33. MITRE CWE-367: Time-of-check Time-of-use Race Condition

    A time-of-check/time-of-use failure occurs when resource state changes after validation but before use, invalidating the earlier check. MITRE illustrates a privileged program checking permission for a filename and subsequently opening it after an attacker substitutes a different target. The permission check can behave correctly while the combined operation remains vulnerable. Mitigations include atomic operations or effective locking acquired before validation. Merely shortening the interval makes exploitation harder without fixing the underlying race.

  34. Norm Hardy: The Confused Deputy

    Hardy describes a compiler that possessed both its caller's authority and additional permission to write system files. A caller supplied the billing file as the destination for debugging output, and the compiler overwrote it using its own stronger authority. The confused deputy is this failure to distinguish whose authority should apply to an operation. Hardy's capability proposal couples identification of a resource with permission to use it: the compiler receives a capability for its statistics file and separately uses the caller's capability for debugging output.

  35. Securing Agents with Open Standards

    Scoped access still needs an explicit connection to the user on whose behalf the agent acts.

  36. OWASP LLM06:2025 Excessive Agency

    Damaging agent actions can result from excessive functionality, permissions, or autonomy, whether the triggering model output is maliciously induced or merely mistaken. A summarizer does not need a send-mail operation; its downstream identity can also be read-only, and a separately permitted send operation can require approval. OWASP's complete-mediation recommendation places authorization in downstream enforcement, validating every request instead of asking the model whether it is allowed. Logging and rate limits can limit or reveal harm but do not remove excessive agency by themselves.

  37. Unlock Agent Autonomy: The Runtime for AI-Native Systems

    Read-only access to an entire service may expose unrelated sensitive content; task-specific capabilities should restrict what can be read.

  38. Your Insecure MCP Server Won't Survive Production — Tun Shwe, Lenses

    Expose narrowly defined outcomes rather than a broad catalog of underlying operations, and enforce permissions for individual tools and resources.

  39. OWASP Transaction Authorization Cheat Sheet

    Users should identify and acknowledge significant transaction details before authorizing execution. The authorization sequence must not be skipped or reordered, and execution needs a final authorization check. Changing transaction data during authorization should invalidate previous authorization or restart the process. Applied to AI proposals, approval should authorize the inspected scope and values rather than an independently changing proposal.

  40. Stripe API Reference: Idempotent requests

    Stripe uses an idempotency key to recognize retries and avoid repeating the same operation. Once endpoint execution begins, it stores the first response status and body, including failures, and returns that result for subsequent requests with the same key. Reusing a key with different parameters produces an error. Validation failures and concurrent conflicts before execution do not create a saved result. Keys may be removed after at least 24 hours; reuse after removal initiates a new request.

  41. Beyond permission prompts: making Claude Code more secure and autonomous

    The engineering report separates filesystem isolation from network isolation. Restricting accessible paths limits local damage, while restricting outbound connections limits where processes can communicate. Either boundary alone leaves important attack paths: code with unrestricted network access can transmit readable secrets, while unrestricted filesystem changes can undermine containment. A sandbox defines where actions may occur; approvals remain a separate decision about whether a particular action is authorized. This is especially relevant when a coding agent reads repository content that may contain hostile instructions.

  42. gVisor Security Model

    gVisor reduces exposure to the host kernel by intercepting application system calls in its Sentry and restricting the Sentry's own host-system interface. This protects a different boundary from an application's authorization policy. The documentation explicitly notes that an attacker may reach a vulnerable network service or another API without escaping a container at all. A sandbox therefore needs an architecture that constrains accessible files, credentials, services, and network paths; isolation of execution alone cannot decide which allowed business action should happen.

  43. From fork() to Fleet: Designing an Agent Sandbox Cloud — Abhishek Bhardwaj, OpenAI

    Namespaces and cgroups address resource isolation and noisy neighbors, but containers still expose the shared host kernel; seccomp narrows that exposure at a compatibility cost.

  44. gVisor security model: containment and host dependencies

    gVisor reduces untrusted code’s ability to exploit the host system-call interface. Its Sentry implements application system calls instead of passing them directly to Linux, and itself uses a restricted host interface; the Gofer mediates filesystem access. This adds defenses against escape, not a guarantee of immunity. Sandboxed code can still access mapped files and allowed network connections. Hardware side-channel defenses depend on the host OS and platform; resource limits depend on host cgroups, and network policy needs separate enforcement. Host-networking and directfs settings change which host operations are available. Architectural implication: a local assistant’s sandbox protects the host from untrusted execution but does not establish confidentiality against a compromised host kernel or host components controlling its isolation and resources.

  45. Realtime multiplayer, automation, and you!

    Agentic Workflows keeps secrets outside the agent's execution boundary and mediates credentialed service calls through an external component.

  46. Cloudflare Dynamic Workers: Egress control

    Cloudflare documents an enforcement point outside dynamically supplied Worker code: globalOutbound intercepts its fetch and connect calls. Setting it to null blocks those calls while explicitly supplied service bindings remain usable. Alternatively, a loader-side gateway can inspect requests and attach credentials held outside the untrusted Worker. Blocking ordinary fetching can break compatibility with HTTP client libraries. The credential example forwards requests and adds a token for a selected hostname; its code does not itself authorize every operation or reject every other destination.

  47. Why, and how you need to sandbox AI-Generated Code? — Harshil Agrawal, Cloudflare

    Treat unbounded execution as both a cost risk and a denial-of-service risk, and enforce explicit execution limits.

  48. NIST Privacy Framework 1.0: lifecycle and minimized audit evidence

    The framework inventories data elements, processing purposes, actions, owners and flows. Policies define permitted uses and retention periods; the data lifecycle aligns with system development and operations. Authorizations must be maintained and revocable, access limited by least privilege, and deletion and destruction performed under policy. Audit records themselves must incorporate data minimization. Engineering application: define the decision evidence needed for review, its purpose, authorized readers, retention trigger and disposal method before logging. Retain the necessary decision, model and policy versions and relevant evidence without indiscriminately copying personal data into logs, prompts or backups. Where review requires sensitive evidence, constrain fields, access and retention rather than treating auditability as permission to keep everything. Assess removal and disclosure across downstream copies and service providers.

  49. RedisVL Extensions: Semantic Cache and Message History

    A semantic cache returns an existing response when a new prompt is sufficiently similar, bypassing a fresh model call. RedisVL documents filters that scope those lookups by user or conversation to avoid sharing one user's cached answer with another. Message history similarly uses session tags to separate conversations. These are distinct from similarity thresholds: a threshold controls which questions match, while a filter or session scope controls which stored records are eligible.

  50. Through the AI Fog: The architectural decision the next 24 months of agentic security depends on.

    A task-oriented agent may copy sensitive data into an untrusted store for convenience, creating an unknown attack surface outside established enterprise controls.

  51. Membership Inference Attacks against Machine Learning Models

    Membership inference tests whether an already supplied record participated in training; it need not recover that record's contents. Shokri and colleagues study classification APIs exposing probability vectors. Their attacker knows input and output formats and either the training architecture and algorithm or has access to the training service. Shadow models provide examples with known membership for learning differences between member and nonmember predictions. Experiments include commercial prediction services and hospital-discharge data, where participation itself can be sensitive. Precision and recall assess membership decisions.

  52. Model Inversion Attacks that Exploit Confidence Information and Basic Countermeasures

    Model inversion uses observable model behavior, often together with other known attributes, to infer sensitive input features or construct an input associated with a target output. Fredrikson, Jha, and Ristenpart show how exposed confidence information strengthens such attacks in decision-tree and face-recognition experiments. Inversion is not the same objective as testing whether a candidate belongs to training data, copying the model function, or recovering an exact stored training record. What the API reveals and what the attacker already knows determine what inference is possible.

  53. Extracting Training Data from Large Language Models

    Carlini and colleagues demonstrate recovery of verbatim GPT-2 training examples through generated outputs. The study separates generating candidate text from estimating whether it appeared in training, then validates selected findings against the original dataset. Membership inference asks whether a candidate was used in training; extraction seeks to recover the content itself. High model likelihood alone produces false positives and is not proof of membership. The language-model background also distinguishes next-token probabilities from the sampling process that chooses a continuation. Training-data memorization is a different leakage path from an assistant exposing a private document supplied at runtime.

  54. Microsoft: Design a secure multitenant RAG inferencing solution

    Microsoft's architecture requires tenant and user authorization filters before retrieved information reaches model context, including retrieval during an agent loop. A tenant partitions customers or users according to the application's business model; membership in that tenant does not authorize every record within it. The proposed data-access API preserves caller identity, routes to the appropriate store, applies filtering, and records access. Separate stores simplify isolation but increase cost and operational overhead; shared stores require explicit tenant discrimination and user-level restrictions.

  55. PyTorch Security Policy: using models securely

    PyTorch treats models as programs and warns that running an untrusted model can be equivalent to running untrusted code. It recommends separating weights from Python code, checking provenance, and using an isolated environment. Serialization format changes the attack surface: restricted weight formats support fewer behaviors, while flexible loading has more ways to execute or process unsafe content. Even a safer format does not eliminate downstream input-validation risks, and TorchScript inspection utilities may execute code. Model acquisition and inspection therefore belong in the software supply-chain threat model.

  56. How to Build Trustworthy AI

    Unsafe model serialization can turn model loading into arbitrary code execution; the narrated ModelScan example exposes AWS credentials when the model loads.

  57. Building security around ML

    Some model formats and framework conveniences can execute code or write files; verify provenance, scan artifacts, and isolate uncertain models.

  58. SLSA v1.2: Verifying Artifacts

    SLSA artifact verification checks a provenance signature, binds the provenance subject to the artifact digest, recognizes the builder identity, and compares build type, source, and external parameters with expectations. Verification outside the registry can detect registry or transit tampering. The documented guarantees remain conditional: Build L3 assumes trust in the build platform and does not cover its malicious insiders, while SLSA does not yet cover every unintended-package selection attack. Model weights, adapters, tokenizers, and deployment bundles can use these controls when represented as software artifacts.

  59. Building security around ML

    Dataset URLs can outlive their original owners or content; verify downloaded data against available provenance and checksums.

  60. OWASP LLM05:2025 Improper Output Handling

    Model output becomes another input at the component that consumes it. OWASP identifies dangerous transitions such as passing generated text into a shell, interpreting it in a browser, executing generated SQL, or using it to construct file paths. Defenses depend on that destination: context-appropriate output encoding, parameterized database operations, and validation before backend use. This is a downstream interpretation problem, separate from whether the answer is factually accurate.

  61. MCP Security Best Practices: token passthrough and confused deputies

    MCP's security guidance forbids accepting and forwarding a token without verifying that it was issued for the MCP server. Token audience separation prevents a proxy from treating a credential meant for another resource as authority to use its own facilities. Passthrough can bypass request validation or rate limits and obscure who performed an action in downstream logs. The confused-deputy example separately requires per-client consent rather than allowing a remembered third-party authorization to authorize an unrecognized client silently.

  62. What does Enterprise Ready MCP mean?

    Access controls need complementary data-loss prevention to address users sending inappropriate data to MCP servers.

  63. Your LLM Stack Is a 2008 Database With Better Marketing

    The talk's four-pillar defense-in-depth model combines infrastructure security, access control, runtime security, and operational practice.

  64. Safety and security for code-executing agents

    Model-based monitors are useful for identifying sensitive actions, but the speaker does not consider them a substitute for deterministic controls or human review.

  65. OWASP: prompt injection and evaluator trust boundaries

    Indirect prompt injection occurs when externally supplied content is interpreted as instructions that redirect model behavior. Captured prompts, retrieved passages and tool results become the same attack surface when an evaluator reads them: an embedded instruction can attempt to alter a score, disclose context or invoke a connected action. OWASP recommends separating untrusted content, validating outputs in deterministic code, minimizing privileges, keeping credentials and functionality under application control, and requiring approval for high-risk operations. Applied to evaluators, isolate scoring from production credentials and write-capable tools. Authorize downstream actions independently of the evaluator's text or score.

  66. NIST AI Risk Management Framework Core

    The AI RMF ties deployment decisions to documented context, risk tolerance, measured conditions, residual risk, responsible owners, and available resources or alternatives. It calls for documenting test conditions and limits on generalization, evaluating security and resilience, tracking emergent risks, and regularly monitoring third-party resources and deployed systems. Risk responses may mitigate, transfer, avoid, or accept risk; high-priority risks and unmitigated residual risks remain documented. Changes in methods, contexts, risks, or stakeholder needs require continued review, with mechanisms to deactivate systems whose outcomes conflict with intended use.

  67. Microsoft Foundry: AI Red Teaming Agent concepts

    Microsoft’s current red-teaming documentation distinguishes model-output checks from agent tests involving tool outputs, prohibited actions, sensitive-data leakage, task adherence, and indirect injection through retrieved emails or documents. Its sensitive-data tests use synthetic records and mock tools; documented limitations include single-turn English scenarios, no training-set or memory leakage, no live production data, incomplete tool support, and no fully locked-down sandbox. Attack Success Rate is calculated over generated attacks, while model-based assessment can be nondeterministic and produce false positives requiring review.

  68. AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents

    AgentDojo implements mutable environments containing dummy emails, calendars, documents, and other application data. Tools read and change that state. User tasks and attacker objectives have separate checks over outputs and environment state, allowing evaluation of completed actions rather than response tone alone. Its reporting separates benign utility, legitimate-task success under attack without adversarial side effects, and targeted attacker success. When evaluating a collection of attacks, a case counts as compromised if any attack succeeds. The authors warn that an LLM simulating or judging the environment could itself follow injected instructions.

  69. Teaching AI to Find Real Vulnerabilities — Prof. David Brumley, Bugcrowd

    Require an executable proof of vulnerability and grade its observed effect deterministically.

  70. Mitigating the risk of prompt injections in browser use

    Anthropic describes browser-agent defenses that combine robustness training, classifiers over untrusted context, and expert red teaming. Its reported evaluation uses an adaptive attacker with a budget of 100 attempts per environment, illustrating why one fixed malicious prompt is not a complete security test. The relevant measurement is whether an attacker achieves a defined objective against a specified application configuration and attack budget. The company explicitly warns that a low observed success rate still represents meaningful risk and does not establish immunity.

  71. OWASP Logging Cheat Sheet

    Security records should identify event time, application and version, actor, action, affected object, result, and reason, with interaction identifiers connecting related events. Relevant events include authorization failures, sensitive-data access, exports, configuration changes, network failures, and attempts to bypass workflow order or limits. Evidence arriving from another trust zone may be missing, forged, modified, or replayed. OWASP recommends validating and sanitizing event data, restricting log access, excluding or protecting secrets, and testing logging failures and resource exhaustion. Security monitoring should be proportionate to identified risks rather than collecting an indiscriminate checklist.

  72. It's 10pm. Do You Know Where Your Agents Are?

    Logging credential usage alone may leave operators unable to identify the actor or delegating user.

  73. OpenTelemetry: Context propagation

    Context propagation connects work across service boundaries by carrying trace and parent-span identity to the receiving process. With W3C Trace Context, the sender injects traceparent and the receiver extracts it so downstream spans belong to the same request. Trace and span identifiers can also correlate logs with that execution. Without propagation, individually instrumented services can still produce disconnected records. Incoming trace context is not inherently trustworthy, and propagated baggage can leak sensitive information; correlation metadata needs an explicit trust boundary too.

  74. NIST SP 800-61r3: incident response and verified recovery

    Triage validates an incident report and estimates severity and urgency; response priority considers impact, scope, and available resources. Containment limits expansion, while eradication removes persistence mechanisms and entry points. Investigators preserve the integrity and provenance of evidence and action records, with restricted access and defined retention. Recovery can begin during response under explicit criteria. Verify restoration assets before use, check restored systems for compromise, remediate root causes, and verify restoration before production use. Confirm service restoration with owners and monitor its adequacy. For an AI deployment-state example, specify affected components, containment, preserved evidence, authorized recovery actions, trusted restoration inputs, verification criteria, and who confirms resumed service; these are application choices implementing the guidance.

  75. Balancing Innovation with Security & Safety

    Monitor responses under changing inputs and dependencies, confidential-data egress, and failure rates with tolerance-based alerts.

  76. NCSC: Secure operation and maintenance of AI systems

    Security monitoring must observe both abrupt and gradual changes in model and application behavior, which may arise from compromise or ordinary drift. NCSC recommends monitoring inputs with privacy constraints so operators can investigate and remediate misuse. Its update guidance explicitly treats changes to data, models, or prompts as possible behavior changes that must be reflected in testing and evaluation. Security evidence therefore has a version and configuration: a tested deployment is not automatically evidence for the next model or prompt revision.

  77. RFC 7009: OAuth 2.0 Token Revocation

    After validating the requesting client and token relationship, the authorization server invalidates the token. The RFC requires immediate invalidation but recognizes propagation delay among servers and requires implementations to minimize that window. Clients must stop using the token after HTTP 200; that status also covers an already invalid token. Revoking a refresh token should invalidate access tokens from the same grant when access-token revocation is supported. Revoking an access token may also revoke its refresh token; related-token and grant effects depend on server policy. Revocation removes future credential use. The protocol contains no application rollback operation, so it does not establish reversal of a sent message, disclosed data, or another completed action.

  78. AI’s Jurassic Park Period

    Evaluate metadata changes against the actual evidentiary question, and record unavoidable transformations rather than treating every acquisition constraint identically.

  79. Google Machine Learning Glossary: training, inference, tokens, context, and RAG

    Training adjusts learned parameters using examples; inference applies a trained model to new input. A classifier predicts a category, whereas a generative language model produces a response as tokens, which may represent words, word pieces, or characters. The context window limits how much tokenized information a model can process. Retrieval-augmented generation retrieves material after training and supplies it with the request; adding a retrieved document to context is not itself an update to model weights. These distinctions locate different security entry points in the training pipeline and the running application.

  80. Dia Security Bulletins: Security Story of fetch_web_content

    Dia's February 12, 2026 retrospective describes a web-fetch tool that could transmit private context through model-generated URL parameters. The team reports detector bypasses and false alarms, and judged per-fetch confirmations too burdensome. It removed the feature before the June 2025 public beta and restored it about two months later with URL-provenance enforcement. The documented rule rejects invented URLs and query parameters while allowing URLs already present in supplied browsing context. This preserves fetching existing links while restricting arbitrary model-constructed requests.

  81. Model Context Protocol: Cancellation, 2025-11-25 specification

    This MCP revision provides optional cancellation notifications identifying an in-progress request. Receivers should stop processing and release associated resources, but may ignore cancellation if processing has completed, the request is unknown, or it cannot be cancelled. Network latency can deliver cancellation after completion. Task-augmented requests use a separate cancellation mechanism. Consequently, sending a cancellation notification does not establish that execution stopped or resources were reclaimed.

  82. Build Systems, Not Code

    Enforce idempotency through recorded system state rather than trusting the model to recognize a repeated task.

  83. Build Systems, Not Code

    Treat external content as evidence rather than instructions, and gate consequential actions behind human approval.

  84. Defeating Prompt Injections by Design

    CaMeL separates trusted-request planning from a quarantined model that parses untrusted content. Its interpreter stores tool results in variables hidden from the planner, tags values with sources and allowed readers, and tracks dependencies through transformations. STRICT mode also tracks conditional and loop dependencies. Before a tool runs, policies inspect its arguments and their dependency graph. This protects data flow as well as control flow. When an exception prompts regenerated code, existing variables, dependencies, and capabilities remain in interpreter state; untrusted-derived exception text is redacted. That documented retry continuity does not establish durable metadata preservation across independent executions. The paper provides no atomicity or rollback for operations that already caused side effects.

  85. Unlock Agent Autonomy: The Runtime for AI-Native Systems

    Intent-based access should evaluate a requested capability against user intent, task intent, and context, with denial or human escalation for unjustified requests.

  86. From Arc to Dia: Lessons learned in building AI Browser

    Dia asks users to review and confirm plain-text data before writing it into a form, treating confirmation as a product safety control rather than prompt-injection prevention.

  87. It's 10pm. Do You Know Where Your Agents Are?

    RFC 8693 Token Exchange is used to combine delegated user authority with runtime identity in a per-tool authorization request.

  88. We Gave an Agent Production Code Access and Then Tried to Sleep at Night

    Separate agent reasoning from privileged orchestration so an injected agent cannot directly push changes, open PRs, or trigger CI.

  89. Teaching AI to Find Real Vulnerabilities — Prof. David Brumley, Bugcrowd

    Build a curriculum on two axes: target difficulty and exploitation difficulty.