T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:103- Finding
Overbroad Conversation History and Persistent Workspace Access
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:103-116
Vulnerability Type: Excessive access to conversation history, session state, and persistent user records
Risk Level: MediumVulnerable Code
markdown ### Input Files - `HEARTBEAT.md` - Conversation counter, task tracking - `USER.md` - User profile records - `MEMORY.md` - Long-term memory, conversation analysis history - `SESSION-STATE.md` - Current session state - Chat history (via sessions_history tool) ### Output Files - `USER.md` - Updated user profile - `MEMORY.md` - Appended conversation analysis - `HEARTBEAT.md` - Reset conversation counter - Feishu messages - Task notificationsThe resulting profile includes potentially sensitive behavioral and personal attributes:
markdown - **Personal Traits**: Personality, communication style, decision-making patterns - **Preferences**: Technical preferences, tool choices, content types - **Skills**: Tech stack, professional capabilities, familiar domains - **Experience**: Career path, project experience, growth trajectory - **Background**: Work environment, team role, industry background - **Emotional State**: Stress level, satisfaction, focus areas - **Current Activities**: Current projects, key tasks, daily activities - **Future Goals**: Goals, plans, expectationsTechnical Analysis
The Skill requests access to complete chat history through
sessions_historyand multiple persistent workspace files, includingSESSION-STATE.md,USER.md, andMEMORY.md. It then directs the host agent to derive and retain personality, emotional-state, professional-background, and future-goal information.Access to recent conversations and task records is relevant to conversation summarization. However, systematic behavioral profiling and unrestricted access to session state exceed the minimum permissions necessary for basic summarization and incomplete-task detection. No ...[truncated 1462 chars]
- Remediation
View remediation
Remediation Suggestions
- Request explicit user consent before accessing conversation history, session state, or persistent memory.
- Default to the current conversation rather than complete session history.
- Remove access to
SESSION-STATE.mdunless a concrete feature requires it. - Separate task tracking from personality profiling and make profiling an independent, disabled-by-default option.
- Avoid collecting emotional state, personal background, and future goals unless the user explicitly requests those fields.
- Implement configurable retention limits and automatic deletion of stale analysis.
- Present proposed updates to
USER.mdandMEMORY.mdfor user review before writing them. - Mark uncertain conclusions as inferences and allow users to correct or delete them.
- Restrict file access to an explicit allowlist under the configured workspace and reject paths resolved outside that directory.
