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

do not trigger hardcoded password on empty string, #714 #738

Closed

Conversation

EugeneDanini
Copy link

No description provided.

@sigmavirus24
Copy link
Member

Are you not concerned about someone having a default of an empty password and not providing one? It seems as though that would be as concerning to me as a hard-coded password. In reality, it's a hard-coded empty password meaning there's no credentials there.

Even so, the tests seem to fail

@ericwb
Copy link
Member

ericwb commented Dec 30, 2024

This would add a very low confidence case to the hardcoded password rule. I'd rather not introduce this behavior. In addition, I feel using another library like detect-secrets is a better alternative than Bandit for finding secrets.

@ericwb ericwb closed this Dec 30, 2024
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.

3 participants