T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:12- Finding
Overbroad Automatic Access to Agent Memory and Workspace Data
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 12, 37-38, 134-143, and 161
Vulnerability Type: Excessive access to persistent memory, task state, repository history, and project files
Risk Level: MediumVulnerable Skill Instructions
The following is a faithful English rendering of the relevant source segments:
markdown - Zero-input data collection — Automatically reads work logs, memory files, and Git records without requiring manual input.text Work traces collected automatically: - memory/ logs - MEMORY.md memory - Git commit records - Project file changesmarkdown | Data source | Daily | Weekly | Monthly | Project | |--------------------------------|:-----:|:------:|:-------:|:-------:| | memory/YYYY-MM-DD.md | Yes | 7 days | Month | Yes | | MEMORY.md long-term memory | Yes | Yes | Yes | Yes | | Git commit records | Yes | Yes | No | No | | Project directory files | No | No | No | Yes | | HEARTBEAT.md task status | Yes | No | No | No | | User-provided content | Yes | Yes | Yes | Yes |markdown - Data sources: Specify additional files or APIs.Technical Analysis
The Skill directs the hosting agent to collect information automatically from several potentially sensitive sources, including persistent
MEMORY.mdcontent, dated memory logs, Git history, project-directory files, andHEARTBEAT.md. It also permits unspecified additional files or APIs to be selected as data sources.These instructions do not establish path allowlists, source-by-source consent, sensitivity filtering, project boundaries, or least-privilege restrictions. Consequently, a simple report-generation request may cause the agent to inspect information beyond the content explicitly supplied by the user and beyond what is ...[truncated 1977 chars]
- Remediation
View remediation
Remediation Suggestions
- Default to content explicitly supplied by the user rather than automatically scanning memory or workspace data.
- Require explicit, source-by-source approval before reading
MEMORY.md,HEARTBEAT.md, Git history, project files, or external APIs. - Display the exact paths, repositories, date ranges, and API sources that will be accessed before collection begins.
- Restrict filesystem access to user-approved directories and reject traversal outside those boundaries.
- Apply the shortest necessary date range and avoid loading complete long-term memory for a daily or weekly report.
- Add filtering for secrets, credentials, personal information, customer data, internal URLs, and unrelated memory entries.
- Present a source and redaction preview before producing a final report.
- Require separate confirmation before preparing output intended for an external recipient or collaboration platform.
- Record which sources contributed to each generated report so users can audit unintended inclusion.
- Remove or constrain the open-ended option to use unspecified additional files or APIs.
