Day 14 of 1560 minExploit ArchitectHands-on lab
Day 14: Sensitive Data Exposure: Memory, Caches and Shared State
Taught by Mr Elite Updated
By the end of today you can
- Explain how persistent memory can retain or expose information across conversations or users.
- Identify cross-tenant data leakage risks in shared embedding and retrieval caches.
- Test chat share links for insecure direct object reference (IDOR) and broken access control.
- Design a two-account test that verifies tenant isolation without accessing unrelated users' real data.
- Collect and handle evidence carefully when test records resemble genuine personal or business information.
An AI product may appear to keep every conversation separate. One user opens a chat, another user starts a new session, and each expects their information to remain private. But AI applications often rely on shared infrastructure: persistent memory stores, embedding indexes, retrieval caches, conversation databases and share-link services.
A mistake in one of these layers can expose information across users or tenants. A memory retrieval bug might return details from an earlier conversation. A cache-key collision might cause one tenant to receive another tenant's retrieved content. A chat share link might expose a conversation to someone who was never authorised to view it.
Today, we'll examine these three exposure paths and learn how to test tenant isolation with two accounts. The goal is not to collect other people's information. It is to prove whether an access-control boundary works, using accounts and synthetic records you control, and to preserve only the minimum evidence needed to explain the issue.
In this lesson
- Where AI Applications Store and Reuse Data
- Persistent Memory Poisoning and Leakage
- Cross-Tenant Embedding and Retrieval Cache Sharing
- Chat Share-Link IDOR and Broken Access Control
- Two-Account Tenant Isolation Testing and Evidence Handling
Premium course
$27 one-time, lifetime access
This day is part of the full course. Unlock it to read every lesson, do every mission and track your progress to the end.