T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:56- Finding
Unverified Remote Shell Script Execution on macOS and Linux
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 56
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 a remotely retrieved script directly into
bash. The script is not version-pinned, inspected, or verified using a cryptographic signature or checksum before execution. Consequently, the effective executable payload can change after the Skill package has been reviewed.HTTPS provides transport protection but does not guarantee that the hosting service, publication account, DNS path, or future installer content will remain trustworthy. If any of those components is compromised, arbitrary commands supplied by the remote party will be executed with the privileges of the user running the Skill.
Installing the CLI may be necessary for the declared Screenshotbase integration, but immediate execution of mutable network content exceeds the minimum privilege and trust required to provide installation guidance.
Attack Path
- A Screenshotbase operation fails because the
ooCLI is not installed. - The Agent or user follows the first-time setup instructions in
SKILL.md. curldownloads the current response fromhttps://cli.oomol.com/install.sh.- The response is passed directly to
bashwithout local review or integrity verification. - If the remote script or its delivery infrastructure has been compromised, attacker-controlled shell commands execute under the invoking user's account.
- Those commands can modify files, read accessible data, install additional software, or establish persistence, subject to the invoking user's permissions.
Impact Assessment
Successful exploitation provides arbitrary command execution with the privileges of the user invoking
bash. This can expose user-readable credentials and files, alt ...[truncated 332 chars]- A Screenshotbase operation fails because the
- Remediation
View remediation
Remediation Suggestions
Remove the direct
curl | bashexecution pattern. Direct users to an official, version-pinned release and require the installer to be downloaded as a separate file before execution. Publish a cryptographic signature or trusted SHA-256 checksum and verify it locally before running the installer.Prefer installation through a reputable operating-system package manager with a pinned package version and signed repository metadata. If a shell installer remains necessary, document its expected permissions and filesystem changes, provide a review step, and run it without elevated privileges unless a specific operation demonstrably requires elevation.
A safer workflow should follow this sequence:
- Download a version-pinned installer from an official release.
- Verify its signature or checksum against independently published metadata.
- Review or display the script before execution.
- Execute it with the least-privileged account needed.
- Record the installed version and provide removal instructions.
