T03 · Remote Payload Retrieval and Execution
- Location
README.md:18- Finding
Unpinned Remote Scripts Are Executed with Elevated Privileges
- Content
View full analysis
/dev/null; then echo "Installing ZeroTier..." curl -s https://install.zerotier.com | sudo bash fi ``` ```bash # scripts/install-macos.sh:14-18 if ! command -v brew &> /dev/null; then echo "Installing Homebrew..." /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" fi ``` ### Technical Analysis The documented installation procedure pipes content from mutable remote URLs directly into a shell. The Linux command executes the project installer under `sudo`, while the installer itself downloads and executes additional NodeSource and ZeroTier scripts. The macOS installer similarly executes the current Homebrew installation script. None of these downloads is pinned to an immutable commit or release, and no checksum or cryptographic signature is verified. Consequently, the code ultimately executed can change after this Skill has been reviewed. HTTPS protects transport ...[truncated 1508 chars]- Remediation
View remediation
