Skip to content

Reject distribution metadata in wheel data - #77

Closed
zaniebot wants to merge 1 commit into
mainfrom
zb/bughunt100/007-reject-data-dist-info
Closed

Reject distribution metadata in wheel data#77
zaniebot wants to merge 1 commit into
mainfrom
zb/bughunt100/007-reject-data-dist-info

Conversation

@zaniebot

@zaniebot zaniebot commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Wheel data payloads can smuggle a second .dist-info directory or replace validated METADATA: the root metadata is validated, then .data moves can overwrite it or inject a phantom distribution and undeclared requirements. Reject metadata destinations across data schemes.

See the wheel installation specification.

This complements the top-level .dist-info validation in uv#19986; metadata moved through .data must not bypass that boundary.

Moved to: astral-sh/uv-dev#69.

@zaniebot zaniebot closed this Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants