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

3

u/chucker23n Oct 18 '26

Most of your comment is moot because the scenario here is about uploaded binaries that do not match the source code. The source code looks innocent; the "convenient" binary is not.

0

u/bigmell Oct 18 '26

That is the entire point of using a trusted source. A trusted source does not post binaries that do not match the source code. This is called a man in the middle attack and is the hallmark of a malicious site. Hiding malicious code in the source is not the work of a trusted site. And posting binaries that do not match the source is also not the work of a trusted site. This is a site that should be taken down and from which no one should download binaries.

  1. verify the source code
  2. make sure the posted/verified source is actually the source used when compiling the binaries... Duh? I would have thought that to be obvious.