← All tutorials

How to audit a Flutter and Firebase app that stores patient data: a checklist

This is the checklist I go through when I review a Flutter app on Firebase that handles patient or health data, before a launch or a hospital pilot. It is written for the developer who built the app. Go through it with the repository and the Firebase console open. Every item is a question you can answer with yes, no or "I do not know", and "I do not know" is a finding.

The idea behind most of the items is the one from my course Securing a Flutter + Firebase app for medical data: the app only ever sees pseudonymised records, and the pseudonymisation key, kept outside the app, is the only way to link a record back to a patient. Data linkable through a separately kept key is still personal data under GDPR, so the key gets the same care as the records.

1. Firestore and Cloud Storage security rules

2. Authentication

3. App Check

4. Cloud Functions and IAM

5. Data location and EU regions

6. Encryption and pseudonymisation

7. Logging and audit trail

8. Backups and retention

9. Third-party SDKs

10. GDPR basics

What to do with the result

Order the "no" and "I do not know" answers by what an attacker with Firestore read access would get from each, and fix in that order. Sections 1, 6 and 4 usually come first.

If you want this done by someone who has not seen the code before, with a written report and a call: security and GDPR audit of a Flutter and Firebase medical app, a fixed package of 12 h for 2 580 PLN net, report within 7 working days. It is a read-only review of the same areas as this checklist, not a penetration test, not a certification and not a legal opinion.