T05 · Unauthorized Access and Privilege Escalation
- Location
setup.sh:89- Finding
ACP Is Configured with Excessive Persistent Permissions
- Content
View full analysis
/dev/null || echo "$ALLOW_JSON") openclaw config set acp.allowedAgents "$MERGED_JSON" # Cross-session access openclaw config set tools.sessions.visibility all openclaw config set tools.agentToAgent.enabled true ``` ### Technical Analysis The installer persistently sets the ACP permission mode to `approve-all`, which removes interactive approval from agent operations. It also configures session visibility as `all` and enables agent-to-agent communication globally. These permissions are broader than necessary for delegating a coding task. A least-privilege implementation would only expose the parent session and explicitly created child sessions, and it would require approval for sensitive file, command, network, or configuration operations. The impact is amplified because every locally detected coding agent is merged into the persistent allowlist. The Skill does not independently establish the trustworthiness of those executables before granting them access. ### Attack Path 1. A user executes `setup.sh`. 2. The s ...[truncated 1228 chars]- Remediation
View remediation
