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 write exceptions to console #733

Open
RalfKoban opened this issue Dec 1, 2023 · 0 comments
Open

Do not write exceptions to console #733

RalfKoban opened this issue Dec 1, 2023 · 0 comments

Comments

@RalfKoban
Copy link
Owner

Sometimes, especially with ReSharper, developers write code that catches an exception and writes the exception to the console.

Example:

try
{
    // do something
}
catch (Exception e)
{
    Console.WriteLine(e);
    throw;
}

We should report if the exception is written to the console.

Reason:
This could be a security breach (detailed information about the system, like the application’s path or file names could be leaked here).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant