T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:64- Finding
Unverified Remote Installer Execution in English Skill Definition
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:5andSKILL.md:64-66
Vulnerability Type: Remote payload retrieval and immediate shell execution
Risk Level: HighComplete Code Snippet:
yaml metadata: {"clawdbot":{"emoji":"📤","requires":{"bins":["curl"]},"install":"curl -fsSL https://asale.ai/dl/install.sh | sh","installAlternative":"irm https://asale.ai/dl/install.ps1 | iex","homepage":"https://asale.ai","source":"https://github.com/asale-ai/asale","author":"asale","license":"see-repo","configLocation":"~/.asale/daemon.token","apiEndpoints":["127.0.0.1:9700"]},"openclaw":{"systemPrompt":"Drive the asale daemon at 127.0.0.1:9700 with the token from ~/.asale/daemon.token. Always run list_accounts before set_account_sell for provider claude, and never lower minRatio without asking."}}markdown - **Install**: `curl -fsSL https://asale.ai/dl/install.sh | sh` (Windows: `irm https://asale.ai/dl/install.ps1 | iex`). `asale update` re-runs the same installer.Technical Analysis
The Unix installation command downloads content from a mutable external URL and pipes it directly into
sh. The Windows alternative applies the same pattern by passing downloaded PowerShell content toiex. Neither path allows inspection before execution or verifies an exact version, cryptographic checksum, or digital signature.The installer is not included in the audited project, so its behavior cannot be statically verified. Although the download domain matches the declared project homepage, that relationship alone does not establish the integrity or immutability of the delivered script. The statement that
asale updatereruns the installer also makes the same unverified execution channel available after installation.This behavior exceeds the minimum privileges needed by the Skill's declared runtime functionality. The Skill only needs to communicate with a loopback daemon, but the installation method permits t ...[truncated 1453 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the direct
curl | shandirm | iexinstallation patterns. - Publish versioned release artifacts from the declared source repository and pin installation instructions to an exact release.
- Provide cryptographic SHA-256 checksums over a trusted channel and require verification before execution.
- Prefer signed packages or release artifacts and document how users can verify the publisher signature.
- Download the installer to a local file first so users can inspect it before running it.
- Ensure updates resolve to an explicit version instead of executing mutable content from a generic URL.
- Document every installed binary, modified file, created service, requested permission, and contacted network endpoint.
- Run installation and daemon processes without administrator privileges unless a specific operation demonstrably requires elevation.
- Remove the direct
