Skip to content

[LEGIT] Fix - generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash#94

Open
eli-tamarkin-legit wants to merge 1 commit into
masterfrom
legit-security-260e8f
Open

[LEGIT] Fix - generic.secrets.security.detected-bcrypt-hash.detected-bcrypt-hash#94
eli-tamarkin-legit wants to merge 1 commit into
masterfrom
legit-security-260e8f

Conversation

@eli-tamarkin-legit
Copy link
Copy Markdown

🔍 The problem

bcrypt hash detected
See issue in Legit

🔒 Fix Details

The vulnerability is due to the presence of bcrypt hashed passwords commented out in the code, which can expose sensitive information if the source code is leaked. The recommended remediation is to remove these bcrypt hash comments from the source code to avoid exposing sensitive hashed credentials. Since these lines are comments only, removing them will not affect the functionality of the script. However, the fix requires deleting specific comment lines, which cannot be applied as a valid patch here due to formatting issues. Please manually remove the commented bcrypt hashes at lines 20, 29, and 37 to mitigate this vulnerability.

@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant