China Install Skills

AdvisoryAudited by Static analysis on Apr 30, 2026.

Overview

No suspicious patterns detected.

Findings (0)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

ConcernHigh Confidence
ASI05: Unexpected Code Execution
What this means

Installing the skill can immediately run shell code that changes the user's OpenClaw and shell environment.

Why it was flagged

The hook explicitly runs a noninteractive initialization script immediately after installation, so setup code can execute before a separate user request.

Skill content
# OpenClaw 会自动执行此脚本
export NONINTERACTIVE=1
"${SKILLS_DIR}/scripts/init-noninteractive.sh"
Recommendation

Make post-install actions opt-in, declare them in install metadata, and show the exact changes before running them.

ConcernHigh Confidence
ASI10: Rogue Agents
What this means

Future clawhub commands may be intercepted, and a weekly background task may run even after the original install task is over.

Why it was flagged

The initializer schedules cron, prepends a bin directory to PATH, and creates a clawhub wrapper, causing the skill to keep affecting future sessions and commands.

Skill content
("${SCRIPT_DIR}/setup-cron.sh" "$AGENT_WORKSPACE" >> /tmp/china-install-init.log 2>&1) || true
...
echo "export PATH=\"$BIN_DIR:\$PATH\"" >> "$SHELL_RC"
...
cat > "$BIN_DIR/clawhub" << 'CLAWWRAP'
Recommendation

Do not install command wrappers or cron jobs by default; require explicit confirmation and provide one uninstall command that removes cron, PATH edits, wrappers, and memory entries.

What this means

The agent may later treat this skill's command replacement as remembered context, even when the user did not explicitly ask for it.

Why it was flagged

The initializer appends operational instructions into the MAIN agent's persistent memory, which future conversations may reuse as trusted context.

Skill content
MEMORY_DIR="${AGENT_WORKSPACE}/agents/MAIN/memory"
...
cat >> "$MEMORY_FILE" << EOF
...
现在 \`clawhub install\` 命令会被自动替换为使用 china-install-skills
Recommendation

Ask before writing to agent memory, keep entries factual rather than directive, and scope any record to this skill's own files where possible.

What this means

An ambiguous search could install or overwrite the wrong skill in an agent's skills directory.

Why it was flagged

The quick-install flow takes the first remote search match and force-installs it, without showing choices or requiring confirmation of the exact slug and overwrite.

Skill content
SEARCH_RESULT=$(curl -sL "https://wry-manatee-359.convex.site/api/v1/skills?q=$(echo $QUERY | sed 's/ /+/g')" | ... | head -1)
...
"${SCRIPT_DIR}/install.sh" "$SLUG" "$TARGET" --force
Recommendation

Require an exact slug or present candidates for confirmation, avoid --force by default, and validate that the destination remains inside the selected skills directory.

What this means

Users have less ability to verify who maintains the installer and whether the downloaded code path matches the published source.

Why it was flagged

The registry does not identify a skill-specific source and points to the general OpenClaw repository, which weakens provenance for a skill that downloads and installs other code.

Skill content
Source: unknown
Homepage: https://github.com/openclaw/openclaw
Recommendation

Publish a clear, skill-specific source repository, align registry metadata with the included docs, and use integrity checks for downloaded packages.

What this means

A user may approve installation believing it is a simple workspace-local installer when it also changes persistent command behavior.

Why it was flagged

The document says it modifies cron, PATH, and command behavior, but later claims it does not modify system configuration, which can make users underestimate the impact.

Skill content
自动完成:
- ✅ 配置每周自动更新检查(crontab)
- ✅ 替换 `clawhub install` 命令
- ✅ 添加到 PATH
...
### 权限控制
- 不修改系统配置
Recommendation

Correct the safety wording and clearly disclose all persistent changes before installation.