T05 · Unauthorized Access and Privilege Escalation
- Location
setup.sh:92- Finding
ACP Agents Are Granted Global Session Access and Automatic Permission Approval
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill has a coherent coding-delegation purpose, but its installer makes broad persistent OpenClaw permission and session-access changes that users should review before installing.
Review setup.sh before installing. Install only if you are comfortable with global ACP delegation settings, automatic permission approval, all-session visibility, agent-to-agent access, heartbeat config edits, daemon restart, and an unpinned global npm install from a mirror. Prefer changing those settings to least-privilege values before use.
setup.sh:92ACP Agents Are Granted Global Session Access and Automatic Permission Approval
setup.sh:52Unpinned Global Package Installation Uses a Third-Party npm Registry Mirror
Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
# 删除 skill
rm -rf ~/.openclaw/workspace-assistant/skills/acp-coder
openclaw daemon restart
Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
# 删除 skill
rm -rf ~/.openclaw/workspace-assistant/skills/acp-coder
openclaw daemon restart
The skill is presented as a delegation/orchestration tool, but its instructions also include persistent environment changes such as modifying OpenClaw configuration, enabling plugins, adjusting permission modes, installing global packages, and restarting the daemon. That mismatch is dangerous because users may invoke what appears to be a coding helper without understanding that it can alter local agent infrastructure and reduce security controls.
The installation section states that setup.sh will modify OpenClaw configuration, enable cross-session access, install binaries, configure callbacks, and restart the daemon, but it does not present prominent warnings or require informed consent for these system changes. In a skill that orchestrates external agents, silently broadening access or altering daemon behavior materially increases the attack surface and the chance of unsafe deployment.
The README describes very broad automatic triggers for coding-related phrases, which can cause this skill to activate on ordinary conversation and delegate user content to external coding agents unexpectedly. In this skill’s context, auto-delegation to external agents increases the risk of unintended code access, data disclosure, or execution of higher-impact workflows without sufficiently explicit user intent.
The trigger list contains broad phrases like review, fix, debug, develop, and 看下项目, which are common in normal conversation and could invoke the skill accidentally. Because this skill can delegate to external agents that analyze code, run tests, and potentially modify files, accidental activation raises the risk of unintended actions.
The description does not clearly warn users that delegated agents may modify project files, run tests, inspect codebases, and execute commands in the target workspace. Missing this disclosure undermines informed consent and can cause users to trigger actions with side effects they did not anticipate.
The skill claims ACP-only delegation, but the instructions explicitly allow direct local shell execution for some requests. This broadens the execution surface beyond what the user is told to expect and can lead to unintended local command execution under the guise of delegation.
The script silently changes multiple OpenClaw security-relevant settings in the user's environment without an upfront warning or confirmation. Because it modifies persistent behavior affecting agent permissions and visibility, users may unknowingly end up with a significantly less secure configuration than they intended.
The installer enables permissionMode approve-all, turns on tools.sessions.visibility all, and enables agent-to-agent access globally. These settings materially expand what delegated coding agents can do and what data they can access beyond the narrow purpose of code-task delegation, reducing user oversight and increasing the blast radius if an agent is compromised or misused.
The script directly rewrites ~/.openclaw/openclaw.json to add heartbeat settings for all agents, again without explicit user consent or backup handling. Direct file mutation of a user's persistent config can introduce unexpected behavior, break custom configurations, or enable background callback behavior the user did not knowingly authorize.
The uninstall instructions use recursive deletion of the skill directory without warning about the destructive nature of the command or advising users to verify the expanded path. While the target path is specific, destructive shell commands in documentation can still lead to accidental data loss if copied, modified, or run in an unexpected environment.
The instruction text states in Chinese how the orchestrator must behave, and the document consistently prescribes Chinese reply templates such as "收到,让 claude 去分析这个项目。" without indicating that the assistant should match the user's preferred language. This creates a locale/language policy concern because it implicitly forces one language rather than offering opt-in or adapting to user preference.
The natural-language comments and user-facing messages in the script are presented in Chinese, including the installation description and runtime output. This can amount to a language/locale policy issue if the skill effectively forces a specific language without documenting user opt-in or providing an alternative.