T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:14- Finding
Unverified Remote Installer Executed Directly Through a Shell
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 14
Vulnerability Type: Remote payload retrieval and execution
Risk Level: CriticalComplete Code Snippet:
bash curl -fsSL https://requesthunt.com/cli | shTechnical Analysis
The installation command retrieves a mutable shell script from
https://requesthunt.com/cliand immediately passes it tosh. The remote response is neither version-pinned nor independently authenticated before execution, and piping it directly into a shell prevents meaningful review before it runs.The documentation states that the installer downloads a binary from GitHub Releases and verifies its SHA-256 checksum. That downstream check does not secure the initial installer: the remotely delivered shell script is already executing and could omit or bypass verification, use an attacker-selected checksum, read credentials, modify files, or retrieve additional payloads.
This behavior exceeds the minimum privileges necessary for the Skill's research functionality. Installing a CLI does not require trusting and executing mutable shell code directly from a website; a pinned release artifact can instead be downloaded and independently verified.
Attack Path
- A user or agent follows the prerequisite installation instructions.
curlrequests the current response fromrequesthunt.com/cli.- An attacker who compromises the domain, server, deployment pipeline, or relevant delivery infrastructure alters that response.
- The shell executes the modified response immediately with the invoking user's privileges.
- The payload can bypass the claimed binary verification, inspect accessible data, alter user-owned files, steal credentials, establish persistence, or install additional software.
Impact Assessment
Successful exploitation provides arbitrary command execution under the account that runs the installation command. The accessible scope includes that acc ...[truncated 678 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the
curl | shinstallation path from the Skill instructions. - Direct users to a specific, immutable release version rather than a mutable website endpoint or floating latest release.
- Publish the expected SHA-256 digest through a separately trusted channel and verify the downloaded artifact locally before installation.
- Prefer cryptographically signed release artifacts and verify the signature against a documented, pinned public key.
- If an installer script is unavoidable:
- Download it to a local file without executing it.
- Pin it to an immutable version or commit.
- Verify its checksum or signature independently.
- Review it before invoking a shell.
- Do not request root or administrator privileges unless a narrowly defined installation step demonstrably requires them. Prefer installation into a user-owned directory.
- For source installation, reference a pinned repository tag or commit and use locked dependencies rather than the unpinned example currently described.
- Document the exact files, directories, and network endpoints used during installation so users can validate that installation remains within least-privilege boundaries.
- Remove the
