-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Java: query to detect android:debuggable attribute enabled #9939
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
Java: query to detect android:debuggable attribute enabled #9939
Conversation
bf5c2e4 to
9edbac8
Compare
atorralba
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking good @jcogs33! I added a few inline comments for your consideration.
java/ql/test/query-tests/security/CWE-489/DebuggableAttributeEnabledTest.ql
Outdated
Show resolved
Hide resolved
java/ql/src/Security/CWE/CWE-489/DebuggableAttributeEnabled.qhelp
Outdated
Show resolved
Hide resolved
17d99ff to
171a47e
Compare
atorralba
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're getting close! Some more comments:
java/ql/test/query-tests/security/CWE-489/DebuggableAttributeEnabledTest.ql
Outdated
Show resolved
Hide resolved
171a47e to
bee310d
Compare
5df94b1 to
55be4f1
Compare
|
Covering for the docs first responder here 👋🏻 - I added this PR to our board for review by the Docs team. Thanks for your patience 🙇🏻♀️ 😅 |
55be4f1 to
40034fa
Compare
mchammer01
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jcogs33 👋🏻 - thanks for your patience. This LGTM ✨
I am approving this from an editorial point of view, but would be grateful if you could look at my minor comments. Thank youuu 🙇🏻♀️ 🙂
java/ql/src/Security/CWE/CWE-489/DebuggableAttributeEnabled.qhelp
Outdated
Show resolved
Hide resolved
java/ql/src/Security/CWE/CWE-489/DebuggableAttributeEnabled.qhelp
Outdated
Show resolved
Hide resolved
java/ql/src/Security/CWE/CWE-489/DebuggableAttributeEnabled.qhelp
Outdated
Show resolved
Hide resolved
…iew' to references
40034fa to
07e141c
Compare
mchammer01
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jcogs33 - thanks for addressing my comments, this is good to go from an editorial point of view ✨ ![]()
atorralba
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to merge! 🎉
This query warns about
android:debuggable="true"set in the application section of theAndroidManifest.xmlfile.