T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:131- Finding
Overbroad Access to Persistent User Memory and Context Files
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 131–179
Vulnerability Type: T05: Unauthorized Access and Privilege Escalation
Risk Level: MediumVulnerable Code
markdown ### 4. Memory/Context Files (if using ai-persona-os) **Locations:** - `MEMORY.md` Permanent facts - `memory/[today].md` Session notes - `USER.md` User preferencesmarkdown ### Step 1: Gather Data Sources Check for these files in order: 1. todo.md (to-do list from ai-meeting-notes) 2. meeting-notes/ folder (recent meeting notes) 3. MEMORY.md (if using ai-persona-os) 4. memory/[today].md (session notes) 5. Calendar integration (if available)Technical Analysis
The Skill instructs the Agent to inspect persistent memory, current session notes, and user-profile information while preparing a daily briefing. These sources can contain sensitive personal facts, preferences, conversation history, or information unrelated to the requested task.
The instructions do not require explicit user consent before accessing these files, define permitted fields, exclude secrets, or establish relevance and sensitivity filters. Consequently, the Skill can read more workspace context than is strictly necessary for summarizing tasks and meetings. This represents a least-privilege boundary issue within the Agent's available workspace access.
The access is conditional on the files or integration being available. No evidence was found that the Skill bypasses operating-system permissions, retrieves credentials, sends the resulting data to an external service, or acquires additional system privileges.
Attack Path
- A workspace contains
MEMORY.md,memory/[today].md, orUSER.md. - These files contain private facts, preferences, session information, or unrelated sensitive material.
- The user invokes a recognized briefing trigger such as “briefing” or “start my day.”
- The Skill directs the Agent to inspect the memory and context files as briefing data sou ...[truncated 874 chars]
- A workspace contains
- Remediation
View remediation
Remediation Suggestions
- Require explicit user consent before reading persistent memory, session notes, or profile files.
- Default the Skill to task-specific sources such as
todo.mdand explicitly selected meeting notes. - Allow users to opt in to each additional source independently.
- Restrict extraction to a documented allowlist of fields relevant to deadlines, meetings, and priorities.
- Exclude credentials, authentication tokens, financial data, health information, private communications, and unrelated personal facts.
- Add a sensitivity and relevance review before including memory-derived information in the briefing.
- Identify the source of proposed memory-derived context and ask for confirmation before displaying sensitive content.
- Provide a privacy-preserving mode that never reads
MEMORY.md,USER.md, or thememory/directory. - Ensure calendar and file integrations use read-only, narrowly scoped permissions.
- Document exactly which sources were accessed when generating each briefing.
