T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:129- Finding
Overbroad Access to Persistent User and Agent Context
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:129-136andSKILL.md:170-179
Vulnerability Type: Excessive access to persistent memory and user-profile files
Risk Level: MediumVulnerable Code
SKILL.md:129-136:markdown ### 4. Memory/Context Files (if using ai-persona-os) **Locations:** - `MEMORY.md` — Permanent facts - `memory/[today].md` — Session notes - `USER.md` — User preferencesSKILL.md:170-179:markdown ### Step 1: Gather Data Sources Check for these files in order:- todo.md (to-do list from ai-meeting-notes)
- meeting-notes/ folder (recent meeting notes)
- MEMORY.md (if using ai-persona-os)
- memory/[today].md (session notes)
- Calendar integration (if available)
text Technical Analysis
The Skill instructs the agent to inspect persistent memory and current-session notes whenever it generates a briefing. Persistent files such as
MEMORY.mdandmemory/[today].mdmay contain personal facts, confidential context, or information unrelated to task and calendar summarization.The instructions do not require explicit user consent before accessing these files, restrict reads to briefing-relevant fields, or prohibit the inclusion of credentials and unrelated sensitive information. This violates least-privilege principles because a daily briefing can normally be generated from narrower sources such as
todo.md, recent meeting notes, and an explicitly authorized calendar.The Skill does not contain network transmission logic, executable payloads, or credential-stealing code. The primary risk is unintended disclosure into the active conversation rather than external exfiltration.
Attack Path
- Persistent memory or session files contain private information unrelated to the requested briefing.
- The user asks for a daily briefing using one of the Skill's trigger phrases.
- The agent follows the data-gathering instructions and re ...[truncated 1108 chars]
- Remediation
View remediation
Remediation Suggestions
- Make persistent-memory access explicitly opt-in and disabled by default.
- Use
todo.md, recent meeting notes, and an explicitly authorized calendar as the default briefing sources. - Ask for user confirmation before reading
MEMORY.md,USER.md, or session-history files. - Allow users to approve individual files or narrowly defined data categories rather than granting blanket access to memory storage.
- Apply data minimization: extract only task deadlines, meeting decisions, and briefing-relevant preferences.
- Add explicit instructions never to reproduce credentials, API keys, authentication tokens, financial details, health information, or unrelated personal facts.
- Filter generated context before output and redact values that resemble secrets or sensitive identifiers.
- Document which sources were consulted so users can verify and revoke access.
- Separate durable preferences from general memory by using a dedicated, narrowly scoped briefing-preferences file.
