T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:61- Finding
Unverified Remote Shell Script Execution via curl and bash
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 61
Vulnerability Type: Remote payload retrieval and immediate execution
Risk Level: Criticalbash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / LinuxTechnical Analysis
The first-time setup instructions pipe a remotely retrieved installation script directly into
bash. The script is not pinned to an immutable release, downloaded for inspection, or verified with a cryptographic signature or trusted checksum before execution.Although HTTPS protects the network connection in transit, it does not guarantee that the served script remains identical to the version reviewed with this Skill. Compromise of the hosting server, domain, publishing account, TLS termination infrastructure, or installer generation process could cause arbitrary replacement code to be executed.
Installing a CLI may be necessary for the documented workflow, but immediate execution of a mutable remote script exceeds the minimum privilege and trust required to perform read-only NextDNS queries. The Skill could instead require an already installed CLI or provide a verified, version-pinned installation process.
Attack Path
- A user requests a NextDNS operation through the Skill.
- The
oocommand is unavailable, causing the user or Agent to consult the first-time setup instructions. - The installer endpoint or its publishing infrastructure is compromised or serves a modified script.
curlretrieves the attacker-controlled response.- The pipe sends that response directly to
bashwithout inspection or integrity verification. - The payload executes with all permissions available to the account that launched the command.
Impact Assessment
The remote payload can execute arbitrary shell commands with the invoking user's privileges. It could read or modify accessible files, collect local credentials and environment data, alter shell configuration, install additional software, or ...[truncated 395 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the
curl | bashinstallation pattern. - Pin installation instructions to a specific audited CLI version from an official release channel.
- Download the installer or binary to a local file without executing it immediately.
- Publish and verify a cryptographic signature using a separately distributed trusted public key. At minimum, verify a hard-coded SHA-256 checksum corresponding to the pinned release.
- Execute the verified artifact explicitly only after successful validation.
- Document the files, network endpoints, and permissions used by the installer.
- Avoid requesting elevated privileges unless a specific installation step requires them.
- Prefer an operating-system package manager with package-signing and version-pinning support where available.
- Remove the
