Skip to content

Conversation

@patched-codes
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.

@sonarqubecloud
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.

@sonarqubecloud
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
@patched-codes patched-codes bot force-pushed the patchwork-autofix-master branch 3 times, most recently from 21fc23f to c1173a0 Compare January 15, 2025 05:09
@patched-codes patched-codes bot force-pushed the patchwork-autofix-master branch from c1173a0 to 7d4e680 Compare February 8, 2025 09:41
@patched-codes patched-codes bot force-pushed the patchwork-autofix-master branch from 7d4e680 to 1926874 Compare February 11, 2025 07:47
@patched-codes patched-codes bot force-pushed the patchwork-autofix-master branch 6 times, most recently from 61999fe to e046408 Compare April 14, 2025 10:31
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