T08 · Insecure Dependencies
- Location
SKILL.md:25- Finding
Unpinned Third-Party Dependencies Create a Supply-Chain Risk
- Content
View full analysis
- Remediation
View remediation
pynput== pyaudio== pystray== Pillow== ``` 2. Generate and require cryptographic hashes, for example with `pip-compile --generate-hashes`, and install using: ```bash python -m pip install --require-hashes -r requirements.txt ``` 3. Pin or otherwise document a reviewed Homebrew `portaudio` version and verify its source and checksum where the package manager permits. 4. Install dependencies inside a dedicated virtual environment rather than the user's global Python environment. 5. Commit the lockfile or hash-locked requirements file to the project and review dependency updates before changing it. 6. Add automated dependency vulnerability and provenance checks to the release process. 7. Clearly identify which process requires macOS privacy permissions and advise users not to grant those permissions until dependency installation and verification are complete. ]]>
