Uh oh!
There was an error while loading. Please reload this page.
Java: CWE-532 sensitive info logging - #3090
Conversation
329ba28 to
d932770CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
felicitymay
left a comment
There was a problem hiding this comment.
Thanks for including a query help file with your new query. It makes it much easier for everyone to understand what your query does 😄
I've added a few suggested changes for typos and clarity.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Felicity Chapman <felicitymay@github.com>
Co-authored-by: Felicity Chapman <felicitymay@github.com>
…rence so this isn't needed here.
aschackmull
left a comment
There was a problem hiding this comment.
Some inline comments. Also, the ql file needs to be autoformatted to pass PR checks. If you have tested this query on some number of projects it would be nice if you could share a bit of what you learned from looking through the results.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
1. Change the regex pattern from variable contains "url" to variable starts with "url" 2. Add the logging trace method to sink
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…ther variations are excluded
…ing::localTaintStep(node1, node2)
Third-party logging utilities like Log4J and SLF4J are widely used in Java projects. This PR adds a codeql check for writing sensitive information to debug logs.