T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:62- Finding
Unpinned Remote Repository Is Retrieved and Executed Locally
- Content
View full analysis
- Remediation
View remediation
``` 2. Publish signed releases and require verification of the release signature or commit signature before installation. 3. Provide cryptographic checksums for release archives and document an explicit checksum-verification step. 4. Use a fully locked dependency set with hashes, such as a requirements lock file installed with hash enforcement. Review both direct and transitive dependencies. 5. Do not install the `dev` dependency group for normal production use. Provide a minimal runtime installation command containing only required dependencies. 6. Audit packaging metadata and build configuration before installation. Prefer build and installation mechanisms that minimize or isolate arbitrary build-hook execution. 7. Run installation and the gateway under a dedicated, unprivileged operating-system account. Do not install as root or with administrator privileges. 8. Apply least privilege to all service credentials. Restrict Gmail and HubSpot scopes to those strictly necessary, and rotate credentials if an untrusted repository revision has already been installed. 9. Consider publishing reproducible, immutable release artifacts so users can verify that installed code corresponds exactly to the reviewed source. ]]>
