T07 · Tool Hijacking and Spoofing
- Location
SKILL.md:153- Finding
System-Wide ClawHub CLI Modification and Forced License Acceptance
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill’s main purpose is understandable, but it asks agents to publish remotely, handle a token in chat, and patch a system-wide CLI file without enough safeguards.
Review before installing. Use only with an explicit GitHub-to-ClawHub publishing request, do not paste long-lived or broad-scope tokens into chat, require a final confirmation before publishing, and do not allow it to patch /usr/local/lib or auto-accept license terms. Prefer a dedicated workspace, a least-privileged temporary token, and an official CLI update instead of the documented patch workaround.
SKILL.md:153System-Wide ClawHub CLI Modification and Forced License Acceptance
SKILL.md:23Unsafe Collection and Shell Handling of a ClawHub Publishing Token
The trigger description uses broad phrases like '类似需求时触发' and several generic variants, which can cause the skill to activate for loosely related requests. Because this skill performs web fetching, local file creation, shell execution, and remote publication, accidental activation can escalate into unintended side effects rather than a harmless misfire.
The skill instructs the user to provide a ClawHub token and requires shell execution, but it does not include safeguards for secret handling or warnings about filesystem and system changes. In context, the workflow writes under /root, executes shell commands, and publishes remotely, so omission of credential and execution safety guidance creates a meaningful risk of token exposure and unintended local modification.
Quick mode allows the skill to go from a single user message directly to fetching content, generating artifacts, modifying the local filesystem, and publishing to a remote registry without an explicit final confirmation. Since publication is an external, state-changing action and the skill may also patch CLI files in error handling, skipping a confirmation step materially increases the chance of accidental or socially engineered releases.