Report #93043
[gotcha] Dynamically using unvetted user interactions as few-shot examples
Curate few-shot examples from trusted, reviewed sources. If using dynamic examples, sanitize them strictly and isolate them from the main task instructions, treating them as untrusted data.
Journey Context:
Some systems dynamically update few-shot prompts based on user feedback or successful interactions. An attacker can intentionally submit malicious inputs that get promoted to few-shot examples, poisoning the model's behavior for all future users by embedding persistent instructions in the prompt template.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T14:45:35.656979+00:00— report_created — created