T08 · Insecure Dependencies
- Location
scripts/install_packages.R:101- Finding
Unpinned GitHub Dependency Enables Mutable Remote Code Execution
- Content
View full analysis
- Remediation
View remediation
", quiet = TRUE ) ``` 2. Prefer a trusted package registry with immutable versioning when an appropriate package is available. 3. Record exact package versions and sources in `renv.lock` or an equivalent dependency lockfile. 4. Verify downloaded artifacts against a published SHA-256 checksum or trusted signature. 5. Confirm and document which package the repository installs and why it provides `xgboost.surv`. 6. Avoid automatically falling back to GitHub during routine installation. Require explicit user confirmation for non-registry dependencies. 7. Review package installation hooks and transitive dependencies before updating the pinned revision. ]]>
