T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:55- Finding
Unverified Remote Shell Script Download and Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 55
Vulnerability Type: Remote payload retrieval and execution
Risk Level: Criticalbash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / LinuxTechnical Analysis
The installation instruction pipes content retrieved from an external URL directly into Bash. The script is not pinned to a specific version, saved for inspection, or validated using a cryptographic signature or trusted checksum before execution. Consequently, the effective code can change after the Skill has been reviewed.
Although the domain appears associated with the declared OOMOL CLI, transport encryption alone does not establish that the downloaded script is immutable or safe. Compromise of the hosting service, publication pipeline, DNS or TLS infrastructure, or an authorized publisher account could replace the installer with arbitrary commands.
Installing software is also unnecessary for the Skill's normal runtime operation when the CLI is already present. Automatically executing an installer following a command-not-found error exceeds the minimum privileges needed to invoke the declared API2PDF connector.
Attack Path
- The user or agent attempts to use the Skill without the
ooCLI installed. - The resulting command-not-found error causes the first-time setup instructions to be followed.
- An attacker compromises or gains control over the installer endpoint or its release infrastructure.
- The endpoint returns a modified shell script containing attacker-controlled commands.
curlstreams the response directly to Bash without validation or review.- Bash executes the payload with the privileges of the invoking user.
Impact Assessment
Successful exploitation provides arbitrary command execution in the invoking user's security context. The payload could read or modify files accessible to that account, steal locally available credentials or ...[truncated 270 chars]
- The user or agent attempts to use the Skill without the
- Remediation
View remediation
Remediation Suggestions
- Remove the
curl | bashexecution pattern. - Direct users to a trusted package manager or a versioned official release artifact.
- Pin the CLI to a reviewed release version rather than a mutable installer URL.
- Download the artifact to disk without executing it.
- Validate a publisher-provided cryptographic signature or an independently delivered SHA-256 checksum.
- Display the source, destination, version, and expected changes before installation.
- Require explicit user approval before executing any downloaded installer.
- Run installation with ordinary user privileges unless a documented operation strictly requires elevation.
- Keep installation outside the Skill's routine execution path and retain the current behavior of attempting setup only after a genuine command-not-found failure.
- Remove the
