T08 · Insecure Dependencies
- Location
package.json:19- Finding
Unpinned PyMongo Dependency Permits Unreviewed Package Installation
- Content
View full analysis
- Remediation
View remediation
", "label": "Install PyMongo" } ``` 2. Update the documentation to install the same reviewed version: ```bash python -m pip install "pymongo==" ``` 3. Maintain a locked requirements file containing exact versions for PyMongo and all relevant transitive dependencies. 4. Require artifact hashes during installation, such as through a hash-locked requirements file and `pip install --require-hashes`. 5. Use only trusted package indexes, disable unintended fallback indexes, and review CI or local configuration for attacker-controlled `index-url` or `extra-index-url` settings. 6. Perform dependency updates through a controlled review process that includes vulnerability scanning, changelog review, and regeneration of approved hashes. 7. Install dependencies in an isolated virtual environment under a non-privileged account rather than using administrator or root privileges. ]]>
