File scanning: validate wheel digests against pypi.org #199
No reviewers
Labels
No Label
Priority
Critical
Priority
High
Priority
Low
Priority
Normal
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Type
Breaking
Type
Documentation
Type
Enhancement
Type
Feature
Type
Report
Type
Security
Type
Suggestion
Type
Testing
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: infrastructure/extensions-website#199
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "validate-wheels"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR adds a new check to background file scans:
wheel digests are verified using PyPI json API
https://warehouse.pypa.io/api-reference/json.html
This check should flag uploads that try to ship wheels
that are not published on PyPI, a file is flagged when either
a combination of project name, version and platform tags is checked
Although the fact that something is published on PyPI is not a guarantee
that the code is safe to load, this additional step should introduce at least
some barriers to uploading malicious code.
We can potentially improve on this further by e.g. integrating with
https://docs.virustotal.com/docs/api-overview
WIP: validate wheelsto File scanning: validate wheel digests against pypi.orgLGTM