Skip to content

Conversation

zm711
Copy link
Contributor

@zm711 zm711 commented Jul 31, 2024

Fixes #221.

@codingchipmunk feel free to look at this. It's a bit of a hammer, but this blocks arbitrary eval of any python built-ins.

@apdavison, I would say this type of security would be nice to have even before the next release.

@zm711
Copy link
Contributor Author

zm711 commented Jul 31, 2024

All tests have passed now. Ready for review :)

@apdavison apdavison merged commit 329433c into python-quantities:master Aug 27, 2024
43 checks passed
@zm711 zm711 deleted the fix-eval-issue branch August 27, 2024 12:23
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.

Vulnerability: Possible code injection in UnitRegistry
2 participants