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 CodeQL codemod for mitigating Regex DoS #484

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

andrecsilva
Copy link
Contributor

@andrecsilva andrecsilva commented Dec 10, 2024

\close #work

@andrecsilva andrecsilva force-pushed the ISS-2495/codeql-regex-dos branch from 1015216 to 6599c3e Compare December 10, 2024 10:10
@andrecsilva andrecsilva marked this pull request as ready for review December 10, 2024 10:24
@andrecsilva andrecsilva requested a review from nahsra December 10, 2024 11:08
Copy link
Contributor

@nahsra nahsra left a comment

Choose a reason for hiding this comment

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

This is a complicated change that will be repeated many times in the codebase. Is there any chance we can get a function like this in the codebase, or add it to the java security toolkit?

If it’s something that must be delivered inline, we should have unit tests that test the code we insert to make sure it’s doing what we think it’s doing.

@andrecsilva andrecsilva force-pushed the ISS-2495/codeql-regex-dos branch from 48c961a to b8b90cd Compare December 17, 2024 12:44
Copy link

Quality Gate Passed Quality Gate passed

Issues
2 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

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