T03 · Remote Payload Retrieval and Execution
- Location
- SKILL.md:29
- Finding
- Unverified Remote Installer Is Piped Directly into a Shell<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, line 29 **Vulnerability Type**: Remote payload retrieval and execution **Risk Level**: Critical ```bash If missing, install Chromium (`apt install chromium-browser`) and uv (`curl -LsSf https://astral.sh/uv/install.sh | sh`). ``` ### Technical Analysis The installation instructions download a mutable shell script from an external URL and immediately execute it through `sh`. There is no version pinning, checksum verification, signature validation, or opportunity to inspect the retrieved content before execution. Although `astral.sh` is associated with the declared `uv` prerequisite and HTTPS protects the connection in transit, the effective payload remains controlled by external infrastructure after this Skill has been reviewed. Compromise of the hosting service, its deployment pipeline, DNS or certificate infrastructure, or an unintended upstream script change could result in arbitrary commands being executed with the invoking user's privileges. This behavior is not required for the Skill's authentication function. A package-manager installation or a separately downloaded and verified installer would provide the prerequisite without creating a direct network-to-shell execution channel. ### Attack Path 1. A user follows the prerequisite installation instructions. 2. The external installer origin or its delivery infrastructure is compromised, or the hosted script changes maliciously. 3. `curl` retrieves the modified response. 4. The shell executes the response immediately without authenticity or integrity validation. 5. The payload performs arbitrary operations under the user's account. ### Impact Assessment A malicious installer would receive the full privileges of the user running the command. It could read or modify user files, steal existing credentials, install persistence, alter executables, download additional payloads, or compromise the NotebookLM authentication data subsequently cr ...[truncated 124 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions - Remove the `curl | sh` installation instruction. - Prefer installation through a trusted operating-system package manager or another repository with signed metadata. - If an upstream installer is unavoidable: 1. Pin a specific installer or release version. 2. Download it to a local file without executing it. 3. Verify a publisher-provided cryptographic signature or pinned SHA-256 digest. 4. Inspect the verified script before execution. 5. Run it with an unprivileged account and the minimum required permissions. - Document the expected installer digest and provenance in the Skill. ]]>
