Skip to content
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

Improve Python detection based on the PyPI malregistry #584

Merged
merged 10 commits into from
Nov 5, 2024

Conversation

tstromberg
Copy link
Collaborator

@tstromberg tstromberg commented Nov 5, 2024

Basically, I banged on malcontent until it matched more and more of https://github.com/lxyeternal/pypi_malregistry

This included adding support for ".whl" (Python Wheel) files, which are just zip files by another name.

@tstromberg tstromberg requested a review from egibs November 5, 2024 03:19
$f_eval = "eval("
$f_exec = "exec("

$trash = /\\x{0,1}\d{1,3}\\/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the closing escape correct?

egibs and others added 2 commits November 5, 2024 12:33
Signed-off-by: Evan Gibler <20933572+egibs@users.noreply.github.com>
@tstromberg tstromberg enabled auto-merge (squash) November 5, 2024 21:51
Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
@egibs
Copy link
Member

egibs commented Nov 5, 2024

@tstromberg -- I went ahead and updated the test data to get this merged.

@tstromberg tstromberg merged commit e76991d into chainguard-dev:main Nov 5, 2024
8 checks passed
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