T05 · Unauthorized Access and Privilege Escalation
Warning
- Location
- SKILL.md:153
- Finding
- Unbounded monitoring of team-member activity through privileged workspace state<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, lines 153–167 **Vulnerability Type**: `T05: Unauthorized Access and Privilege Escalation` **Risk Level**: Medium ### Vulnerable Instructions The following is an English translation of the relevant source instructions: ```markdown **Configuration location**: `/root/.openclaw/workspace/HEARTBEAT.md` **Check frequency**: - Execute every 30-minute heartbeat - Complete at least 2–3 meaningful checks each day #### 1. Member communication check (every 30 minutes) Read `memory/members-touch.md` to obtain the last communication time for members. Check whether any member has not communicated with the agent for more than three hours. If so, proactively mention the member in the group, ask to inspect the ToDo list, and discuss progress. After each communication, update the timestamp in `members-touch.md`. ``` ### Technical Analysis The skill directs the agent to access state under `/root/.openclaw/workspace`, repeatedly inspect persistent communication records, determine individual inactivity, and update those records after contacting members. This crosses a least-privilege boundary because meeting and document collaboration do not inherently require access to a root-owned agent workspace or continuous monitoring of every member's communication history. The instructions do not require administrator authorization, member consent, project-level isolation, data minimization, or a retention period. The issue does not demonstrate an operating-system privilege-escalation exploit. Rather, it instructs an already capable agent to use access broader than the collaboration task legitimately requires. ### Attack Path 1. A user installs or activates the skill in an environment where the agent can read `/root/.openclaw/workspace`. 2. A recurring heartbeat invokes the monitoring workflow every 30 minutes. 3. The agent reads `memory/members-touch.md`, exposing persistent member interaction metadata. 4. It ident ...[truncated 883 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Store heartbeat state in a project-scoped, non-root directory with permissions limited to the service account running the skill. 2. Require explicit administrator approval before enabling recurring monitoring. 3. Obtain informed consent from members whose interaction metadata will be processed. 4. Track task-level status rather than communication frequency or personal inactivity. 5. Disable automatic member outreach by default and require human approval before sending reminders. 6. Define a short retention period and automatically delete obsolete interaction records. 7. Record an audit log identifying which records were read, why they were needed, and which messages were sent. 8. Provide a documented command or configuration switch that immediately disables the monitoring workflow. ]]>
