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

bug: Limit the information displayed with errors and avoid displaying internal application traces. #606

Open
tarektaamali opened this issue Dec 10, 2024 · 0 comments
Labels
bug/fix Something isn't working needs: triage

Comments

@tarektaamali
Copy link

The current implementation includes the use of Log.e and other logging mechanisms that expose internal application traces and sensitive information. This can lead to security vulnerabilities, especially if these logs are unintentionally left enabled in production builds.

Code Reference:
Example from the file:

**java**
  Log.v(TAG, "Error: exportToJson " + e.getMessage());

The above logs directly expose internal exception details (e.getMessage()), which could contain sensitive information about the application's internal state.

Impact:
Exposing internal traces could aid attackers in understanding the application's architecture and identifying vulnerabilities.
This practice violates secure coding principles by disclosing unnecessary information.

@tarektaamali tarektaamali added bug/fix Something isn't working needs: triage labels Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/fix Something isn't working needs: triage
Projects
None yet
Development

No branches or pull requests

1 participant