T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:23- Finding
Overprivileged Access to Filesystem and Sensitive Activity Sources
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:23-25,SKILL.md:50-53,README.md:48-52, andREADME.md:81-84
Vulnerability Type: Excessive permissions and access to sensitive user data
Risk Level: MediumComplete Vulnerable Snippets
English rendering of
SKILL.md:23-25:markdown 2. Today's activity statistics: - Calculate the total duration of all sessions for the current day. - Review today's chat history, browser history (if permitted), and calendar events to infer activities.English rendering of
SKILL.md:50-53:markdown ## Required Tools and Permissions - File access: allow_filesystem = true - Memory review: use long-term memory or chat-history queries for current-day and current-week conversations. - Optional: browser history and calendar access.Relevant configuration command from
README.md:48-52:text openclaw config set tools.allow_filesystem true openclaw restartEnglish rendering of
README.md:81-84:markdown ## Permission Requirements - tools.allow_filesystem = true, required to read and write local journal files. - Optional browser-history and calendar tools may be used to infer activities more accurately.Technical Analysis
The Skill's legitimate persistence requirement is limited to reading and writing journal records under
~/.openclaw/moyu-journal/. Instead of requesting access scoped to that directory, its installation instructions enable a general filesystem capability.The Skill also instructs the Agent to inspect long-term memory, chat history, browser history, and calendar events. These sources can contain authentication material, confidential correspondence, medical or financial searches, private appointments, employer information, and other data unrelated to activity journaling.
Although browser-history and calendar access are described as optional, the instructions do not define per-query consent, purpose limitation, filtering, data minimization, or safegu ...[truncated 1624 chars]
- Remediation
View remediation
Remediation Suggestions
- Replace global filesystem permission with read and write access restricted to
~/.openclaw/moyu-journal/. - Do not require users to enable a general filesystem capability when a directory-scoped grant is sufficient.
- Disable access to browser history, calendars, long-term memory, and prior conversations by default.
- Obtain explicit, source-specific consent immediately before each optional data query.
- Clearly display which source will be read, the requested time range, and how the resulting data will be used or stored.
- Prefer activity information supplied directly by the user rather than inferring it from unrelated private sources.
- Filter retrieved records to the minimum necessary time range and avoid storing raw history, event descriptions, URLs, or conversation contents.
- Add retention controls and a command that lets users inspect and permanently delete stored journal data.
- Document the exact filesystem boundary and test that attempts to access paths outside the journal directory are denied.
- Replace global filesystem permission with read and write access restricted to
