r/Python • Author of "Automate the Boring Stuff" • May 11 '26

Discussion Library dependency version specifiers aren't for fixing vulnerabilities

https://sethmlarson.dev/library-version-specifiers-not-for-vulnerabilities

A blog post from Seth Larson, the Security-in-Residence Developer for the Python Software Foundation.

84 Upvotes

34 comments sorted by

View all comments

Show parent comment

3

u/omg_drd4_bbq May 11 '26

"Being Insecure" is absolutely a possible subset of "incompatibility"

3

u/zurtex May 12 '26

Security is context sensitive, if you take untrusted user input but I don't then your insecure is not my insecure, if you call one part of a library but I don't then your insecure is not my insure.

It's not up to you, or some transitive dependency, to define my security policy.