39. Dependency Vulnerabilities and CVEs
Even trusted packages can have vulnerabilities. Regularly audit your environment.
Example
pip install pip-audit
pip-audit
Example Output:
Found 1 vulnerability in requests 2.19.0
Upgrade to requests 2.31.0
✅ Lesson: Run pip-audit or safety regularly to detect known CVEs.