VialTrack

Compliance & security

An honest security overview

The plain-language version of our vendor questionnaire. Where something is planned rather than shipped, we mark it Planned — never described as done. Need the full questionnaire? Ask us.

The home screen offline, with a queued action pending sync
Lose signal and every action still works — queued, signed on the device, and synced in order on reconnect. No loss, no duplicates.
Entering a device PIN to sign a controlled-substance action
A device PIN signs every controlled-substance action. One signature writes the whole chain — administer, waste, refresh, and reseal — as hash-chained ledger rows.

No patient data

VialTrackRx stores no PHI. There are no patient fields anywhere in the app — the only clinical link is your agency's own run or incident number.

  • No HIPAA scope by design, because there is no protected health information.
  • A Business Associate Agreement is available on request if your counsel requires one.
  • Employee data is work identifiers only: name, employee ID, certification level, work email and phone. No SSNs, no financial data, no home addresses.

A ledger you can't quietly change

Every custody event is a row in an append-only ledger. Rows are never edited or deleted — corrections are new reversing rows.

  • Each row carries a SHA-256 hash chained to the previous row for that vial or box.
  • A weekly verifier recomputes the chains and reports any break.Planned
  • Multi-step actions (administer, waste, refresh, reseal) are one atomic batch; retries are de-duplicated and concurrent writes to the same vial are serialized.
  • A box's per-drug amounts at check-in must equal check-out; any variance freezes the box and raises a critical discrepancy for supervisor review.

The server enforces the rules

Ledger writes don't happen on the phone. They go through a server function that re-loads the current state from the database, validates against the rules engine, and writes atomically.

  • Clients cannot forge or back-date a ledger row.
  • At production cutover, client write permission on the ledger tables is revoked entirely.Planned
  • Offline actions are signed on the device with a per-device Ed25519 key that the server verifies before applying the write.

Multi-factor and device control

Email and password plus mandatory MFA, then a device PIN or biometric on every signature.

  • MFA by TOTP authenticator with one-time recovery codes; enforcement is a per-tenant policy.
  • Email one-time codes as an MFA fallback.Planned
  • PIN hashes are device-local and never stored on our servers; five failed attempts trigger a 15-minute lockout that survives a restart.
  • Step-up re-authentication (password plus a fresh MFA code) for sensitive actions like receiving stock, policy or branding changes, and user deletion.
  • Sessions last 12 hours on mobile and 1 hour on the web; the app locks after two minutes in the background.
  • Every device is enrolled on first login; an administrator can revoke a device, which signs it out remotely and wipes its local cache.
  • Rooted or jailbroken device blocking, enforced in native builds.Planned
  • Single sign-on with Microsoft Entra or Okta (OIDC) is available on request; it is not enabled by default.

Works with no signal

Field actions work with no connectivity for the length of a shift, then reconcile cleanly on reconnect.

  • Actions are queued locally and signed, applied optimistically, and synchronized in order with idempotency keys — no loss or duplication, even if the app is killed mid-sync.
  • If server state changed while a device was offline, the conflicting action is never auto-merged; it is parked for supervisor review with a notification.
  • New box checkouts are blocked after 24 hours offline; actions on a box already in hand stay available.

Everything is logged

Three append-only logs: the custody ledger, a tenant audit log, and a separate platform log for vendor actions.

  • The audit log captures logins, MFA events, lockouts, role and policy changes, catalog edits, exports, report runs, device enroll and revoke, and discrepancy transitions.
  • Logs are station-tagged and exportable to CSV.
  • SIEM export on request.Planned
  • Ledger and audit logs are retained a minimum of two years for DEA recordkeeping, configurable per jurisdiction.
  • A legal-hold flag that prevents purge.Planned

Encryption

Encrypted in transit and at rest, with device secrets in the OS secure store.

  • TLS 1.2 or higher for every connection between the app, the database, and the web host.
  • At rest, data is encrypted by the hosting provider on AWS-managed encrypted storage.
  • Device-local cache and PIN hashes are held in the OS secure store (iOS Keychain, Android Keystore) and encrypted SQLite.
  • No API keys ship in the application bundle; server function keys are scoped to the minimum tables.
  • 90-day key rotation.Planned

Isolated per agency

Each customer is a fully isolated tenant — enforced at the database, not just filtered by the app.

  • Row-level database permissions grant read access only to the tenant's own team.
  • The app bundle contains no tenant identifier; the tenant is resolved from the signed-in user's profile at login.
  • Cross-tenant reads are refused by the database.

Backups & availability

Independent backups and a written availability target for the pilot.

  • A nightly export of every tenant's ledger, audit log, and inventory to an encrypted bucket the vendor controls, independent of the hosting provider; 90 daily and 12 monthly copies retained.Planned
  • A documented and tested restore procedure; the last drill result available on request.Planned
  • A public status page and uptime monitoring.Planned
  • A written SLA for the pilot: a 99.5% monthly availability target and next-business-day support response.Planned

Your data is yours

You own your data. We give it back on request and delete it when you leave.

  • Full export in CSV or JSON on request.
  • Deletion on contract termination, after the regulatory retention period.
  • Users may edit their own contact information; deleting a user anonymizes the profile while preserving ledger integrity.
  • A privacy policy and terms reviewed for B2B use before the pilot.Planned

Where it runs

Appwrite Cloud (US-East, on AWS) for the database, authentication, storage, and functions; Vercel (US) for the static web app; Expo/EAS for the mobile builds.

  • A dedicated production project, separate from development.Planned
  • Subprocessors: Appwrite, Vercel, Expo/EAS, Namecheap (DNS), plus Postmark (email) and Bugsnag (error monitoring).Planned

Compliance posture

Designed around DEA controlled-substance recordkeeping concepts and state EMS rules — with an honest account of what is and isn't in place.

  • Supports perpetual inventory, receiving, disposition, and biennial-inventory concepts (21 CFR 1304/1305), with per-state policy packs.
  • No HIPAA scope, by design.
  • SOC 2: not certified. A Type 1 audit is on the roadmap, targeted after the first production deployment.
  • Cyber-liability and errors-and-omissions insurance in place before the pilot.Planned

What we do not claim

We'd rather you hear this from us than a lawyer. VialTrackRx does not offer:

  • SOC 2 or ISO certification
  • FedRAMP authorization
  • Dedicated infrastructure on the standard tiers (available at Enterprise)
  • A HIPAA BAA requirement (there is no PHI)
  • SMS or telephony delivery

Have a security team to satisfy?

We'll walk your questionnaire line by line and show the controls live.