T03 · Remote Payload Retrieval and Execution
Error
- Location
- SKILL.md:69
- Finding
- Unverified Remote Installer Scripts Are Executed Directly by the Shell## Vulnerability Details **File Location**: `SKILL.md`, lines 69–73 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: High **Complete vulnerable code snippet**: ```bash curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux ``` ```powershell irm https://cli.oomol.com/install.ps1 | iex # Windows PowerShell ``` ### Technical Analysis The setup instructions pipe remotely retrieved content directly into a command interpreter. Neither command pins the installer to an immutable version nor verifies a cryptographic checksum or signature before execution. The payload executed by the agent can therefore differ from the content that was available when this skill was audited. Although the scripts are hosted under an OOMOL domain and are presented as official installation instructions, domain ownership alone does not guarantee payload integrity. Compromise of the hosting service, DNS or TLS infrastructure, deployment pipeline, or publisher account could turn these commands into an arbitrary-code execution channel. This behavior exceeds the minimum privileges required to operate the declared CompanyCam connector. Connector operations only require an already installed `oo` CLI, while these fallback instructions authorize an external, mutable script to execute unrestricted commands under the invoking user's account. The PowerShell form has the same security properties as the Unix pipeline. The skill also intentionally sends connector action payloads to OOMOL and CompanyCam through `oo connector run`. That network transmission is inherent to the declared remote-service functionality, and the reviewed file states that credentials are injected server-side. No hardcoded credential or separate covert exfiltration mechanism was identified in the available file. ### Attack Path 1. An attacker compromises or gains control over the installer content served from `cli.oomol.com`, its release ...[truncated 1336 chars]
- Remediation
- ## Remediation Suggestions 1. Remove direct `curl | bash` and `irm | iex` installation instructions. 2. Prefer a trusted platform package manager with a pinned package version and publisher-signature verification. 3. If standalone installers are required, download them to a local file first, pin an immutable release URL, and publish the expected SHA-256 digest through an independently protected channel. 4. Verify the checksum and, where available, a cryptographic publisher signature before execution. 5. Instruct users to inspect the downloaded script before running it and to execute it without administrator privileges unless a documented installation step specifically requires elevation. 6. Pin the CLI version known to be compatible with this skill rather than installing mutable latest content. 7. Keep installation outside routine skill execution. The skill should fail safely and provide verified manual setup guidance when the CLI is absent rather than executing an installer automatically. 8. Document the destination hosts and categories of CompanyCam data transmitted by connector actions so users can make informed decisions before submitting sensitive payloads.
