Moonshot EHR is built from the ground up for HIPAA compliance. Security is part of the architecture, not something added afterward.
Sign-in is designed to resist credential theft, session hijacking and unauthorized access.
Memory-hard key derivation that makes brute-force attacks expensive, even with GPU clusters.
Cryptographically random session tokens hashed before storage. Tokens are never stored in plaintext on the server.
Staff and patient browser sessions use httpOnly, Secure, SameSite cookies.
Staff sessions end after 60 minutes idle and patient portal sessions after 30 minutes. Every staff session also expires after 24 hours.
TOTP authenticator apps, passkeys (WebAuthn), and SMS verification. Controlled-substance prescribing uses ScriptSure's own two-factor signing.
Each clinic's rows are separated by PostgreSQL row-level security keyed to the signed-in clinic. Access across clinics exists only where it is set up on purpose: a network parent can see aggregate counts for its member clinics, and Moonshot support can enter a clinic for a stated reason, time-boxed and logged in that clinic's audit trail.
Row-level security policies are on the tables that hold clinic and patient records. A small set of platform tables (plans, feature flags, rate-limit counters) are not per-clinic and are not covered.
The application connects as a database role that cannot bypass row-level security. System jobs such as sign-in lookups and scheduled tasks use an explicit, reviewed path.
Every clinic and patient record carries the clinic's identifier. A clinic-scoped query with no clinic set returns zero rows.
The clinic context is set once per request and applied to database calls automatically, so a missed filter returns nothing instead of another clinic's data. Background jobs set the clinic context explicitly.
Data is encrypted at rest and in transit, and at the field level for the most sensitive identifiers.
Sensitive fields like driver's license numbers are encrypted with AES-256-GCM using a dedicated encryption key. Decryption happens only at the application layer, on demand.
Traffic between browsers and our servers, and between the application and the database, is encrypted with TLS. Plain HTTP requests are redirected to HTTPS.
RDS, S3, and all storage services use AWS-managed encryption keys for data at rest. Backups are encrypted with the same protections.
Chart views, clinical activity and sign-ins are written to an audit trail. Clinics cannot turn it off.
Audit entries are append-only: database triggers block edits and deletes, and each entry is hash-chained so tampering is detectable.
Our policy is to keep audit logs for at least 6 years.
Chart views, note and prescription activity, lab orders, exports, sign-ins and permission changes are written to the audit trail with who, what, when and from where.
Every plan includes a BAA. No upgrade required, no waiting period.
Signing the BAA is a step in signup, and clinical routes stay locked until it is signed.
The stack runs on AWS, with a database that fails over automatically and continuous monitoring.
The database runs across two availability zones and fails over automatically. The application server is a single instance that we replace from a documented runbook.
Automated daily snapshots with point-in-time recovery, kept 14 days, with a 7-day copy in a second US region.
Endpoints are health-checked every 30 seconds and a failure pages our on-call engineer. Recovery in a second region is a documented manual procedure.
Application processes restart automatically on a crash and run under memory limits. A deploy restarts the process, which can interrupt requests for a few seconds.
Patient documents are stored in private S3 buckets and opened through short-lived signed links. The CDN serves only the application's static files and public clinic websites.
API abuse, credential stuffing, and brute-force attacks are stopped before they reach your data.
Repeated failed sign-ins are slowed in steps (30 seconds, then 2 minutes) and then locked out for the window. Automated attacks become impractical after a handful of tries.
Rate limits are tuned per endpoint. Login endpoints have tighter limits than read-only data endpoints. No one-size-fits-all throttling.
Your data is yours. Owners can download patients, medications, allergies, problems, notes, lab orders, lab results and appointments from Settings as JSON. Larger clinics and document files are exported by our team on request, at no charge. No lock-in, no export fees, no data hostage.
After cancellation we deliver a one-time export of your data on written request for 60 days, at no charge. Data is then archived and destroyed on the schedule in your agreement and applicable record-retention law.
Here is where we stand on the standards that apply to us.
BAA provided on all plans
ActiveE-prescribing via our certified ScriptSure integration
ActiveDEA-compliant controlled substances
ActiveCard processing through our PCI-compliant processing partners
ActiveAstra Security, grade A+, valid through August 24, 2027
ActiveA fair question to ask of any EHR vendor, and of a young one in particular. Here is what stands behind Moonshot EHR, with the evidence for each.
Astra Security tested the Moonshot web application and API in 2026. The web application test found no critical or high-severity issues, and Astra issued a certificate with an A+ grade on August 24, 2026, valid through August 24, 2027. Verify the certificate with Astra.
A BAA on every plan, AWS hosting with a multi-AZ database, encryption at rest and in transit, separation between clinics enforced by database row-level security, a hash-chained audit log clinics cannot turn off, and required two-factor sign-in for staff, including passkeys. Details are in Data Isolation, Encryption, Audit Logging and Authentication above.
Every change to the product goes through automated tests in continuous integration before it merges. The suite has tens of thousands of tests, including browser tests of the screens staff use.
Automated daily snapshots with point-in-time recovery, kept 14 days, with a 7-day copy in a second US region. The database runs across two availability zones and fails over automatically, and recovery in a second region is a documented procedure. See Infrastructure.
Support runs in the app during business hours, and the support assistant hands anything it cannot answer to a person in one click. Health checks run every 30 seconds and a failure pages our on-call engineer. A clinic owner can always escalate to the founder, Tom Kashul, at hello@moonshotmp.com.
The owner can download the clinic's data as JSON from Settings at any time, at no charge, and our team exports document files and larger clinics on request. See Data Portability.
Ask on your demo call and we will introduce you by email to clinics on Moonshot EHR, matched as closely as we can to your size and the way you practice. Three are written up as case studies: Moonshot Medical, Hormone Regenerative Medicine and CyberDrip Health.
IT teams with a due-diligence list: the questions IT consultants ask us, answered in order.
Get started with full HIPAA compliance from day one. BAA included with every plan.