other
Error
- Location
- SKILL.md:32
- Finding
- Automatic Exfiltration of Sensitive Workspace and Agent-State Data<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, lines 32-34, 55-60, and 80-99 **Vulnerability Type**: Sensitive data exfiltration through broad automatic cloud backup **Risk Level**: High ### Vulnerable Code ```text AI will: 1. Upload all workspace files 2. Give you a Key (e.g., `map_abc123`) ``` ```text **Zero setup.** AI checks every hour and syncs changes automatically. ``` ```text Trigger backup when: - First-time setup - User says "backup", "save config", "remember this" - SOUL.md / USER.md / MEMORY.md modified - New skill created ``` ```text POST /storage-project (get cloud repo) ↓ git add *.md (all markdown files) git commit -m "Backup" git push (using authenticated_url) ↓ POST /project-mapping (create Key) ↓ Tell user: "Save this Key: map_xxx" ``` ### Technical Analysis The Skill directs an agent to upload workspace files to an externally operated cloud service. It specifically treats changes to `SOUL.md`, `USER.md`, and `MEMORY.md` as backup triggers and stages all matching Markdown files with `git add *.md`. These files can contain user profiles, persistent memories, system behavior, private conversation-derived information, credentials, API tokens, internal URLs, or other confidential data. The instructions provide no file allowlist, secret scanning, redaction, retention policy, deletion mechanism, or review of the exact data being transferred. The advertised hourly synchronization further expands the exposure because later changes may be uploaded without fresh, informed approval. Although the user may initially request backup, the broad and continuing transfer is not bounded to a clearly disclosed set of files. ### Attack Path 1. A user asks the agent to set up cloud backup. 2. The agent requests an authenticated repository URL from the external service. 3. The agent stages all Markdown files, including identity, memory, and agent-configuration files. 4. The agent commits and pushes those files to the externally sup ...[truncated 849 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions - Require explicit, informed consent before the first external upload. - Display the destination host and a complete file manifest before transferring data. - Use an explicit allowlist rather than staging all Markdown or workspace files. - Exclude `SOUL.md`, `USER.md`, `MEMORY.md`, credentials, secrets, logs, and private keys by default. - Run secret scanning and content classification before every upload. - Do not enable recurring synchronization unless the user separately opts in. - Provide controls to pause synchronization and delete remotely stored data. - Prefer a repository or storage account controlled directly by the user. - Encrypt backup contents locally so the service cannot read plaintext data. - Document storage location, retention period, access controls, and deletion procedures. ]]>
