Documentation / Privacy and security compliance

1. Executive summary

Baseline review, before remediation (current status is in the re-assessment above): the suite should not hold real patient data yet: the code review found 17 gaps against HIPAA, GDPR and the Saudi PDPL, 5 of them High. No software is "compliant" by itself; compliance belongs to the organisation that runs it, so the report separates what the code must do from what the operator must do.

The five High gaps:

  • No access audit trail. Nobody can show who viewed, changed or exported which record (G1).

  • Weak sign-in assurance. No multi-factor authentication, an 8-character minimum password, and a seeded admin / password account (G2).

  • No patient-level erasure or export. The vault keeps history and only soft-deletes (G3).

  • Plain-text database secrets. Data-source connection strings, passwords included, sit unencrypted in the auth schema (G5).

  • No built-in encryption. TLS and encryption at rest depend entirely on how it is deployed (G6).

What is already sound: passwords are hashed with scrypt, session tokens are stored only as SHA-256 hashes, cookies are HttpOnly and SameSite=Strict, cross-site requests are refused, access is enforced per data source, feature and resource type, stored documents cannot run scripts, and the bundled sample data is synthetic.

Law as of 8 November 2026: the HIPAA Security Rule update proposed on 6 January 2025 is not final; the EU Digital Omnibus changes to the GDPR were still a proposal when last reported (March 2026); the PDPL has been in force since 14 September 2023, with enforcement from 14 September 2024. Section 8 ranks every gap and section 9 turns them into a plan.

This is a technical gap assessment, not legal advice or a certification.