T08 · Insecure Dependencies
- Location
scripts/install.sh:11- Finding
Unpinned Third-Party Package Installation Executes Mutable Upstream Code
- Content
View full analysis
- Remediation
View remediation
' ``` 2. For Git-based installation, pin an immutable reviewed commit: ```bash uv tool install 'git+https://github.com/myk-org/ccsinfo.git@' ``` 3. Use one consistent, documented source for both client and server installation. 4. Remove automatic `--upgrade` behavior from routine Skill installation. 5. Generate and retain a lock file or equivalent record for transitive dependencies. 6. Verify downloaded artifacts using trusted hashes or package signatures where supported. 7. Perform dependency review and vulnerability scanning before updating the pinned version. 8. Run installation with an unprivileged account and avoid invoking it through `sudo`. ]]>
