T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:60- Finding
Unverified Remote Installer Retrieval and Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 60–64
Vulnerability Type: Remote payload retrieval and execution
Risk Level: CriticalVulnerable Code
bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linuxpowershell irm https://cli.oomol.com/install.ps1 | iex # Windows PowerShellTechnical Analysis
The first-time setup instructions download mutable scripts from an external server and immediately execute them in Bash or PowerShell. The package does not pin an installer version, verify a cryptographic checksum or signature, or provide an opportunity to inspect the downloaded content before execution.
HTTPS protects transport in normal conditions but does not establish that the script content is immutable or independently trusted. If the domain, hosting account, CDN, DNS path, TLS infrastructure, or installer publication process is compromised, the fetched script can be replaced with arbitrary commands. The effective payload is not included in the audited project and can change after review.
Installing the required CLI may support the Skill's declared functionality, but direct execution of an unverified remote response exceeds the minimum mechanism necessary for installation. A pinned and cryptographically verified release artifact would meet the same functional need with less risk.
Attack Path
- The
oocommand is unavailable and an operator or agent follows the first-time setup instructions. - An attacker compromises or otherwise gains control over the remote installer delivery path.
- The attacker modifies
install.shorinstall.ps1to include malicious commands. curl | bashorirm | iexexecutes the modified response immediately, without integrity validation.- The payload runs with the privileges of the user launching the installation and can perform any operation available to that account.
Impact Assessment
Successful exploitation provides arbitrary co ...[truncated 642 chars]
- The
- Remediation
View remediation
Remediation Suggestions
- Remove the direct
curl | bashandirm | iexinstallation patterns. - Pin installation instructions to a specific CLI version rather than a mutable installer endpoint.
- Download the release artifact to a local file without executing it.
- Verify the artifact using a SHA-256 digest published through an independently protected channel or, preferably, a cryptographic signature whose trusted public key is distributed separately.
- Abort installation if verification fails.
- Allow the operator to inspect the downloaded installer or artifact before execution.
- Prefer signed packages distributed through trusted operating-system package repositories where available.
- Avoid requesting administrative privileges unless a specific installation step requires them, and document that requirement.
- Apply equivalent pinning and verification controls to both the Bash and PowerShell installation paths.
- If a bootstrap script remains necessary, vendor a reviewed version in the Skill package and verify all artifacts it subsequently retrieves.
- Remove the direct
