T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:48- Finding
Execution of an Unverified Mutable Remote Installation Script
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 48
Vulnerability Type: Remote payload retrieval and execution
Risk Level: Criticalbash curl -fsSL https://raw.githubusercontent.com/umeng/umeng-cli/main/scripts/install.sh | shTechnical Analysis
The installation command downloads a shell script from the mutable
mainbranch of an external GitHub repository and immediately sends its contents tosh. It does not pin a commit, verify a cryptographic checksum or signature, save the script for inspection, or obtain separate approval before execution.Although the repository URL is consistent with the homepage declared by the Skill, the installer is not included in the audited project. Its current or future contents therefore cannot be verified from this artifact. Compromise of the repository, maintainer account, release process, or content-delivery path could change the effective payload after the Skill has been reviewed.
Executing a remote installer is not intrinsically required for the Skill's declared read-only API-query functionality. At minimum, installation should be a separate, explicit user decision using a verifiable artifact.
Attack Path
- The user or Agent follows the alternative installation instructions.
curldownloads the current contents ofscripts/install.shfrom the remotemainbranch.- The response is passed directly to
shwithout integrity validation or inspection. - Any commands present in the response execute with the privileges of the invoking account.
- A compromised payload could access local files, invoke network services, modify user configuration, install additional software, or attempt persistence.
Impact Assessment
A malicious replacement script could execute arbitrary commands with the invoking user's privileges. This may expose files, environment variables, developer credentials, CLI authentication material, and network-accessible resou ...[truncated 296 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the direct
curl | shinstallation method. - Distribute versioned release artifacts and pin an exact release or immutable commit.
- Publish SHA-256 checksums and, preferably, cryptographic signatures through an independently protected channel.
- Download the installer to a local file, verify its integrity, and allow inspection before execution.
- Require explicit user approval before installing or executing external software.
- Ensure installation runs with ordinary user privileges and does not request administrative access unless strictly necessary.
- Document every filesystem location, credential store, and network endpoint affected by installation.
- Remove the direct
