T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:13- Finding
Unverified Remote Script Is Executed Directly by Bash
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 13–19 and 120–123
Vulnerability Type: Remote payload retrieval and execution
Risk Level: CriticalVulnerable Code
yaml "install": [ { "id": "hyperspace-cli", "kind": "bash", "command": "curl -fsSL https://agents.hyper.space/cli | bash", "bins": ["hyperspace"], "label": "Install Hyperspace Network Node", }, ],The same unsafe installation mechanism is repeated in the user-facing instructions:
bash curl -fsSL https://agents.hyper.space/cli | bashTechnical Analysis
The Skill downloads a mutable response from
https://agents.hyper.space/cliand pipes it directly into Bash. The payload is executed before the user or Agent can inspect it. No fixed release version, expected checksum, cryptographic signature, or immutable artifact URL is specified.Although
SKILL.mdlinks to a public GitHub installation script, the executed URL is a separate endpoint. The reviewed project provides no mechanism proving that the endpoint serves the same script as the linked GitHub source. HTTPS protects the connection in transit but does not protect against compromise of the server, DNS or hosting account, deployment pipeline, or upstream release infrastructure.The remote response receives all permissions available to the invoking process. Consequently, its effective behavior can change after this Skill has been reviewed without any modification to the local Skill package.
Attack Path
- An attacker compromises the remote installer endpoint, its hosting infrastructure, or its deployment credentials.
- The attacker replaces the expected response with a malicious shell script.
- A user or Agent invokes the documented installation command.
curlretrieves the attacker-controlled response.- The pipe passes the response directly to Bash without inspection or integrity validati ...[truncated 932 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove all
curl | bashinstallation instructions and automated installation metadata. - Publish versioned artifacts through an official release mechanism and use an immutable version URL.
- Download the artifact to a local file rather than executing a network stream.
- Publish an expected SHA-256 or stronger digest through an independently protected channel and verify it before execution.
- Cryptographically sign releases and verify the signature against a documented, pinned publisher key.
- Display the resolved version, source URL, checksum, requested changes, and destination paths before asking for explicit installation consent.
- Execute installation with the least-privileged account possible and avoid recommending elevated privileges unless a specific operation requires them.
- Keep the installer source in the reviewed repository and ensure the distributed artifact is reproducibly tied to that source.
- Fail closed if signature or checksum validation cannot be completed.
- Remove all
