T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:112- Finding
Workspace Memory Is Read and Forwarded Without Explicit User Consent
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 112-116
Vulnerability Type: Unauthorized access to persistent workspace context
Risk Level: MediumEvidence
markdown ## Workspace context injection Before running, check the workspace memory for project context: - Read `memory.md` in the workspace for any stored research focus - If found, append it to the topic: e.g. `"Analyse sequences [project: working on BRCA2 binder design]"` - This ensures the investigation is scoped to the user's ongoing projectTechnical Analysis
The Skill instructs the agent to read
memory.mdautomatically and append its contents to the investigation topic. Accessing persistent workspace memory is not intrinsically necessary to analyze a user-provided file and expands the data-access scope beyond the immediate request.Because the resulting topic is supplied to the ScienceClaw multi-agent engine and its selected integrations, unrelated research details or sensitive user context stored in memory can cross a trust boundary. The instructions do not require user approval, restrict which memory entries may be included, redact sensitive material, or identify the downstream recipients and retention policies.
This violates least-privilege and data-minimization principles: an analysis request for one file can cause persistent context from another activity to be accessed and disclosed.
Attack Path
- The workspace contains
memory.mdwith confidential research context or other sensitive information. - A user requests analysis of a local scientific file.
- Following the Skill, the agent reads
memory.mdwithout asking the user. - The agent appends memory content to the
TOPICargument. bin/scienceclaw-postsends or otherwise exposes the augmented topic to the multi-agent engine and selected tool integrations.- Downstream services receive information unrelated to the minimum data required for th ...[truncated 569 chars]
- The workspace contains
- Remediation
View remediation
Remediation Suggestions
- Remove automatic access to
memory.md; analyze only the file and question explicitly supplied by the user by default. - Require explicit, informed user approval before reading or incorporating workspace memory.
- Present the exact context proposed for inclusion before invoking the engine.
- Include only the minimum relevant memory fragment rather than the complete stored context.
- Redact credentials, identifiers, unpublished findings, and unrelated project information.
- Document which downstream tools receive the context and their retention policies.
- Add a privacy-preserving mode that prohibits workspace-memory access and external transmission.
- Remove automatic access to
