T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:43- Finding
Unverified Remote Installer Download and Immediate Execution
- Content
View full analysis
- Remediation
View remediation
traecli-install.sh' | sha256sum --check - ``` 5. Prefer vendor-signed artifacts and verify the cryptographic signature against a documented, pinned vendor key. 6. Allow users to inspect the downloaded script before running it, and document its expected file, network, and permission changes. 7. Execute installation with the minimum required privileges. Explicitly warn users not to use an administrator or root shell unless a reviewed installation step requires it. 8. Apply the same staged download and verification process on Windows using `Invoke-WebRequest`, `Get-FileHash`, and an Authenticode signature check instead of `irm ... | iex`. 9. Disable automatic upgrades by default or require upgrades to use the same version pinning and signature-verification controls. 10. For CI/CD use, mirror a reviewed, immutable artifact in a controlled internal registry and validate its digest before every installation. ]]>
