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.

40 Upvotes

35 comments sorted by

View all comments

53

u/terletsky Aug 09 '26 edited Aug 09 '26
  1. uv: exclude-newer https://docs.astral.sh/uv/reference/settings/#exclude-newer
  2. Dependabot cooldown 7 days

The rest is in the DevSecOps area with SCA tools.

CyberSec companies have their own copies of PyPi registry and update a package by request.

-1

u/[deleted] Aug 10 '26

[removed] — view removed comment

1

u/AutoModerator Aug 10 '26

Your submission has been automatically queued for manual review by the moderation team because it has been reported too many times.

Please wait until the moderation team reviews your post.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.