Skip to content

Conversation

@macik09
Copy link
Contributor

@macik09 macik09 commented Nov 27, 2025

This PR closes #3448

##Summary

This PR introduces a new demo and finalizes the corresponding test for the MASVS-STORAGE requirement concerning unencrypted data persistence using the Room Library.

##Description

This submission specifically addresses data persistence via the Android Room Persistence Library by adding MASTG-DEMO-0070 and finalizing MASTG-TEST-0306.

The demo proves that sensitive PII (Email) and a secret (Access Token/Credential) are stored in plaintext within the default SQLite database created by Room. This is due to the lack of integration of an external encryption library (e.g., SQLCipher), confirming the weakness MASWE-0006.

The included run.sh script demonstrates the extraction of the Room database files from the app sandbox, allowing easy inspection of the sensitive contents in plaintext.

[x] I have read the contributing guidelines.

@cpholguera cpholguera changed the title add Demo-0070 and Test-0306 Add Tests and Demos about "Sensitive Data Stored Unencrypted via Room" Nov 28, 2025
@macik09 macik09 force-pushed the feature/mastg-roomdb-0306 branch from e517c8c to d270183 Compare November 28, 2025 09:02
@macik09 macik09 force-pushed the feature/mastg-roomdb-0306 branch from e96f24c to e1f04d1 Compare November 28, 2025 09:49
@cpholguera cpholguera requested a review from Diolor December 1, 2025 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add new Tests and Demo for MASWE-0006 using Android Room DB

1 participant