T05 · Unauthorized Access and Privilege Escalation
- Location
scripts/agent-add.sh:85- Finding
Cross-Agent Disclosure Through Unsafe Main Workspace Template Copying
- Content
View full analysis
"${WORKSPACE}/${f}" echo " 📝 ${f} ← 已创建空文件(main workspace 也没有)" fi done fi ``` ### Technical Analysis The script obtains the main agent's workspace path from the privileged OpenClaw configuration and copies complete workspace documents into the newly created agent's workspace. These documents are not necessarily clean templates. In particular: - `USER.md` can contain personal details, preferences, and user-specific context. - `TOOLS.md` can contain local integration details, host-specific configuration, or operational notes. - `AGENTS.md`, `SOU ...[truncated 1870 chars]- Remediation
View remediation
