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

[Draft] Java: Add Android missing certificate pinning query (CWE-295) #10971

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

joefarebrother
Copy link
Contributor

@joefarebrother joefarebrother commented Oct 25, 2022

Adds query for missing certificate pinning in an android application.

Currently covers cases in which a network communication function (e.g. URL.openConnection()), but either no pins are declared in a network-security-configuration.xml file; or pins are declared but the URL used is not of a domain with a pin declared.
Does not yet handle other ways of implementing certificate pinning, such as through a TrustManeger or third-party libraries like OkHttp.

@github-actions github-actions bot added the Java label Oct 25, 2022
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant