T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:61- Finding
Unverified Remote Installation Scripts Executed Directly by Shell
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 61–65
Vulnerability Type: Remote payload retrieval and execution
Risk Level: HighVulnerable Code
bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linuxpowershell irm https://cli.oomol.com/install.ps1 | iex # Windows PowerShellTechnical Analysis
The first-time setup instructions download mutable scripts from an external server and immediately execute them in Bash or PowerShell. Neither command pins a release version nor verifies a cryptographic signature or checksum before execution. Consequently, the effective code executed by a user can differ from the content available when this Skill was audited.
Installing the
ooCLI is relevant to the declared Shodan connector functionality, but immediate pipe-to-shell execution is not the minimum privilege or safest mechanism necessary to perform that installation. The reviewed Skill limits its declared tool access toBash(oo *); however, these setup instructions ask the user to invoke unrestricted shell interpreters outside that narrow operational scope.No evidence in the reviewed project establishes that the remote scripts are presently malicious. The vulnerability is that trust is delegated to mutable remote content without integrity validation, creating a supply-chain code-execution path.
Attack Path
- The
oocommand is unavailable, causing the user or agent to consult the first-time setup instructions. - An attacker compromises the installation server, its deployment account, the hosted script, or another part of the content-delivery path.
- The attacker modifies
install.shorinstall.ps1to include arbitrary commands. - The user runs the documented command.
curlorirmretrieves the modified payload.- Bash or PowerShell executes it immediately, without an intermediate inspection or integrity-verification step.
- T ...[truncated 783 chars]
- The
- Remediation
View remediation
Remediation Suggestions
- Remove direct
curl | bashandirm | iexinstallation patterns. - Direct users to a trusted package manager or a version-pinned release artifact from the official repository.
- Separate download from execution so the retrieved file can be inspected before it runs.
- Publish a SHA-256 digest and a cryptographic signature through an independently protected channel, and require both to be verified.
- Pin the installer or binary to a specific immutable version rather than a mutable generic installation URL.
- Require explicit user approval before executing any installer.
- Run installation with ordinary user privileges whenever possible; do not request elevation unless a documented installation step strictly requires it.
- For PowerShell, download the script to a local file, validate its Authenticode or other trusted signature and expected digest, and only then execute it.
- Keep routine Skill execution restricted to the declared
oocommand scope after installation.
- Remove direct
