Documented Exercise · AML.CS0038 · High severity

Planting Instructions for Delayed Automatic AI Agent Tool Invocation

Disclosed by Johann Rehberger in February 2024 ("Google Gemini: Planting Instructions for Delayed Automatic Tool Invocation"), this exercise showed how indirect prompt-injection instructions embedded in an external document or email can be persisted across sessions rather than firing immediately. When the user later interacted with the assistant in an unrelated turn, the dormant instructions activated and triggered automatic tool invocation on the user's behalf.

Exercise dossier metadata

Case ID
AML.CS0038
Classification
Exercise
Date
Severity
High
Sector
Personal & Enterprise AI Assistants
Attack vector
Delayed / Persistent Indirect Prompt Injection
System type
Tool-enabled assistant with persistent memory/context (Google Gemini)
CVE / reference
AML.CS0038
Reference URI
https://raw.githubusercontent.com/mitre-atlas/atlas-data/f56c1468731d6428e5bf875263b4643b46d67437/dist/v6/ATLAS-2026.10.yaml#:~:text=AML.CS0038%3A

Inspect AML.CS0038 in Interactive Incidents & Cases Hub

Defensive takeaway

Gate persistent memory writes with provenance checks, forbid untrusted external documents from writing durable behavioral directives, and enforce explicit user confirmation before state-changing tool calls.

Mapped AI security techniques

Source citation records