T03 · Remote Payload Retrieval and Execution
- Location
references/setup.md:28- Finding
Mutable Remote Installer Can Be Executed with User or Root Privileges
- Content
View full analysis
~/.local/bin, config -> # ~/.config/gitrakz, just for the current user. Expects `gh` already present. bash gitrakz-install.sh # 3b. Or system-wide: command -> /usr/local/bin, config -> /etc/gitrakz # (root-owned, readable by the `docker` group so any docker-group user # drives the one shared stack). This mode also installs `gh` if missing. sudo bash gitrakz-install.sh --system ``` ### Technical Analysis The documented installation procedure downloads `install.sh` from the mutable `main` branch of a personal GitHub repository and subsequently executes it. The procedure does not pin the download to an immutable commit or release asset and does not verify a cryptographic checksum or digital signature. Although the instructions tell users to inspect the script and explicitly avoid piping `curl` directly into a shell, manual inspection does not authenticate the publisher or guarantee that the reviewed script corresponds to a trusted release. It also does not provide a reproducible integrity check. The system-wide command executes the downloaded payload through `sudo`, making any compromise substantially more severe. This is a remote payload retrieval and execution risk because the effective installer can change after the Skill itself has been reviewed. ### Attack Path 1. An attacker compromises the upstream GitHub account, repository, branch, or release infrastructure, or otherwise obtains the ability to modify `install.sh` on `main`. 2. The attacker adds commands that steal credentials, alter system ...[truncated 977 chars]- Remediation
View remediation
