01
Technical safeguards
Encryption
Data in transit
- All data transmitted between your device and our servers uses TLS 1.3 encryption
- API endpoints enforce HTTPS exclusively
- Certificate pinning on mobile applications
- No downgrade to unencrypted connections permitted
Data at rest
- Database encryption using AES-256 encryption
- File storage (voice recordings, documents) encrypted at rest
- Daily automated backups encrypted at rest (AES-256) via Supabase Pro / Google Cloud infrastructure
- Key management through secure key management services
Access controls
User authentication
- Multi-factor authentication (MFA) available for all accounts; required for sensitive operations
- Minimum 8 characters with complexity requirements for passwords
- Automatic session timeout after periods of inactivity
- Email/password authentication with mandatory email OTP verification at every login
Role-based access control
- Caregiver: Full access to a dependent's health records
- Teen / self-managing patients: Access to own records only
- Clinician: Access only to explicitly shared patient data
- Admin: De-identified data views only (no direct PHI access)
- Researcher: Aggregate and de-identified data only
All roles follow the principle of least privilege. Admin and research tools operate primarily on de-identified views, not live PHI.
Audit controls
Comprehensive logging
- All data access and modifications logged with tamper-proof audit trails
- Administrative actions tracked and reviewed regularly
- Retention of audit logs for a minimum of 7 years
- Regular review of access logs for suspicious activity
- Structured, machine-parseable log format for automated analysis
- Clinical trial subject ID access logged separately with enhanced monitoring
- Research data exports logged with requester, purpose, timestamp, and dataset ID
PHI-free logging
- Application logs contain only user IDs, child IDs, session IDs, and metadata
- No PHI in logs: never names, dates of birth, symptoms, medications, or clinical notes
- Error tracking (Sentry) configured with PHI scrubbing — no health data in error messages, tags, or breadcrumbs
- Voice recordings and transcripts never stored in non-BAA-covered analytics tools
Network security
- Firewall protection on all network perimeters
- Intrusion detection and prevention systems (IDS/IPS)
- DDoS protection and rate limiting
- Regular vulnerability scanning and penetration testing
- Network segmentation to isolate sensitive data
Secure development
- Security-first development lifecycle
- Code review and static analysis for security vulnerabilities
- Dependency scanning for known vulnerabilities
- Regular security updates and patch management
- Secure coding standards and training for developers
Database migration security
- All database changes deployed via version-controlled migrations
- Migrations tested in staging before production deployment
- Rollback procedures documented and tested
- No direct production database modifications
Row-level security (RLS)
Database-level access controls enforce complete data isolation between users.
- Row-level security policies enforce data isolation at the database level
- Every query is automatically filtered by user_id and child_id
- No user can access another user's health data, even if they guess the ID
- RLS policies are independently tested from an unauthorized-user perspective
- Database queries fail closed (deny by default) if RLS is misconfigured
- RLS applies to all tables containing PHI or user-specific data
Voice data processing
Special safeguards for the voice journal feature.
- Voice recordings encrypted in transit and at rest
- Transcription through HIPAA-eligible providers with BAAs only
- Voice recordings retained per user preference, and can be deleted on request
- Transcription quality validation before clinical use
- Structured data extraction with fallback to free text if AI processing fails
- Users can review, edit, and correct all AI-extracted data before saving
- No voice recordings or transcripts sent to non-BAA-covered services