Legal · Libby Health
Security
Libby holds sensitive health records, so we try to be specific about how we protect them. This page describes measures that are in place in Libby today. It does not claim any certification or audit. No system is perfectly secure, and we keep working on ours.
Encryption
-
Connections. The website and the app are served only over HTTPS, and both tell browsers to refuse plain HTTP connections (HTTP Strict Transport Security). The app connects to its database over TLS with certificate checking.
-
Extra encryption for sensitive fields. Before the most sensitive parts of your record are written to the database, the app encrypts them with AES-256-GCM, using a key kept in our hosting provider's secret settings rather than in the database. This covers names, free text, values and exact dates: your name, date of birth and menopause status; the values of your results; the exact report and collection dates; the ordering provider and the lab as printed on the report; file names; your notes and timeline entries; your chat conversations; the contents of summaries you create; the names, notes and values of imported records such as medications and conditions; and the extracted text and results from your documents. Someone with a copy of the database but not that key could not read these fields.
-
Fingerprints for duplicate checks. To spot duplicate results, Libby stores fingerprints of them. New fingerprints are keyed hashes (HMAC-SHA-256, with a key derived from the encryption key), which cannot be used to work out the values they were made from without that key. Some older fingerprints were made with plain SHA-256 and are being replaced with keyed ones. Uploaded files are also identified by a plain SHA-256 fingerprint of the file, which can show whether two copies of a file are the same but does not reveal the contents.
-
What this extra layer does not cover. These are stored without the extra application-level encryption, so the app can search, sort and group by them:
- your email address and your sex;
- test names, units, reference ranges, panel names and result flags such as high or low;
- the year and month of each date (the exact day is encrypted);
- for imported medications, conditions, allergies, immunizations, procedures and devices, their standard medical codes and status;
- the identifier of a major lab, such as Labcorp or Quest, and the name of a connected provider organization.
Someone with a copy of the database but not the key could therefore see, for example, which tests an account has, which month each report is from, and which medications and conditions an imported record lists, by code. Uploaded files are not encrypted by the app itself; they are protected by the private storage described below.
Your documents
- Uploaded files go to a private storage area with our hosting provider, Vercel, not to public web addresses. Files uploaded during Libby's early development were stored at public addresses that anyone holding the exact link could open; we are checking for and moving any that remain.
- When you open or download a file, the app either sends it to you itself or gives your browser a signed link that works only for that file and expires after five minutes.
- When you delete a document, the app deletes its stored file. Deletions that fail are logged so they can be cleaned up.
Accounts and access
- Sign-in is handled by Clerk, a dedicated authentication provider. Libby does not store your password.
- The app looks up records by the signed-in account, so each request returns only that account's records.
- The MCP connector uses OAuth: you approve each connection by signing in to Libby. Every connector tool is read-only and returns only the data of the account that approved it.
- Share links for clinician summaries are random 256-bit tokens. You can revoke a link at any time, and the app shows when it was last opened.
- Staff access to admin tools requires an admin role on the account and an address on an approved list.
- The app keeps an append-only audit log of access to records: who, what action, which record, when, and the request's IP address and browser. It never stores the contents of the records.
Keeping data out of logs and analytics
- The app does not run browser analytics or session recording. Its product analytics accept only a fixed list of events and properties. Events forwarded to PostHog are identified by a pseudonymous key, never your email, name or account ID. Lab values, test names, file names and free text are rejected.
- Error reports sent to our error-monitoring provider, Sentry, are scrubbed on our servers before they are sent, to remove personal details such as email addresses, phone numbers and file names. Sentry's collection of personal information is turned off, and session replay is disabled.
- Emails telling you that an import has finished say only that it finished. They do not name providers or results.
- No health information is sent to Stripe. Stripe receives your email address and an account identifier.
Payments
Payments use Stripe's hosted checkout and billing portal. Your card details go to Stripe, not to Libby, and Libby's pages do not load Stripe's scripts. Messages from Stripe to Libby are checked against a signing secret before they are acted on.
AI providers
When you use in-app chat, we turn off OpenAI's option to store chat requests. Chat treats text that comes from your documents as data, not as instructions, to reduce the risk of a document manipulating the assistant. The Privacy Policy explains what each AI provider receives.
Protections against abuse
- The app limits how often sensitive actions can be repeated, such as uploads, voice notes, exports, chat messages and opening share links. Sign-in attempts are protected by Clerk.
- When the app fetches data from outside services on your behalf, it allows only approved hosts and refuses internal network addresses.
- The website's forms check where requests come from, limit how often each address can submit, and include a hidden field that catches automated sign-ups.
Browser protections on libby.health
The website sets these headers on every page:
- a Content Security Policy that allows scripts only from libby.health and Ahrefs' analytics address, and blocks the site from being framed;
- X-Content-Type-Options: nosniff;
- Referrer-Policy: strict-origin-when-cross-origin;
- X-Frame-Options: DENY;
- a Permissions-Policy that turns off camera, microphone and location;
- Cross-Origin-Opener-Policy: same-origin.
The website does not handle health records. It collects only what is described in our Privacy Policy.
Reporting a vulnerability
If you find a security problem in Libby, please email security@zebradx.ai before making it public. Include a description of the issue and enough detail for us to reproduce it. Please do not access, change or delete other people's data, and do not run tests that could degrade the service for others. We aim to respond promptly and to work with good-faith researchers to fix valid reports. Our contact details are also published at /.well-known/security.txt.
Questions
For security questions, email security@zebradx.ai. For privacy questions, see our Privacy Policy.