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

[new check] archives with dangerous paths #221

Open
2 tasks done
jameslamb opened this issue Feb 4, 2024 · 0 comments
Open
2 tasks done

[new check] archives with dangerous paths #221

jameslamb opened this issue Feb 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jameslamb
Copy link
Owner

What should be checked?

pydistcheck should complain about any of the following in archive paths:

  • begins with ./
  • begins with ../
  • contains a ..
  • begins with /
  • contains a : (e.g. Windows absolute paths like C:/Users/James/Documents)

What should the name of this check be?

dangerous-paths

Will this check introduce any additional configuration?

yes

Details on additional configuration required.

No response

Distribution type

  • source (e.g. .tar.gz)
  • built (e.g. .whl)

Notes

See:

@jameslamb jameslamb added the enhancement New feature or request label Feb 4, 2024
@jameslamb jameslamb changed the title [new check] check that archives contain dangerous paths [new check] check that archives don't contain dangerous paths Feb 6, 2024
@jameslamb jameslamb changed the title [new check] check that archives don't contain dangerous paths [new check] archives with dangerous paths Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant