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

added a rule to detect usage of uuid version 1 in python #3517

Merged
merged 3 commits into from
Nov 19, 2024

Conversation

mohamed-osama-aboelkheir
Copy link
Contributor

Added a Semgrep rule to detect UUID version 1 in Python, which could lead to predictable UUIDs based on system information (e.g., MAC address, timestamp). This may lead to security risks such as the sandwich attack e.g. https://www.landh.tech/blog/20230811-sandwich-attack/.

@0xDC0DE 0xDC0DE enabled auto-merge (squash) November 19, 2024 08:13
@0xDC0DE 0xDC0DE merged commit e8a1345 into semgrep:develop Nov 19, 2024
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants