Report #74016
[gotcha] User profile data and saved memories are safe to inject into prompts because the user controls their own data
Treat stored user profile data, preferences, and memory as untrusted input. Sanitize it before injection into any prompt. Isolate per-user stored data so it cannot be retrieved in other users' sessions. Apply the same injection defenses you would to any third-party content.
Journey Context:
Many LLM applications store user preferences, profile information, or conversation memories and inject them into future prompts for personalization. An attacker sets their profile name or bio to a prompt injection payload. When the system later retrieves and injects that stored data into a prompt, the injection fires — potentially in a different session or even a different user's context if the data is shared \(e.g., a shared workspace document or a user whose data appears in another's RAG results\). The stored data persists across sessions, making this a persistent cross-session injection vector that survives page reloads and new conversations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T06:49:53.090930+00:00— report_created — created