T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:65
- Finding
- Unverified Remote Shell Script Execution via curl and Bash## Vulnerability Details **File Location**: `SKILL.md`, line 65 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: High ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ### Technical Analysis The installation command downloads a mutable script from an external URL and pipes it directly into Bash. The remote content is executed immediately without version pinning, checksum verification, cryptographic signature validation, or an opportunity for local inspection. Although installation is presented as a fallback for a missing `oo` CLI, installing software is more privileged than the skill's declared Plane connector operations. The repository does not contain the downloaded script, so its effective behavior cannot be established by auditing this project alone. If the hosting domain, server, DNS path, TLS termination, or release process is compromised, the returned script could be changed after this skill has been reviewed. ### Attack Path 1. The `oo` command is absent or appears unavailable. 2. The agent or user follows the documented first-time setup procedure. 3. `curl` retrieves the current contents of `https://cli.oomol.com/install.sh`. 4. The response body is sent directly to Bash without integrity or authenticity verification. 5. Any commands in the response execute with the privileges of the user running the skill. 6. A compromised payload could access files, credentials, environment variables, or network resources available to that user and could attempt additional persistence or privilege escalation. ### Impact Assessment Successful exploitation provides arbitrary command execution under the invoking user's account. The accessible scope may include the user's files, local credentials, environment variables, authenticated CLI state, and network-accessible services. If run from a privileged account, the impact could extend to system-wide modification. The i ...[truncated 205 chars]
- Remediation
- ## Remediation Suggestions - Do not pipe downloaded content directly into a shell. - Prefer a signed package from an official platform package manager or a version-pinned release artifact. - Download the installer to a local file first and verify a publisher-provided cryptographic signature or pinned SHA-256 digest before execution. - Pin the installer and CLI to a reviewed immutable version rather than an unversioned endpoint. - Present the verified file and intended changes to the user and require explicit approval before installation. - Run installation with the least-privileged account possible and avoid requesting administrative privileges unless demonstrably required. - Document the expected files, permissions, and network endpoints used by the installer so its behavior can be independently reviewed.
