Security overview
Veridian Health Partners designs Veridian Motion for healthcare and correctional use cases. This page summarizes what the application enforces and what hosting agencies must provide.What Veridian Motion enforces (built today)
Access control
- Staff: Email + password; TOTP MFA (enforced per deployment via
MFA_ENFORCED); RBAC - Patients: Patient ID + PIN; access limited to own data via RLS
- Roles:
pt,admin,officer,warden,it_admin,bh_clinician(reserved — BH not public),wellness_participant— granted only by admin - Multi-facility (rolling out): RLS by facility membership; staff may switch facilities when enabled — confirm activation before assuming live
- Brute-force lockout on patient and staff login identifiers
- Program entitlements: seat-capped enrollments before program access
- Terms acceptance: versioned patient consent logged at first login
Data protection
- Row-level security on every Postgres table
- Field-level PHI encryption (AES-256-GCM)
- Private photo storage; authorized staff access only
- No PII in browser localStorage on kiosk; in-memory patient session
- No PHI in application logs
- Hash-chained, append-only audit log for sensitive actions
Application hardening (kiosk)
- Blocked external navigation, strict CSP, self-hosted fonts, idle auto-reset
- Internal messaging only — no external patient egress
- Offline-capable chess/rehab loops without external API calls where designed
Clinical safety gate
- AI output is non-diagnostic and clinician-approved before patient release
- Messaging safety screening; admin Communication Record access is audit-logged
What agencies / facilities must provide
Before a real-PHI pilot
- Owned Supabase (HIPAA add-on + BAA) + compliant host
- BAA-covered or self-hosted messaging AI screener
- Counsel-finalized Terms / MSA / BAA
- IRB determination when required (program-evaluation framing)
- Clinical sign-offs for enabled programs
Encryption
- In transit: TLS for all connections
- At rest: Cloud provider encryption plus field-level PHI encryption
- Photos: Private storage; no public ACLs
Audit and monitoring
Sensitive actions write to a hash-chained, append-only audit log (enroll, assign, review, notes, roles, MFA reset, messages, Communication Record access, program enrollment). Application logs exclude PHI. Audit entries use resource IDs and action types — not clinical content.Incident response
See Incident response.What’s next
HIPAA
Business Associate framing.
Data model & privacy
RLS and entities.
Roadmap
Compliance migration and planned items.
