T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:15- Finding
Overly Broad Access to Local Workspace Memory
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 15–21
Vulnerability Type: Excessive access to potentially sensitive local workspace data
Risk Level: MediumVulnerable Code Snippet:
markdown - Current connected workflow highlights if known from local workspace memory ## Source of truth Read from: - Local workspace memory filesTechnical Analysis
The skill instructs the agent to read unspecified “local workspace memory files” and use workflow information found there when producing a capabilities summary. This grants the task a broader data-access scope than is necessary to inventory installed skills.
The instruction does not constrain access to specific paths, files, fields, or data types. It also does not require explicit user consent before inspecting memory that may contain conversation-derived state, operational details, personal information, or unrelated workflow context. Although
SKILL.mdline 28 prohibits exposing secrets, that instruction does not prevent excessive collection or disclosure of other sensitive information.The issue is classified as
T05: Unauthorized Access and Privilege Escalationbecause the skill directs the agent to cross a least-privilege boundary by accessing local workspace information beyond the minimum data required for its stated cataloging purpose. It does not itself grant operating-system privileges; exploitation is limited to files already readable by the executing agent.Attack Path
- A user or untrusted prompt invokes the skill by requesting an inventory of the agent’s capabilities.
- Following the skill instructions, the agent searches unspecified local workspace memory files.
- Those files may contain sensitive workflow details, conversation-derived state, personal data, or information unrelated to the capability inventory.
- The agent incorporates some of that information into the generated summary.
- The requesting party re ...[truncated 545 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove access to local workspace memory from the default capability-inventory workflow.
- Use installed
SKILL.mdfiles and the dedicatedcapabilities-inventory.mdbackup as the primary, narrowly scoped sources. - If workspace memory is genuinely required, obtain explicit user consent before accessing it.
- Define an allowlist of exact files, directories, and fields that may be read.
- Apply data minimization by extracting only capability names and non-sensitive descriptions.
- Exclude conversation content, credentials, API keys, personal data, customer information, and unrelated workflow details.
- Add a mandatory redaction step before presenting any information derived from local memory.
- Record the sources used in the resulting summary so users can verify that access remained within the approved scope.
