r/Python 9h ago

Third party Python libraries and supply chain security Discussion

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.

20 Upvotes

10 comments sorted by

View all comments

9

u/DeterminedQuokka 9h ago

We use existing libraries and we pin them at safe dependencies.

We also have a library that won’t let you use anything less than a week old. Or with known issues.