T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:63- Finding
Remote Shell Script Downloaded and Executed Without Integrity Verification
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:63
Vulnerability Type: Remote payload retrieval and execution
Risk Level: Highbash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / LinuxTechnical Analysis
The installation command pipes a remotely downloaded shell script directly into
bash. The payload is not pinned to a specific immutable release and is not validated using a cryptographic checksum or signature. Consequently, the code ultimately executed can change after the Skill has been reviewed.HTTPS provides transport protection but does not make the remote payload immutable. Compromise of the hosting service, publishing account, DNS infrastructure, TLS termination environment, or installation endpoint could cause this instruction to execute attacker-controlled shell commands.
Installing the required CLI is consistent with the Skill's functionality, but immediate remote-to-shell execution is not necessary and exceeds the minimum safe installation mechanism.
Attack Path
- An attacker compromises the installation endpoint or infrastructure capable of controlling its response.
- The attacker replaces
install.shwith a malicious shell payload. - A user or agent encounters an
oo: command not founderror and follows the documented first-time setup. curlretrieves the modified payload and passes it directly tobash.- The payload executes with the privileges of the account that invoked the command.
Impact Assessment
Successful exploitation provides arbitrary command execution under the invoking user's privileges. The payload could read or alter files available to that account, access locally available credentials, modify shell configuration, install additional software, or establish persistence. If the installation command is run from a privileged account or elevated shell, the resulting impact could extend to system-wide compromise.
- Remediation
View remediation
Remediation Suggestions
- Remove the direct
curl | bashinstallation pattern. - Download a version-pinned release artifact to a local file before execution.
- Verify the artifact against a cryptographic checksum obtained through a separately authenticated channel.
- Prefer a cryptographically signed release and verify its signature against a documented, trusted maintainer key.
- Allow users to inspect the downloaded script before explicitly executing it.
- Prefer an official signed package-manager distribution where available.
- Run installation with ordinary user privileges unless a documented operation strictly requires elevation.
- Document the exact release version and expected checksum so the reviewed payload cannot silently change.
- Remove the direct
