T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:178- Finding
Unverified Remote Installer Download and Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 178–180
Vulnerability Type: Remote payload retrieval and execution
Risk Level: Highbash curl -fsSL "https://raw.githubusercontent.com/redotpay/redotpay-cli/v0.1.0/install.sh" -o redotpay-install.sh shasum -a 256 -c SHA256SUMS --ignore-missing bash redotpay-install.shTechnical Analysis
The installation instructions download a shell script from an external, repository-controlled URL and execute it with
bash. Consequently, the code ultimately executed is not contained in the audited Skill package and cannot be verified through review of this artifact.The apparent integrity check does not establish trust in the downloaded installer.
SHA256SUMSis neither included in the project nor downloaded by the documented procedure. No expected digest forredotpay-install.shis embedded inSKILL.md. In addition,--ignore-missingmay skip checksum entries whose referenced files are absent. Even if an externally obtained checksum file were available, retrieving it from the same potentially compromised source as the installer would not provide an independent trust boundary.Referencing the
v0.1.0Git tag does not provide cryptographic immutability. If the repository, hosting account, tag, or delivery path is compromised or altered, the effective installer payload may change after the Skill has been reviewed.This behavior exceeds the minimum privileges necessary for the declared service-discovery and data-retrieval workflow. Those functions require an available CLI, but they do not inherently require an Agent to execute an unaudited remote shell payload.
Attack Path
- A user invokes the Skill on a system where the
redotpayCLI is unavailable. - The Agent or user follows the documented first-time installation procedure.
curlretrievesinstall.shfrom the externally controlled repository endpoint.- The checksum command fails to ...[truncated 932 chars]
- A user invokes the Skill on a system where the
- Remediation
View remediation
Remediation Suggestions
- Do not instruct the Agent to download and execute a mutable remote shell script.
- Prefer a trusted operating-system package manager or reputable package registry with signed, versioned releases and reproducible provenance.
- If a standalone installer is unavoidable, reference an immutable release artifact and place its exact SHA-256 digest directly in the audited Skill documentation.
- Verify the specific installer before execution and terminate immediately on a mismatch. Do not use
--ignore-missing. - Obtain signatures or checksums through an independent trusted channel rather than from the same location as the payload.
- Vendor the reviewed installer into the Skill package where policy permits, allowing its contents to be audited together with the instructions.
- Run installation with the least-privileged account required. Do not request administrator or root privileges unless a documented component strictly requires them.
- Make installation an explicit user-controlled action rather than an automatic consequence of invoking the Skill.
- After installation, verify the CLI version and, where supported, its package signature or binary digest before using it with wallet credentials.
