Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Applications should make sure that they do not send sensitive information to log output. If the app includes a third party library, the developer should make sure that the library does not send sensitive information to log output. One common solution is for an application to declare and use a custom log class, so that log output is automatically turned on/off based on Debug/Release. Developers can use ProGuard to delete specific method calls. This assumes that the method contains no side effects.

This rule is a special case of IDS03-J. Do not log unsanitized user input.

Related Vulnerabilities

...