T08 · Insecure Dependencies
- Location
SKILL.md:137- Finding
Unpinned Third-Party Packages May Download and Execute Mutable Code
- Content
View full analysis
- Remediation
View remediation
uv tool install 'paper-search-mcp==' ``` 2. Use lockfiles and registry-supported integrity hashes where possible. 3. For GitHub-hosted components, reference an immutable reviewed commit SHA rather than a branch or mutable tag. 4. Verify that the package registry publisher corresponds to the linked source repository. 5. Inspect package contents, installation hooks, and transitive dependencies before execution. 6. Require explicit user approval before installing or running any package not already present. 7. Execute third-party tools in an isolated environment with: - A restricted filesystem. - A minimal environment-variable allowlist. - Restricted outbound network access. - No administrative privileges. 8. Pass only the credential required for the selected provider instead of exposing the process to the agent's complete environment. 9. Document a trusted version and update process so package upgrades receive a new security review. ]]>
