T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:59- Finding
Unverified Remote Shell Script Download and Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 59
Vulnerability Type: Remote payload retrieval and execution throughcurl | bash
Risk Level: HighVulnerable Code:
bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / LinuxTechnical Analysis
The installation instruction downloads a mutable shell script from an external URL and passes its response directly to Bash. No version is pinned, and no cryptographic signature, checksum, or expected file content is verified before execution.
Although the URL belongs to the service identified by the skill documentation, the effective code is controlled remotely and can change after the skill has been reviewed. Static analysis of this project therefore cannot determine what commands will execute when a user follows the instruction. Compromise of the hosting infrastructure, deployment pipeline, domain resolution, or signing environment could turn this documented installation step into an arbitrary-code-execution channel.
This behavior is not required for the skill's normal Apollo search and enrichment operations. The document already states that the CLI should normally be installed and limits this command to first-time setup, but it still recommends a high-risk execution mechanism that exceeds the minimum privileges needed merely to invoke the connector.
Attack Path
- The
ooCLI is absent, causing an attempted connector action to fail withoo: command not found. - The user or agent follows the documented fallback installation instruction.
curlretrieves the current response fromhttps://cli.oomol.com/install.sh.- The response is streamed directly into Bash without local inspection or integrity verification.
- If the remote response has been maliciously modified, attacker-controlled shell commands execute immediately.
- Those commands can access or modify resources available to the account that launched Bash.
...[truncated 666 chars]
- The
- Remediation
View remediation
Remediation Suggestions
- Remove the direct
curl | bashinstallation pattern. - Prefer a trusted operating-system package manager or a version-pinned release artifact.
- Download the installer to a local file rather than streaming it into a shell.
- Publish a cryptographic checksum and a signed release manifest through an independently verifiable channel.
- Verify the checksum and signature before permitting execution.
- Allow the user to inspect the downloaded script and require explicit approval before running it.
- Pin the installer to a reviewed release version instead of a mutable generic URL.
- Document the exact files, permissions, and network endpoints used by the installer.
- Ensure installation runs without administrative privileges unless a specific operation strictly requires them.
- Keep agent behavior limited to presenting safe installation guidance; the agent should not automatically install software after a failed connector command.
- Remove the direct
