T08 · Insecure Dependencies
- Location
scripts/transcribe.py:61- Finding
Unpinned Dependency Installation at Runtime
- Content
View full analysis
- Remediation
View remediation
--hash=sha256: ``` 4. Install dependencies during a controlled build or setup phase rather than when processing user media. 5. Use an isolated virtual environment or container and remove `--break-system-packages`. 6. Restrict installation to a trusted package index and validate the configured pip index. 7. Generate and review a software bill of materials and periodically scan dependencies for known vulnerabilities. 8. Remove `pydub` from the installation instructions unless the implementation actually requires it. 9. Apply least privilege and prevent the transcription process from writing to shared package or system directories. ]]>
