T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:107- Finding
Suffix-Based Session Routing Can Assign an Unrestricted Administrator Profile to the Wrong User
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is not deceptive, but its suggested multi-user access rules are loose enough to risk giving the wrong user admin access or exposing other users' profile data.
Install only after tightening the access model: use authenticated identities rather than session suffixes, match complete session keys or exact bindings, validate user IDs with a strict allowlist, replace substring relationship globs with exact membership checks, define privacy and consent rules for stored profile and relationship data, and keep unmatched sessions in a restricted sandbox.
SKILL.md:107Suffix-Based Session Routing Can Assign an Unrestricted Administrator Profile to the Wrong User
SKILL.md:107Unvalidated User IDs and Substring Relationship Globs Can Expose Other Users' Records
The skill encourages storing personal data such as names, roles, email addresses, preferences, and free-form notes without any retention, minimization, consent, or access-control guidance. In a multi-user workspace, such profile data can become sensitive and may be exposed, over-collected, or reused in ways users did not expect.
Relationship files explicitly govern information sharing between users, but the skill does not define robust consent validation, data classification, or safeguards against oversharing. This creates a real privacy risk because cross-user disclosures may be inferred from loosely written relationship notes rather than verified, current user consent.
Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
## AGENTS.md
The documentation contains a privilege-model contradiction: AGENTS.md instructs the assistant to read FRIENDS/{userId}.md and RELATIONS/*{userId}*.md, while the guest sandbox notes say guests cannot access FRIENDS/ or RELATIONS/. In practice, this ambiguity can lead to insecure deployments, accidental over-permissioning, or fallback behavior that exposes cross-user data to satisfy the documented workflow.
The guest configuration explicitly allows exec and process, which grants arbitrary code execution inside the guest sandbox. Even if filesystem scope is constrained, this materially expands attack surface beyond profile/workspace management and can enable abuse such as malware staging, resource exhaustion, or exploitation of container/runtime weaknesses.
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
Directory Setup:
mkdir -p ~/.openclaw/workspace/guests/bob
Notes:
No suspicious patterns detected.