Veterans Benefits AI
Technical security details
For security reviewers and anyone who wants the detail. The plain version is in the Privacy Center. Nothing here is a certification.
Encryption at rest
- Uploaded files, the text copied from them, and the saved workspace data are encrypted by the application before they are written to disk, using AES-GCM authenticated encryption with a 256-bit key.
- In production the server refuses to start if the encryption key is missing or weak, and it refuses uploads if encryption is off.
- The key is held by the operator in the host's secret store, separate from the data. It is one key for the whole store, not a key you manage.
- Disk-level encryption by the hosting provider is not claimed here.
Encryption in transit
- The site is served over HTTPS only. Cloudflare and the hosting provider terminate TLS in front of the app.
- Responses send Strict-Transport-Security for one year, including subdomains.
- A Content Security Policy limits scripts to our own site and Cloudflare's script host, blocks framing, and blocks plugins.
How accounts are separated
- All accounts share one encrypted store on one server volume. There is no separate database per person.
- Every request checks the signed-in account, and every file or record lookup is limited to that account. A document id that belongs to someone else returns not found.
- This is separation inside the application, not separate infrastructure per customer. Whoever holds the encryption key can decrypt the whole store.
Sign-in, sessions, and passwords
- Sign in with email and password, Google, or Apple. We never ask for a VA.gov password.
- Passwords are stored only as salted scrypt hashes. New email accounts confirm the address with a 6-digit code on the same page (10 minutes, 5 tries, stored only as a hash) or by opening the confirmation link. Reset links work once, expire after 1 hour, and sign out every device.
- Sign-in replies never reveal whether an email has an account. Sign-in attempts are rate limited, and the limiter fails closed.
- Session cookies are signed, HttpOnly, Secure, and SameSite=Lax. Sessions end after 12 hours, or after 2 hours idle. Signing in issues a new session id.
How documents are read
- PDF text that is already in the file is copied out on our server with page numbers and page labels, and stored encrypted next to the file.
- In My Records, scanned or picture-only PDF pages and stored photos are read with the same on-server Tesseract OCR, up to 60 pages and 64 MB per file with a time budget per file. Words read this way are stored as OCR pages and every quote from them is marked "Read by OCR, check it". Pages past the limits are flagged as picture pages and are not read.
- Statement review also reads photos and scans with Tesseract OCR, running on our server. The English language data ships with the app and is loaded from disk, so no page image leaves the server. One OCR job runs at a time, with a time limit per page.
- Ask My Records and the Decision Letter Explainer match words against the stored text and published VA rules. They do not call a language model.
Outside services
- Condition search can send the typed search words to OpenAI, with identifiers taken out first, while that is switched on; the Privacy Center says so when it is. The only other outside AI call is the optional AI buttons. They are off unless we turn them on, run only when a veteran presses one and that account has tapped Allow, remove Social Security numbers and labeled VA file and claim numbers first, ask the provider not to store the chat (OpenAI does not train on API data by default but keeps it up to 30 days for abuse checks, so this is not zero retention), and have a daily limit per account and a monthly spending cap. They use a small built-in HTTPS client. Our pre-release checks still fail if a model library is added, and the OCR check fails if the server tries to reach the network.
- Outbound calls go only to: Resend (account emails and opt-in deadline reminders: recipient and message), Stripe (web checkout and billing), Apple (Sign in with Apple and App Store subscription checks), Google (Sign in with Google), and HeyCatch (three billing events: trial started, subscription started, canceled, keyed by an opaque account id with no email or name).
- On the live site, and in the iOS app (which loads the live site), browsers send analytics events to HeyCatch (in.heycatch.ai). The events are public page views and clicks, with element text and attributes masked. Each one carries a random device id. The SDK keeps that id in a first-party cookie and local storage for up to 365 days. Every page address it sends keeps only campaign tags, with emails removed, even when they are percent-encoded. This covers the current, previous, entry, first-seen and referrer addresses, in event and person properties. Addresses in signed-in areas (/app, /vso, /admin) are cut to the area root. Events inside signed-in areas are dropped in the browser before sending, except the sign-in identity update (account id, plan, signup date). Nothing is sent when Do Not Track or Global Privacy Control is on. The SDK also adds session headers (X-HeyCatch-Session-Id, X-HeyCatch-Window-Id, X-HeyCatch-Distinct-Id) to the site's own API calls; SDK 0.8.3 has no setting to turn them off, and our server ignores them.
- Railway hosts the server and its volume. Cloudflare is in front of the site. Browsers load fonts from Google Fonts.
- None of these services receive uploaded files or workspace data.
Logging and deletion
- An audit log records security events (sign-in, upload, delete, share, export) with opaque ids, a time, and an outcome. Emails, file names, and file contents are not written to it, and the log is encrypted like the rest of the store.
- Deleting a document removes the file and its saved text. Deleting an account removes the profile, files, saved text, and sessions for that account. We still keep the security log, Stripe and Apple billing records, and the Stripe customer record.
- Operator backups, when taken, are encrypted copies made with the same key.
- Product counts are first-party: a fixed list of event names (for example “homepage opened” or “first document uploaded”) kept as totals per day in an encrypted file. No account id, email, IP address, cookie, or page address is kept with them. Browser events are not sent when Do Not Track or Global Privacy Control is on (condition lookups and the Add tap still add to the day totals, with no ID or address), and test accounts are not counted.
What we don't claim
- No HIPAA, SOC 2, or FedRAMP certification is held or claimed.
- No independent penetration test has been completed. Reports go through the Security page.
- Not built yet: two-step sign-in codes, email sign-in links, a separate file storage service, and a network firewall rule in front of every server.