T05 · Unauthorized Access and Privilege Escalation
- Location
base/AGENTS.md:13- Finding
Common conversational phrases trigger unbounded access to unrelated private context
- Content
View full analysis
Vulnerability Details
File Location:
base/AGENTS.md, lines 13–26
Vulnerability Type: Excessive access to private files and external storage
Risk Level: MediumVulnerable Instructions
markdown ## 🚨 "Try Again" Protocol — NEVER Gaslight When your human says "try again", "we did this before", "I taught you this", or "check again": - **ASSUME IT EXISTS** — they may have multiple parallel conversations - **SEARCH HARDER** — don't ask them to provide info again - **CHECK WORKSPACE FIRST** — config files, memory/, .envrc - **EXHAUST ALL OPTIONS** before saying "not found": 1. Workspace root (YOUR HOME — check it first!) 2. Cloud storage / synced drives 3. Home config: `~/.config/`, dotfiles 4. Sessions: Recent history, handoffs 5. Memory: Semantic search **NEVER** make them repeat themselves. **NEVER** imply something doesn't exist when they say it does.Technical Analysis
The installed instructions treat ordinary phrases such as “try again” or “check again” as authorization to search a broad set of private data sources. The search scope includes credential-bearing workspace files, cloud or synchronized storage, home configuration and dotfiles, other session history, handoffs, and persistent memory.
No task-specific path allowlist, field allowlist, sensitivity filter, or separate authorization check limits this search. The protocol consequently expands a narrow conversational request into access to data outside the active task. This conflicts with least-privilege principles and unnecessarily places unrelated private information into the agent context.
The behavior is active after installation because
scripts/install.shincorporatesbase/AGENTS.mdinto the workspace’s auto-loadedAGENTS.mdthrough thetemplates/AGENTS.mdplaceholder.Attack Path
- The user installs Spacesuit into an OpenClaw workspace.
- The installer places the instructions from
base/AGENTS.mdinto the workspace-levelAGENTS.md.
...[truncated 1220 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove phrase-based blanket authorization to search private data sources.
- Restrict automatic searches to files directly relevant to the current task and inside the active workspace.
- Require explicit, source-specific user approval before accessing:
- Cloud or synchronized storage
- Home configuration and dotfiles
- Other session histories or handoffs
- Long-term memory unrelated to the current request
- Files likely to contain credentials, including
.envand.envrc
- Introduce a strict path and field allowlist for context retrieval.
- Exclude credential values from agent context even when configuration discovery is authorized.
- Report which additional source is needed and why before requesting permission to inspect it.
