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

Patchwork PR: Autofix #21

Open
wants to merge 5 commits into
base: patchwork-autofix-master
Choose a base branch
from

Conversation

patched-codes[bot]
Copy link

@patched-codes patched-codes bot commented Nov 8, 2024

This pull request from patched fixes 1 issues.


  • File changed: sqli/static/js/materialize.js
    Fixed ReDoS vulnerability by avoiding dynamic regex Replaced dynamic regex construction with a hardcoded solution to prevent ReDoS attacks.

Copy link

sonarqubecloud bot commented Nov 8, 2024

@patched-codes patched-codes bot force-pushed the patchwork-autofix-master branch 5 times, most recently from 7848f2d to 68397ee Compare November 11, 2024 06:18
@patched-admin
Copy link

Add comments to the code next to the injection issue fix.

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
D Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

kdf = PBKDF2HMAC(
algorithm=hashes.SHA256(),
length=32,
salt=salt,

Check failure

Code scanning / SonarCloud

Password hashing functions should use an unpredictable salt High

Make this salt unpredictable. See more on SonarQube Cloud
@patched-codes patched-codes bot force-pushed the patchwork-autofix-master branch 7 times, most recently from f9b2ce4 to c5c73a5 Compare December 24, 2024 06:43
@patched-codes patched-codes bot force-pushed the patchwork-autofix-master branch 5 times, most recently from b13180b to 01bb552 Compare December 30, 2024 04:55
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.

1 participant