T03 · Remote Payload Retrieval and Execution
- Location
clawvault_manager.py:29- Finding
Installation Executes Unverified Code from a Mutable Remote Branch
- Content
View full analysis
subprocess.CompletedProcess: """Run pip install inside the venv.""" return subprocess.run( [str(self.venv_python), "-m", "pip", "install", *args], capture_output=True, text=True, ) ``` ### Technical Analysis The installer retrieves ClawVault directly from the mutable GitHub `main` branch. A pip installation from a Git repository can execute package build and installation logic, including code defined by the retrieved project. The reviewed Skill therefore does not fully determine the code that will execute when a user invokes the installation command. No commit SHA, signed release, checksum, or package hash is used to bind installation to a reviewed artifact. Consequently, upstream code can change after this Skill version has been reviewed or published. Although the documentation explicitly discloses this behavior, disclosure does not eliminate the remote-code and supply-chain risk. This behavior is necessary only to install the upstream application; using a mutable branch is not necessary for the declared installation functionality. An immutable, verified release would provide the same functionality with substantially lower privilege and supply-chain exposure. ### Attack Path 1. An attacker compromises the upstream repository, a maintainer account, or the `main` branch workflow. 2. The ...[truncated 1085 chars]- Remediation
View remediation
