T03 · Remote Payload Retrieval and Execution
- Location
scripts/setup.sh:46- Finding
Unverified Remote Skills Are Automatically Retrieved and Activated
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is intended to sync team skills, but it creates an unattended remote update path that can change installed OpenClaw skills over time without strong validation or review.
Install only if you fully trust the configured Git repository and its maintainers, and understand that this can overwrite or delete synchronized local skills and keep updating them twice daily. Prefer manual sync or a pinned, reviewed repository revision, inspect diffs before activation, and make sure cron jobs and synchronized skill directories are removed if you uninstall.
scripts/setup.sh:46Unverified Remote Skills Are Automatically Retrieved and Activated
SKILL.md:40Recurring OpenClaw Jobs Establish Cross-Session Persistence
scripts/setup.sh:27Shell Command Injection Through Executable Configuration File
The skill instructs the agent to execute multiple shell commands, including setup scripts, sync scripts, and cron registration, but declares no tool scope or permission constraints. This increases the blast radius of accidental or malicious invocation because the agent may run filesystem- and network-capable commands without an explicit trust boundary or user-confirmed authorization model.
The trigger phrases cover broad intents like installing, updating, or syncing team skills, which can overlap with common user requests and cause the skill to activate unexpectedly. Because activation leads to shell execution, Git cloning, and persistent cron creation, an overbroad trigger materially raises the chance of unintended system changes.
The phrase '立即同步' is highly generic and could match many unrelated requests, making accidental activation especially likely. In this skill, activation runs a local shell script that updates installed skills from a remote repository, so even a benign misfire can alter the agent's future behavior and supply chain state.
The script writes a persistent config file under the user's home directory, clones or updates a remote repository, and uses rsync -a --delete to mirror repository content into ~/.openclaw/skills without any confirmation, dry-run, backup, or explicit warning about deletion behavior. In this skill's context, that is security-relevant because a user is synchronizing code/content from a remote team repository into a local execution environment, so mistakes in SKILLS_SUBDIR, repository compromise, or unexpected repository contents can silently overwrite or remove local skills.
The script runs rsync -a --delete, which can remove files from the destination and is therefore potentially destructive. Although the file has brief comments about syncing, there is no explicit warning, confirmation, or user-facing disclosure that destination files may be deleted during the operation.
The script's natural-language comments and console output are entirely in Chinese, which imposes a specific language on users. There is no opt-in, language selection, or documented reason that the skill is intended only for a Chinese-speaking or region-specific audience.
Comments and the visible error/output text are written only in Chinese, which imposes a specific language choice on users without any opt-in or documented justification. Under the locale policy rule, this is a natural-language policy concern because the file does not offer an alternative language or explain a required locale context.
This shell script's natural-language comments and console messages are entirely in Chinese, which imposes a specific language on users without any opt-in or indication that the skill is intended only for a Chinese-speaking environment. The stated policy requires flagging language or locale constraints unless they are optional or clearly justified.
No suspicious patterns detected.