Skip to content

Stop logging the submitted password on failed login - #5

Open
Lepidopterist wants to merge 1 commit into
stephenyin:mainfrom
Lepidopterist:fix/plaintext-password-log
Open

Stop logging the submitted password on failed login#5
Lepidopterist wants to merge 1 commit into
stephenyin:mainfrom
Lepidopterist:fix/plaintext-password-log

Conversation

@Lepidopterist

Copy link
Copy Markdown

The login route logged the raw plaintext password attempt to nethang.log on every failed login. Secrets should never be written to logs. Log the fact of a failed attempt (with the attempted username) instead of the password value.

The login route logged the raw plaintext password attempt to
nethang.log on every failed login. Secrets should never be written to
logs. Log the fact of a failed attempt (with the attempted username)
instead of the password value.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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