T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:45- Finding
Unpinned Remote Script Execution Through curl-to-shell Installation
- Content
View full analysis
⚠️ **Security Note**: This method executes remote code. Only use if you trust the source. ``` `references/troubleshooting.md:159-165`: ```bash curl -fsSL https://raw.githubusercontent.com/RegulusZ/multi-device-sync-github/main/install.sh | \ REPO_URL="git@github.com:USER/openclaw_sync.git" \ DEVICE_NAME="mydevice" \ SYNC_MODE="first" \ bash ``` ### Technical Analysis These instructions download `install.sh` from the mutable `main` branch of a personal GitHub repository and immediately execute the response with Bash. No immutable commit identifier, signature, checksum, or release artifact verification is used. Consequently, the code reviewed in this package is not necessarily the code that will execute at installation time. The payload can change after review if the upstream branch is updated or if the repository, maintainer account, DNS path, delivery infrastructure, or user network is compromised. This behavior is not necessary for the declared synchronization functionality. The project already documents a safer clone-and-review installation method. Executing a mutable response directly also prevents meaningful inspection and makes partial-download or unexpected-response behavior harder to diagnose. The downloaded installer operates with the invoking user's authority and can also request elevated package-management access on Linux: ```bash sudo apt-get update -qq sudo ...[truncated 1388 chars]- Remediation
View remediation
