other
- Location
SKILL.md:79- Finding
Unrestricted Access to Persistent Memory, Chat Archives, and Backup Content
- Content
View full analysis
Vulnerability Details
File Locations:
SKILL.md:79-85SKILL.md:103references/commands.md:8-10references/commands.md:15references/commands.md:59
Vulnerability Type: Unrestricted sensitive Agent data access and persistence
Risk Level: MediumRelevant Source Segments
The following are faithful English translations of the relevant source instructions:
text SKILL.md:79-85 User: "Record this: the product should be simple and should not have complex features." → Extract key information → Save it to MEMORY.md and record it in the daily log User: "Find the previous conversation about stock analysis." → Search memory/chat-*.md → Return the resultstext SKILL.md:103 → Aggregate today's conversations → Extract key decisions → Produce a review reporttext references/commands.md:8-10 | "Archive" | Save the conversation to memory/chat-YYYY-MM-DD.md | | "Save this" | Extract key information into MEMORY.md | | "Back up X" | Copy X into the backup/ directory |text references/commands.md:15 | "Find X" | Select-String "X" memory/chat-*.md |text references/commands.md:59 - "Remember my wife's birthday" → Save it to MEMORY.mdTechnical Analysis
The Skill instructs the Agent to read historical conversations, extract information from them, write information into persistent memory, and copy user-selected content into a backup directory. The parameter represented by
Xis not constrained to an approved directory, data type, or sensitivity level.No requirements are defined for explicit user confirmation, source-path validation, destination-path validation, sensitive-data filtering, retention periods, access controls, or deletion. Consequently, a broad natural-language request can cause private conversation content or other sensitive information to be searched, returned, duplicated, or retained beyond the immediate se ...[truncated 1568 chars]
- Remediation
View remediation
Remediation Suggestions
- Require explicit confirmation before reading chat archives, writing to
MEMORY.md, creating archives, or copying content into a backup directory. - Resolve and validate all source and destination paths against strict allowlisted directories.
- Reject absolute paths, parent-directory traversal, symbolic-link escapes, and unsupported file types.
- Show the user a preview of the information that will be saved or returned.
- Detect and redact credentials, authentication tokens, financial information, health information, and other sensitive personal data by default.
- Apply least-privilege file permissions to memory, archive, and backup files.
- Define retention and deletion policies for persistent memory, chat archives, and backups.
- Record auditable metadata describing what was accessed, where it was stored, and which user approved the operation.
- Separate ephemeral task context from long-term memory so ordinary requests do not automatically become persistent records.
- Require explicit confirmation before reading chat archives, writing to
