T03 · Remote Payload Retrieval and Execution
- Location
README.md:5- Finding
Mutable Remote Installation Script Is Downloaded and Immediately Executed
- Content
View full analysis
- Remediation
View remediation
/install.sh ``` 3. Pin the URL to a full immutable Git commit rather than `main`. 4. Publish and require verification of a SHA-256 checksum or cryptographic signature: ```bash echo " install.sh" | sha256sum --check - ``` 5. Instruct users to inspect the downloaded script before running it: ```bash less install.sh bash install.sh ``` 6. Prefer distributing a signed release artifact through a controlled release process. 7. Ensure documentation clearly states that the installer should not be run with elevated privileges unless each privileged action is separately justified. ]]>
