Skip to content

feat: scan source distributions for compiled code#947

Draft
tiran wants to merge 1 commit intopython-wheel-build:mainfrom
tiran:scan-compiled
Draft

feat: scan source distributions for compiled code#947
tiran wants to merge 1 commit intopython-wheel-build:mainfrom
tiran:scan-compiled

Conversation

@tiran
Copy link
Collaborator

@tiran tiran commented Mar 3, 2026

The new helper function scan_compiled_extensions scans source distributions for compiled code. It detects common extensions like .so and .dylib as well as files with certain headers.

The function is designed to detect packaging issues like sdists with pre-compiled code. It is incapable of detecting supply chain attacks and malicious code.

The new helper function `scan_compiled_extensions` scans source
distributions for compiled code. It detects common extensions like `.so`
and `.dylib` as well as files with certain headers.

The function is designed to detect packaging issues like sdists with
pre-compiled code. It is incapable of detecting supply chain attacks and
malicious code.

Signed-off-by: Christian Heimes <cheimes@redhat.com>
@mergify mergify bot added the ci label Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant