other
- Location
SKILL.md:15- Finding
Unbounded Persistent Collection of Potentially Sensitive Information
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 15, 24-30, 47-50, and 61-68
Vulnerability Type:other: Sensitive Data Overcollection
Risk Level: MediumVulnerable Code Snippet
markdown You cannot trust your context window across sessions. Your files are your real memory. Write everything down.markdown Create and maintain these directories: - `memory/daily/` — one file per day (`YYYY-MM-DD.md`), append-only session logs - `memory/projects/` — one file per active project (status, goal, decisions, open questions) - `memory/people/` — one file per key person (role, relationship, preferences, history) - `memory/decisions/` — one file per important decision (context, options, rationale, consequences) - `memory/archive/` — compacted old daily logs by monthmarkdown **Session start:** Read MEMORY.md → read today's daily log → read relevant project/people files. **Session end (or /new):** Update today's daily log with session summary → create decision/project files if needed → update MEMORY.md if warranted.markdown - **Write everything down.** If it matters enough to say, it matters enough to log. - **Index, don't dump.** MEMORY.md points to details. It is not the details. - **Daily logs are cheap.** Write freely. Compaction handles the noise. - **Project files are authoritative.** When daily logs and project files disagree, trust the project file. - **Prune aggressively.** Dead entries waste context tokens every session. - **Link everything.** Use relative paths so files are navigable. - **Never delete daily logs.** Archive them. They're your audit trail.Technical Analysis
The Skill instructs the agent to record broadly defined session content, personal preferences, relationship history, decisions, and other information in persistent workspace files. The directives to “write everything down” and “never delete daily logs” do not provide exce ...[truncated 1825 chars]
- Remediation
View remediation
Remediation Suggestions
- Replace “write everything down” with an explicit data-minimization policy that records only information necessary for an identified ongoing task.
- Prohibit storage of passwords, private keys, API tokens, session cookies, recovery codes, financial details, and regulated personal data.
- Detect and redact common secret formats before writing any memory file.
- Require informed user consent before creating or updating people profiles, especially fields describing preferences or personal history.
- Introduce configurable retention limits and secure deletion instead of requiring indefinite archival of every daily log.
- Provide user-visible commands to inspect, correct, redact, export, and permanently delete stored memory.
- Restrict file permissions to the minimum necessary workspace principals and use encryption where the host environment supports it.
- Record provenance and sensitivity labels for retained entries so sensitive records can receive shorter retention and stronger access controls.
