The skill is highly vulnerable to command injection, allowing arbitrary code execution and data exfiltration due to unsanitized user
Claims to do
Skill 查找器 v1.0.1: 帮助用户发现和安装 ClawHub 上的 Skills。
Actually does
This skill uses the `clawhub` CLI tool to search, inspect, install, and list skills from ClawHub. It can also directly query `https://clawhub.ai/api/v1/skills/<skill-name>` using `curl` and `jq` to retrieve skill statistics. Additionally, it uses `ls` to verify local skill installations and list locally installed skills.
openclaw skills install guohongbin-git/skill-finder-cnThe skill constructs multiple shell commands (`clawhub search`, `clawhub inspect`, `clawhub install`, `curl`, `jq`, `ls`) using user-provided input (`<用户需求>`, `<skill-name>`) without apparent sanitization. This vulnerability allows a malicious user to inject arbitrary shell commands, leading to potential arbitrary code execution on the agent's host system.
clawhub search "<用户需求>" clawhub inspect <skill-name> curl "https://clawhub.ai/api/v1/skills/<skill-name>" | jq '.skill.stats' clawhub install <skill-name> ls ~/.openclaw/workspace/skills/<skill-name>/SKILL.md
The skill uses `curl` to fetch skill details from an external API. If the `<skill-name>` parameter is vulnerable to command injection, an attacker could manipulate the URL to exfiltrate sensitive data from the agent's environment to an attacker-controlled server.
curl "https://clawhub.ai/api/v1/skills/<skill-name>" | jq '.skill.stats'
The `ls` command is used for verifying skill installation, taking `<skill-name>` as input. If this input is not properly sanitized, an attacker could inject commands to list arbitrary directories or files on the system, potentially revealing sensitive information about the agent's environment.
ls ~/.openclaw/workspace/skills/<skill-name>/SKILL.md
[](https://mondoo.com/ai-agent-security/skills/clawhub/guohongbin-git/skill-finder-cn)<a href="https://mondoo.com/ai-agent-security/skills/clawhub/guohongbin-git/skill-finder-cn"><img src="https://mondoo.com/ai-agent-security/api/badge/clawhub/guohongbin-git/skill-finder-cn.svg" alt="Mondoo Skill Check" /></a>https://mondoo.com/ai-agent-security/api/badge/clawhub/guohongbin-git/skill-finder-cn.svgSkills can read files, run commands, and access credentials. Mondoo helps organizations manage the security risks of AI agent skills across their entire fleet.