T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:3- Finding
Unbounded Agent Memory Synchronization to External Cloud Storage
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 3–8
Vulnerability Type: Unrestricted transfer of local agent-memory data to external storage
Risk Level: HighRelevant Snippet:
markdown Sync OpenClaw markdown memory files to Supabase with Luhmann encoding. Parse, encode, embed, and upsert agent memories from local workspace to cloud storage. ## Commands ```bash echo-memory sync # Parse + encode + embed + upsert to SupabaseTechnical Analysis
The documented
echo-memory syncworkflow reads agent-memory Markdown files from the local workspace and transfers their contents to Supabase. This crosses a local-to-cloud trust boundary and may expose sensitive persistent context.The skill documentation does not specify a restrictive file allowlist, secret filtering, destination verification, user confirmation, tenant identity, retention policy, or encryption requirements. It also does not include an implementation that would allow these controls to be verified. Consequently, invoking the synchronization command may transfer credentials, personal information, conversation history, internal project details, or other sensitive material contained in memory files to an unspecified Supabase destination.
The cloud-transfer behavior is explicitly documented, but its implementation and actual authorization controls could not be validated because the audited package contains only
SKILL.md.Attack Path
- Sensitive information is stored in local OpenClaw Markdown memory files.
- A user or agent invokes
echo-memory sync. - The command parses and encodes the local memory files.
- The resulting memory content or embeddings are uploaded and upserted to a Supabase destination.
- If that destination is unauthorized, misconfigured, shared, or attacker-controlled, the uploaded information becomes accessible outside the intended local trust boundary.
Impact Assessment
Succes ...[truncated 563 chars]
- Remediation
View remediation
Remediation Suggestions
- Define an explicit allowlist of directories and files eligible for synchronization; deny all other paths by default.
- Exclude credentials, environment files, private keys, tokens, authentication records, and other known secret formats.
- Apply secret and sensitive-data scanning before encoding or uploading content, and abort synchronization when protected material is detected.
- Display the exact source files, destination Supabase project, account or tenant, table, and expected data changes before transmission.
- Require explicit informed confirmation for cloud uploads, with
--dry-runas the recommended default workflow. - Authenticate the destination securely and enforce least-privilege credentials restricted to the required database objects and operations.
- Encrypt data in transit and at rest, and document retention, deletion, access-control, and tenant-isolation policies.
- Provide the executable implementation, dependency manifest, and configuration schema so that file selection, authentication, filtering, and upload behavior can be independently audited.
- Add audit logging that records which files were synchronized and where they were sent without recording their sensitive contents.
