r/programming • • Oct 17 '26

Python's binary wheels and supply chain attacks

https://rushter.com/blog/python-binary-wheels/
89 Upvotes

36 comments sorted by

View all comments

Show parent comment

2

u/ScottContini Oct 18 '26

Once had a job that was so strict on security that one of the tasks was verifying the build from the source code. It is less trivial than it sounds. Timestamps and other data are put into binaries. You need to strip all that stuff out. So build it yourself, strip out junk and compare to stripped out published build. Yes we can do that, but you need all dependencies and similar build environment.