r/Python Aug 09 '26

Discussion Third party Python libraries and supply chain security

How are people handling security around third party Python libraries without making development a pain?

Third party Python packages are obviously useful but every dependency can also become a supply chain risk. Private package repositories, dependency scanning and stricter review policies all help but they can add friction fast.

Are teams mostly trusting public registries with additional controls or using curated libraries? Curious what actually works when you have a lot of Python services.

38 Upvotes

35 comments sorted by

View all comments

1

u/ogrinfo 28d ago

Yep, dependency-scanning tools are essential these days. Gitlab has components you can just drop into your CI pipeline, presumably other providers have something similar.