T08 · Insecure Dependencies
- Location
scripts/setup.py:57- Finding
Mutable and Unverified Dependencies Installed at Runtime
- Content
View full analysis
=0.6.21 markdown>=3.4.4 pydantic>=2.0.0 click>=8.1.0 pyyaml>=6.0 ``` The documented installation path also retrieves a mutable remote package: ```bash # Install through pip (network access required) pip install sum2slides ``` ### Technical Analysis The setup helper invokes pip to retrieve and install packages from the active package index. Although it uses an argument list rather than a shell and therefore does not expose direct shell-command injection, it does not constrain the dependencies to exact reviewed versions or verify artifact hashes. The `>=` constraints allow future releases to be selected without further review. The actual source can also be affected by the user's pip index configuration, additional indexes, mirrors, or a compromised upstream account. Python package installation may execute package build backends and installation hooks, so a malicious artifact can run code during installation. The direct `pip install sum2slides` instruction similarly installs the pack ...[truncated 1664 chars]- Remediation
View remediation
