MASTG-TEST-0287: Sensitive Data Stored Unencrypted via the SharedPreferences API to the App Sandbox
Placeholder MASTG-TEST
This test hasn't been created yet and it's a placeholder. But you can check its status or start working on it yourself. If the issue has not yet been assigned, you can request to be assigned to it and submit a PR with the new content for that test by following our guidelines.
Check our GitHub Issues for MASTG-TEST-0287
If an issue doesn't exist yet, please create one and assign it to yourself or request to be assigned to it.
Draft Description¶
This test checks if the app is using the SharedPreferences API to store sensitive data (e.g. user credentials, tokens) in an unencrypted format within the app's sandbox. This includes checking for the use of SharedPreferences
without encryption as well as not using EncryptedSharedPreferences
or similar secure storage mechanisms.
For more details, check the associated weakness: Sensitive Data Stored Unencrypted in Private Storage Locations
Demos¶
MASTG-DEMO-0060: App Writing Sensitive Data to Sandbox using EncryptedSharedPreferences