-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pip does not check hashes in wheel RECORD contents during installation #4705
Comments
That looks similar to #3513 . As I understand a wheel as a |
See also #2752 for some discussion. |
I think #11762 would close this? |
#11762 checks that the |
Description:
Currently, wheels that fail to install when handled by the
wheel
library or cli tool due to checksum failures are silently accepted bypip
. This seems like a security issue, as pip will gladly and silently install crudely tampered wheels.Per PEP-427, this hash verification should be happening every time the wheel is extracted for installation: https://www.python.org/dev/peps/pep-0427/#the-dist-info-directory
What I've run:
demonstrating the malformed wheel failure with
wheel
:vs
pip
behavior:The text was updated successfully, but these errors were encountered: