Security and privacy at Unit Checkup
Facts for owners, property managers and the organizations they work with when they review Unit Checkup's security. Each statement describes the service as it runs today, and we update this page when that changes.
At a glance
- Unit Checkup runs on Cloudflare Workers. Records are in a Cloudflare D1 database, videos and photos in a private Cloudflare R2 bucket, and analysis jobs in Cloudflare Queues.
- The site is served over HTTPS, and Cloudflare encrypts the database and stored files at rest.
- There are no passwords. You sign in with a one-time email link or 6-digit code that works once and expires after 15 minutes.
- Each owner can open only their own checks, videos, photos and findings.
- Videos and photos are deleted automatically within 30 days after a check finishes. Other check records are kept no longer than 12 months.
- Media is analyzed by Google's paid Gemini API. Under Google's terms for paid services, Google does not use it to improve its products.
- We do not have a SOC 2 report yet.
- To report a security issue, email support@unitcheckup.com with "Security" in the subject line (how to report).
Hosting and where data is stored
The application is a Cloudflare Worker. Account details, unit details and findings are stored in a Cloudflare D1 database. Videos and photos are stored in a Cloudflare R2 storage bucket that has no public address: files are reachable only through our application. Background analysis runs through Cloudflare Queues, and sign-in and results emails are sent with Cloudflare's email service.
When we read our Cloudflare settings on December 1, 2026, the D1 database ran in Cloudflare's Eastern North America region (ENAM) and the R2 bucket was located in Eastern North America (ENAM). We have not set a Cloudflare data jurisdiction, such as the EU jurisdiction, on either one. Requests are handled on Cloudflare's network, and Cloudflare and Google may process information in the United States and in other countries where they operate, as our Privacy Policy says.
Encryption
- In transit. The site is served over HTTPS with certificates Cloudflare manages. Every page and API response from our application carries a Strict-Transport-Security header with a lifetime of 365 days, including subdomains, so browsers use HTTPS for every later visit. According to Cloudflare, traffic between a Worker and its D1 database is protected with TLS.
- At rest. According to Cloudflare's documentation, D1 encrypts databases and R2 encrypts stored objects and their metadata with AES-256 in GCM mode, using keys Cloudflare manages (D1 data security, R2 data security).
- Secrets. API keys and signing secrets are stored as Cloudflare Worker secrets, never in our source code.
Sign-in and sessions
- There are no passwords to steal or reuse. You sign in with a one-time link or a 6-digit code that we email to you.
- Each link and code works once and expires after 15 minutes. A code stops working after 5 wrong guesses, and we send at most 5 sign-in emails an hour and 10 a day to one address.
- We store only a SHA-256 hash of each sign-in link and a keyed hash (HMAC) of each code, never the link or code itself.
- The sign-in form is protected by Cloudflare Turnstile and per-client rate limits.
- A session is one cookie,
uc_s, holding 32 random bytes. It is marked HttpOnly, Secure and SameSite=Lax, and we store only its SHA-256 hash. Signing in always starts a new session. - Sessions end 30 days after they start or were last renewed, are renewed while you use the site, and never last more than 90 days after sign-in. Signing out deletes the session, and "Sign out everywhere" on the account page ends every session on the account.
Access control
- Every account page and API request checks that the signed-in owner owns the check, recording or finding it asks for. Another owner's IDs get a "not found" answer. Automated tests try other owners' IDs against these routes.
- Videos and photos stream only through signed-in routes that check ownership. Those responses are marked private and not cacheable, and other sites cannot embed them.
- The admin console uses its own secret token of at least 32 characters, compared in constant time and rate limited. After sign-in it sets a signed cookie that is sent only to the admin console and lasts 12 hours.
Application security
- Content Security Policy. Pages load scripts and styles only from our own domain, plus Cloudflare Turnstile's bot check. The policy allows no inline scripts or styles, blocks plugins, and stops other sites from framing our pages.
- Cross-site request forgery. Every request that changes data must come from our own pages, checked by its Origin header, or by its Sec-Fetch-Site or Referer header when a browser leaves Origin out. The one exception is the payment webhook, which is verified by its signature instead.
- Rate limits. Sign-in, the free photo check and the API have per-client limits, keyed by a keyed hash of the IP address rather than the address itself.
- Bot protection. Sign-in and the free photo check use Cloudflare Turnstile. Our server verifies each token and checks that it was issued for our site and for that form.
- Other headers. Responses send X-Content-Type-Options: nosniff, a strict Referrer-Policy, Cross-Origin-Opener-Policy: same-origin and X-Frame-Options: DENY. A Permissions-Policy turns off the microphone, location and other device features, and allows the camera only on the pages that take photos or video.
- Uploads. Uploads are limited by file type and size, and they go through our application into private storage.
- Logs. Our application logs record IDs, timings and errors, never the content of your media and never API keys. Workers Logs, Cloudflare's log of our Worker, drops the query string from each request address, so one-time sign-in links are not stored there.
AI processing
To analyze a check, we send its videos and photos, with the unit details the analysis needs, to Google's Gemini API. We do not send your email address, the street address, the unit nickname, your housing authority, the voucher type or your answer about children under 6. When we checked Google's terms on December 1, 2026:
- We use Google's paid Gemini API service. The Gemini API Additional Terms of Service say that for paid services Google does not use prompts (including images and videos) or responses to improve its products.
- We delete each file from Google as soon as its analysis is finished. Google's Files API documentation says such files are deleted automatically after 48 hours in any case.
- Request logging in the Google project we use is turned off, so Google AI Studio keeps no request logs of your checks for us (logs policy).
- Google keeps prompts and responses for 55 days to detect abuse and meet legal duties, and authorized Google staff may review content its safety systems flag (abuse monitoring).
- We do not use your videos or photos to train AI models.
Data retention
| Data | How long we keep it |
|---|---|
| Videos and photos from a check | Deleted automatically no later than 30 days after the check finishes processing, or 30 days after upload for a check that is never submitted. Deleting a check removes them right away. |
| Unit details, findings, your decisions, repair photos and re-check results | Until you delete the check or your account, and no longer than 12 months after the check was created. |
| Free photo check | Photos are never stored. The written result and a keyed hash of the IP address are kept up to 12 months. |
| Files sent to Google for analysis | Deleted from Google as soon as the analysis is finished. Google's abuse-monitoring copies are kept up to 55 days. |
| Account email address | Until you delete your account. Then it is replaced with a keyed hash. |
| Sign-in links, codes and sessions | Links and codes expire after 15 minutes. Sessions expire 30 days after they start or were last renewed, and never more than 90 days after sign-in. Expired records are deleted within 30 days. |
| Technical logs at Cloudflare | Up to 7 days (Workers Logs). |
| Database recovery history | Up to 30 days (see Backups below). |
The Privacy Policy has the full list, including the cost records we keep after a check is deleted.
Backups and recovery
Cloudflare D1 keeps a point-in-time history of our database called Time Travel. It is always on, and on our Workers Paid plan it can restore the database to any minute in the last 30 days (Time Travel and backups). Deleted database records can therefore stay in that history for up to 30 days before they are overwritten. We keep no separate copies of videos and photos, so once they are deleted from storage they cannot be restored.
Secure development
- Every change pushed to our main branch or opened as a pull request runs type checks, our automated test suite and a production build in GitHub Actions. The code is TypeScript in strict mode.
- The test suite runs in Cloudflare's own runtime and includes security regression tests for cross-site request forgery, access to other owners' data, security headers and sign-in abuse. Browser tests with Playwright include automated accessibility checks.
- Our pipeline also runs gitleaks secret scanning, OSV-Scanner dependency scanning, Semgrep CE static analysis and zizmor checks of our GitHub workflows. It builds a software bill of materials (SBOM), Dependabot proposes dependency updates, and an OWASP ZAP baseline scan of the live site runs every week.
Service providers
These providers process personal information for us. The list matches our Privacy Policy.
| Provider | What it does for us |
|---|---|
| Cloudflare, Inc. | Website hosting, database, file storage, background processing, email delivery, bot protection (Turnstile) and security. |
| Google (Gemini API) | AI analysis of videos and photos, as described above. |
| Our email inbox provider | Stores the messages you send to support@unitcheckup.com and our replies. |
| Stripe, Inc. | Not used during the free pilot. Only after paid plans start, to process payments. We will update our Privacy Policy before that happens. |
Compliance status
We do not have a SOC 2 report yet. We hold no ISO 27001 certificate or FedRAMP authorization, and we have not had an independent penetration test. If your organization needs answers to a security questionnaire, email support@unitcheckup.com and we will answer from the facts on this page.
Accessibility
We aim to meet the Web Content Accessibility Guidelines (WCAG) 2.2 at Level AA. Our accessibility statement lists what we do, known limits and how to tell us about a barrier.
Report a security issue
If you think you have found a security problem in Unit Checkup, email support@unitcheckup.com with "Security" in the subject line. Our security.txt file lists the same contact.
Please include:
- the page address or API endpoint involved;
- what you found and what someone could do with it;
- steps to reproduce it, using only your own account and test data;
- your name or handle, if you would like us to know who found it.
Please do not:
- access, change or delete anyone else's data, or keep any you see by accident;
- run denial-of-service or load tests, or anything else that degrades the service for others;
- use social engineering, phishing or physical attacks against our users, our providers or us.
We acknowledge every report within 3 business days. We do not offer a bug bounty.
Sources
Outside documents this page relies on, with the date we read each one.
- Cloudflare D1 documentation: Data security (encryption at rest and in transit)
- Cloudflare R2 documentation: Data security (encryption at rest and in transit)
- Gemini API Additional Terms of Service (effective March 23, 2026)
- Gemini API: Files API (files deleted automatically after 48 hours)
- Gemini API: Logs policy (project request logs)
- Gemini API: Abuse monitoring (55-day retention)
- Cloudflare Workers documentation: Workers Logs (retention)
- Cloudflare D1 documentation: Time Travel and backups
- RFC 9116: A File Format to Aid in Security Vulnerability Disclosure