T03 · Remote Payload Retrieval and Execution
- Location
scripts/install.sh:35- Finding
Unverified Remote Skill Payload Installation
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill openly installs ClawHub skills, but its installer can overwrite or delete local content too broadly and lacks package integrity checks.
Only install this after reviewing or fixing the installer. Prefer the official ClawHub/OpenClaw install path, or require strict skill-name validation, checksum/signature verification, safe temporary directories, archive-entry validation, and explicit confirmation before replacing existing skills.
scripts/install.sh:35Unverified Remote Skill Payload Installation
scripts/install.sh:18Path Traversal Enables Deletion and Replacement Outside the Skills Directory
scripts/install.sh:35Unsafe ZIP Extraction May Write Outside the Installation Directory
scripts/install.sh:35Predictable Temporary Archive Path Permits Symlink and Race Attacks
The script accepts an arbitrary user-supplied skill name and uses it to construct both /tmp and installation paths, then performs destructive operations like rm -rf on the derived target directory. Because skill_name is not validated or canonicalized, values containing path traversal components or path separators could cause deletion or extraction outside the intended skills directory, making this a real arbitrary file overwrite/delete risk.
The skill invokes shell-based installation behavior but declares no tool scope or permissions, which weakens containment and reviewability for a workflow that downloads remote content and installs it into the local workspace. In this context, the risk is elevated because the skill explicitly bypasses the official installation path and fetches packages from a direct URL, increasing the chance of unreviewed or tampered content being introduced.
The documentation states that existing skills may be removed and skipped but does not clearly warn that installation can overwrite or delete an existing skill directory in the configured workspace. That creates a real integrity and availability risk: users may unintentionally destroy local skill contents or replace a trusted skill with newly downloaded remote content.
The script downloads and installs code from a remote third-party endpoint directly into the local skills workspace, explicitly bypassing official installation controls and without any signature, checksum, publisher, or content verification. This creates a supply-chain risk: a compromised service, malicious skill, or man-in-the-middle at the hosting layer could deliver attacker-controlled content that the agent later executes or trusts.
download_url="https://wry-manatee-359.convex.site/api/v1/download?slug=${skill_name}"
zip_path="/tmp/${skill_name}.zip"
if curl -L -o "$zip_path" "$download_url" --fail --silent --show-error; then
echo "Downloaded successfully"
else
echo -e "${RED}Error: Failed to download ${skill_name}. The skill may not exist or rate limited.${NC}"
The installer unconditionally removes an existing target directory with rm -rf before replacement, with no confirmation, backup, or safety check. In isolation this is unsafe behavior; combined with the unvalidated target_dir construction, it can magnify destructive impact and lead to accidental or attacker-influenced data loss.
No suspicious patterns detected.