Skip to content

Java: Create new query Cleartext storage of sensitive information in Android filesystem - #6576

Merged
atorralba merged 8 commits into
github:mainfrom
atorralba:atorralba/android-cleartext-storage-filesystem
Jan 17, 2022
Merged

Java: Create new query Cleartext storage of sensitive information in Android filesystem#6576
atorralba merged 8 commits into
github:mainfrom
atorralba:atorralba/android-cleartext-storage-filesystem

Conversation

@atorralba

@atorralba atorralba commented Aug 31, 2021

Copy link
Copy Markdown
Contributor

Created a query that detects sensitive information being stored in the Android filesystem without encryption, which may expose it to attackers or malicious applications.

The query looks for sensitive data flowing into file inputs that isn't sanitized by encryption or hashing methods. Said methods are currently detected with a simple heuristic - there's field for improvement there.

This PR also adds a little modeling (sinks) for creating and writing to files using the JDK. The create-file sinks were moved from ExternalFlow.qll to their own library (Files.qll).

Evaluation

TO DO

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Java ready-for-doc-review This PR requires and is ready for review from the GitHub docs team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants