T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:19- Finding
Remote installer scripts are downloaded and executed without integrity verification
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:19-29andSKILL.md:196-206
Vulnerability Type: Remote payload retrieval and execution
Risk Level: CriticalThe installation instructions contain the following commands in both the English and Chinese sections:
bash # macOS/Linux curl -fsSL https://bun.sh/install | bash # Windows (PowerShell) powershell -c "irm bun.sh/install.ps1 | iex" # Or use npm npm install -g bunTechnical Analysis
The first two installation methods download mutable content from an external server and immediately execute it through Bash or PowerShell. There is no version pinning, checksum verification, signature validation, or separate inspection step.
Although
bun.shis the documented Bun domain, these commands make the code that is ultimately executed dependent on the remote server at installation time. The effective payload can therefore change after the Skill has been reviewed. Compromise of the hosting infrastructure, domain, release pipeline, or network trust chain could turn the documented installation step into arbitrary code execution.Installing a runtime through an unverified pipe-to-shell command exceeds the minimum risk necessary for the presentation-editing functionality. Safer package-manager and verified-release installation methods are available.
Attack Path
- A user or Agent follows the installation instructions.
curlorirmretrieves the current installer from the external domain.- The response is passed directly to Bash or PowerShell without being saved or verified.
- The interpreter executes every command supplied by the remote response.
- A compromised installer can access or modify anything available to the invoking user and may request or exploit elevated privileges.
Impact Assessment
The remote payload receives arbitrary command execution with the privileges of the user running the installation command. It could ...[truncated 299 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove all pipe-to-shell and PowerShell
iexinstallation examples. - Prefer an operating-system package manager or another trusted distribution mechanism.
- If direct download is necessary, pin an explicit Bun version and provide the expected cryptographic checksum.
- Require users to download the artifact first, validate its signature or checksum, and only then execute it as a separate step.
- Document that installation should be performed as an unprivileged user.
- Avoid requesting
sudo, administrator access, or global installation unless it is demonstrably required. - Keep one canonical installation section to avoid insecure instructions being retained in a duplicated translation.
- Remove all pipe-to-shell and PowerShell
