T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:60- Finding
Unverified Remote Installation Scripts Executed Directly by System Shells
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 60–64
Vulnerability Type: Remote payload retrieval and execution
Risk Level: Criticalbash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linuxpowershell irm https://cli.oomol.com/install.ps1 | iex # Windows PowerShellTechnical Analysis
The installation instructions download mutable content from an external server and pass it directly to a command interpreter. The Unix command pipes the HTTP response into Bash, while the Windows command evaluates the response through PowerShell's
Invoke-Expression.Neither installation path pins a specific release nor verifies a cryptographic signature or checksum before execution. HTTPS protects data in transit but does not establish that the returned script is the same content that was reviewed. Compromise of the vendor server, publishing account, distribution infrastructure, or another relevant control-plane component could therefore turn the documented installation command into an arbitrary-code execution channel.
Installing a required CLI may support the Skill's declared functionality, but immediate execution of unverified remote content is not the minimum privilege or safest mechanism necessary to perform that installation.
Attack Path
- The
ooCLI is unavailable, causing the first-time setup instructions to become applicable. - An attacker compromises or gains control over the installation endpoint or its deployment process.
- The attacker modifies
install.shorinstall.ps1to contain malicious commands. - The user or Agent runs the documented installation command.
- The remote response is passed directly to Bash or PowerShell without review or integrity validation.
- The malicious commands execute with the permissions of the invoking account and may retrieve additional payloads, access locally available data, or modify the system.
Imp
...[truncated 690 chars]
- The
- Remediation
View remediation
Remediation Suggestions
- Remove both pipe-to-shell installation commands from the Skill instructions.
- Direct users to a trusted package manager or an official, versioned release artifact.
- Pin the CLI to an explicit release version rather than retrieving a mutable installation script.
- Download the artifact without executing it, then verify a vendor signature or a SHA-256 checksum obtained through a separately protected channel.
- Execute the installer only after successful integrity verification and explicit user approval.
- Avoid elevated privileges unless a documented installation step strictly requires them.
- Publish reproducible release metadata and retain prior signed versions so users can audit and roll back installations.
- If a bootstrap script remains available, present it for inspection as a separate download and do not automatically evaluate its network response.
