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

**🚨 suggestion (security):** Reconsider error logging approach #47

Open
Shloimy15e opened this issue Aug 20, 2024 · 0 comments
Open
Assignees
Labels
6 Security Security issue

Comments

@Shloimy15e
Copy link
Owner

          **🚨 suggestion (security):** Reconsider error logging approach

The new error logging approach might expose sensitive information. Consider implementing a more structured error logging system that balances debugging needs with security concerns.

const errorMessage = 'Login failed';
console.error(errorMessage, { status: response.status });

Originally posted by @sourcery-ai[bot] in #32 (comment)

@Shloimy15e Shloimy15e assigned Shloimy15e and unassigned Shloimy15e Aug 20, 2024
@Shloimy15e Shloimy15e added Security Security issue 6 labels Aug 20, 2024
@Shloimy15e Shloimy15e self-assigned this Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6 Security Security issue
Projects
None yet
Development

No branches or pull requests

1 participant