T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:24- Finding
Unverified Remote Installer Is Downloaded and Executed Directly
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 22–24 and 48–52
Vulnerability Type: Remote payload retrieval and execution
Risk Level: CriticalVulnerable Code
bash # One-line install (recommended) curl -fsSL https://claw-insights.com/install.sh | shbash npm update -g claw-insights # Or re-run the install script curl -fsSL https://claw-insights.com/install.sh | shTechnical Analysis
The documented installation and upgrade procedures pipe an HTTP response directly into
sh. The downloaded script is not pinned to a version, saved for inspection, checked against a cryptographic hash, or validated using a digital signature.This creates a mutable code-execution channel: the effective code executed by the Skill can change after the Skill itself has been reviewed. Compromise of the external domain, hosting environment, publication process, DNS infrastructure, or TLS termination could cause attacker-controlled shell commands to be returned and executed.
Arbitrary remote shell execution exceeds the minimum privileges necessary to install a known application artifact. A versioned, integrity-verified package or release archive would provide the required installation functionality with a substantially smaller trust boundary.
The external installer was not included in the audited project. Its current contents and the claims that the application is read-only, makes no cloud calls, and keeps data local therefore could not be independently verified.
Attack Path
- An attacker compromises or otherwise gains control of
https://claw-insights.com/install.shor its delivery infrastructure. - The attacker changes the response to include malicious shell commands.
- A user or agent follows the documented installation or upgrade procedure.
curlretrieves the attacker-controlled response and passes it directly tosh.- The commands execute immediately with the permissi ...[truncated 823 chars]
- An attacker compromises or otherwise gains control of
- Remediation
View remediation
Remediation Suggestions
- Remove the
curl ... | shinstallation and upgrade instructions. - Publish immutable, versioned release artifacts through a verifiable official channel.
- Pin installation instructions to a specific audited version rather than retrieving a mutable script.
- Publish a SHA-256 or stronger checksum over the exact artifact and preferably sign releases with a documented cryptographic signing key.
- Require users to download the installer to a local file, verify its signature and checksum, and inspect it before execution.
- Ensure the installer refuses elevated execution unless a narrowly scoped privileged operation is strictly necessary.
- Document every filesystem location, service, and permission modified by installation.
- Prefer an installer that operates entirely under the invoking user's account and grants access only to the specific OpenClaw files required for observability.
- Remove the
