T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:20- Finding
Automatic Cross-Session Collection and Persistent Storage of Conversation Data
- Content
View full analysis
", limit: 15, includeTools: false) **Focus on the last ~10 user/assistant exchanges per session.** Skip tool calls — you want the actual conversation flow. ### Step 3: Save raw conversation tails to snapshot Write the **verbatim last 3 rounds** (user message + assistant reply = 1 round) from each session into the snapshot file. **Rules:** - Store **verbatim conversation text**, not summaries — summaries lose the "feel" - 3 rounds per session max (6 messages) — enough for context, not too much for token budget - If sessions are very old (> 24h), still store but note the time gap - If the user's first message already states what they want, weave context in naturally - **Never block the user** — if `sessions_list`/`sessions_history` fails, proceed normally - **Security**: Strip any API keys/tokens that appear in conversation before saving ``` ### Technical Analysis The Skill automatically enumerates recent main sessions, reads conversation history from as many as three previous sessions, and writes verbatim messages into `memory/relay-snapshot.md`. This occurs on every new session without requiring user confirmation or verifying that the retrieved sessions belong to the same user, task, workspace, or security context. Filtering by session kind (`main`) is not an identity or authorizat ...[truncated 2348 chars]- Remediation
View remediation
