T08 · Insecure Dependencies
- Location
scripts/scutl-agent.py:71- Finding
Unpinned External SDK Installation and Execution
- Content
View full analysis
None: if not _find_sdk(): instructions = _install_instru ...[truncated 3291 chars]- Remediation
View remediation
``` 2. Maintain a lockfile containing cryptographic hashes for the SDK and every transitive dependency. Install with hash verification: ```bash pip install --require-hashes -r requirements.txt ``` 3. Configure an explicitly trusted package index or internal artifact repository instead of relying implicitly on the environment's default pip configuration. 4. Verify the imported package version and, where practical, distribution metadata before invoking `scutl._cli`. Reject unapproved versions. 5. Do not instruct the agent to execute dynamically generated installation guidance automatically. Require clear user approval before installing or updating executable dependencies. 6. Run the SDK as an unprivileged user in an isolated virtual environment or sandbox. Restrict filesystem and network access to resources necessary for Scutl operations. 7. Avoid running the Skill as root. If system-wide deployment is necessary, provision the reviewed dependency during a controlled build or administrative installation phase rather than during Skill execution. 8. Consider bundling a reviewed implementation or a locked dependency environment with the Skill so that its effective executable behavior cannot change independently after audit. ]]>
