T03 · Remote Payload Retrieval and Execution
- Location
SHARE.md:24- Finding
External Skill Archive Is Downloaded and Executed Without Enforced Integrity Verification
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill mostly matches its browser-toggle purpose, but it gives risky install guidance through an unverified external archive and has an under-scoped restore command that can overwrite OpenClaw configuration from any file.
Install only from the reviewed ClawHub artifact or a verified maintainer source, not from the placeholder GitHub archive instructions in SHARE.md. Before using --restore, only pass backup files you trust from the OpenClaw backup directory, because the current implementation can replace the active OpenClaw config with arbitrary file contents. Review any sudo or deletion commands before copying them into a shell.
SHARE.md:24External Skill Archive Is Downloaded and Executed Without Enforced Integrity Verification
browser_toggle.py:123Unvalidated Restore Operation Can Replace the Active OpenClaw Configuration With an Arbitrary File
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).
openclaw gateway restart
# 2. 删除 Skill
rm -rf ~/.openclaw/workspace/skills/browser-toggle
# 3. 删除全局命令(如果存在)
sudo rm -f /usr/local/bin/openclaw-browser
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).
openclaw gateway restart
# 2. 删除 Skill
rm -rf ~/.openclaw/workspace/skills/browser-toggle
# 3. 删除全局命令(如果存在)
sudo rm -f /usr/local/bin/openclaw-browser
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).
rm -rf ~/.openclaw/workspace/skills/browser-toggle
sudo rm -f /usr/local/bin/openclaw-browser
---
The command rm -rf ~/.openclaw/workspace/skills/browser-toggle recursively deletes a directory and is presented as a copy-paste uninstall step without an explicit warning. Even though the path is specific to the skill, recursive force deletion is risky in documentation because path mistakes, symlink surprises, or user misunderstanding can cause unintended data loss.
openclaw gateway restart
# 2. 删除 Skill
rm -rf ~/.openclaw/workspace/skills/browser-toggle
# 3. 删除全局命令(如果存在)
sudo rm -f /usr/local/bin/openclaw-browser
The command rm -rf ~/.openclaw/workspace/skills/browser-toggle recursively deletes a directory and is presented as a copy-paste uninstall step without an explicit warning. Even though the path is specific to the skill, recursive force deletion is risky in documentation because path mistakes, symlink surprises, or user misunderstanding can cause unintended data loss.
openclaw gateway restart
# 2. 删除 Skill
rm -rf ~/.openclaw/workspace/skills/browser-toggle
# 3. 删除全局命令(如果存在)
sudo rm -f /usr/local/bin/openclaw-browser
The command rm -f /usr/local/bin/openclaw-browser removes a file from a privileged system path and may be executed with sudo, making it sensitive. In documentation, direct destructive commands against system locations are dangerous if presented without explanation, validation, or warnings, because users may remove the wrong file or normalize unsafe copy-paste behavior.
rm -rf ~/.openclaw/workspace/skills/browser-toggle
sudo rm -f /usr/local/bin/openclaw-browser
---
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).
# 删除不必要的文件
echo "🗑️ 删除不必要的文件..."
rm -f "$BUILD_DIR"/*.pyc
rm -rf "$BUILD_DIR"/__pycache__
rm -f "$BUILD_DIR"/dist/*.tar.gz 2>/dev/null || true
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).
# 删除不必要的文件
echo "🗑️ 删除不必要的文件..."
rm -f "$BUILD_DIR"/*.pyc
rm -rf "$BUILD_DIR"/__pycache__
rm -f "$BUILD_DIR"/dist/*.tar.gz 2>/dev/null || true
# 创建 README
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).
echo "🗑️ 删除不必要的文件..."
rm -f "$BUILD_DIR"/*.pyc
rm -rf "$BUILD_DIR"/__pycache__
rm -f "$BUILD_DIR"/dist/*.tar.gz 2>/dev/null || true
# 创建 README
echo "📝 创建发布说明..."
The file forces Chinese-language instructions throughout, including the title, headings, warnings, and command descriptions, with no indication that this skill is region-specific or that users may choose another language. Per the policy, imposing a specific language without user opt-in is a natural-language policy violation.
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
# 1. 创建 Skill 目录
mkdir -p ~/.openclaw/workspace/skills/browser-toggle
# 2. 复制文件
cp browser_toggle.py ~/.openclaw/workspace/skills/browser-toggle/
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
# 安装 Chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
sudo apt-get install -f -y
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
# 安装 Chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
sudo apt-get install -f -y
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
# 安装 Chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
sudo apt-get install -f -y
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
# 安装 Chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
sudo apt-get install -f -y
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
# 安装 Chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
sudo apt-get install -f -y
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
# 安装 Chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
sudo apt-get install -f -y
This markdown file includes rm -rf ~/.openclaw/workspace/skills/browser-toggle and sudo rm -f /usr/local/bin/openclaw-browser as uninstall steps, which are destructive operations. While the section labels them as uninstall actions, the document does not explicitly warn users that these commands permanently delete files and may remove the installed skill or global command irreversibly.
All user-facing instructions and descriptions in the file are presented only in Chinese, and the document does not indicate that this language choice is optional or region-specific. This can violate language/locale policy when a skill forces a specific language without user opt-in.
The uninstall section includes destructive deletion commands (rm -rf and sudo rm -f) without an explicit warning that they permanently remove files and may require elevated privileges. In documentation, this is dangerous because users may copy-paste commands blindly, leading to unintended data loss or removal of the wrong path if the command is modified or variables resolve unexpectedly.
The documentation instructs users to run sudo rm -f /usr/local/bin/openclaw-browser, which performs privileged deletion without a warning or verification step. In a skill-installation context, privileged file deletion is sensitive because users may copy-paste it without confirming the target or understanding the impact.
rm -rf ~/.openclaw/workspace/skills/browser-toggle
sudo rm -f /usr/local/bin/openclaw-browser
---
The user-facing title/description text is written in Chinese and does not indicate that other languages are supported or that the locale restriction is intentional. The policy requires avoiding language or locale constraints unless the skill offers opt-in choice or clearly documents a justified region-specific limitation.
The script's comments, console messages, and the generated RELEASE.md content are entirely in Chinese, which imposes a specific language on users and operators. Under the policy, this is a natural-language locale violation because there is no opt-in, alternate language, or stated region-specific justification.
The script's comments and nearly all user-facing status/help messages are in Chinese, which imposes a specific language on users. The file does not offer an alternative language, opt-in, or any justification that this skill is intended only for a Chinese-language environment.
This markdown file describes behavior that enables/disables the browser by changing configuration state, including automatic backup and recovery, but it does not explicitly warn users that configuration files will be modified. For markdown skills, operations affecting user data or system integrity should be disclosed so users understand the impact before running the skill.