Security and privacy
Browser analysis and the local MCP keep source rows on your device. Neither requires an account, and no Crosstabs service accepts respondent files. Optional AI insights send only what you choose to OpenAI.
Last updated
The product boundary
There are no accounts. Browser and local MCP analysis keep files on your device.
The full boundaryHide detail
- There are no user accounts or sign-ups. Browser projects remain local; there is no server-side project storage or cloud sync.
- Files imported through the browser analysis app are parsed locally and are not uploaded to Crosstabs.
- Saved projects use versioned browser IndexedDB when available, with a localStorage compatibility fallback. You control deletion and backups.
- Portable .ctproj files let you back up or move a project without creating a server copy.
- The public statistical API accepts only the contingency-table aggregates explicitly included in a request. It does not accept or persist respondent rows or projects.
- Local MCP tools can analyze data from your own machine without sending project rows to a Crosstabs-operated data plane.
Warehouse connections
Warehouse imports run from your browser directly to BigQuery, Snowflake, Databricks, MotherDuck or Supabase with your own credentials. Crosstabs receives no credentials, queries or rows.
How warehouse connections are boundedHide detail
- Credentials live only in the tab's memory for the session. They are never placed in projects, browser storage, URLs, exports, logs or telemetry, and Forget, a completed import, or closing the tab discards them.
- Only a single read-only SELECT (or a PostgREST GET) is sent. This check is a convenience; the permissions of the account or token you supply remain the real control, so prefer read-only roles and keys.
- Supabase service-role and secret keys are refused because they bypass row-level security. Use the anon or publishable key, optionally with a signed-in user's token.
- The Content Security Policy allows connections only to the providers' fixed hosts or per-account subdomains (*.snowflakecomputing.com, Databricks workspace hosts, *.supabase.co), never to arbitrary origins. Google sign-in and MotherDuck's WebAssembly client load scripts from their own hosts only after you choose them.
- PostgreSQL, MySQL, SQL Server and Oracle cannot be reached from a browser; the local bridge runs those queries on your computer instead.
Local bridge
crosstabs connect is a program you run on your own computer. It reads a database table, survey-platform responses or a CSV folder and hands the result straight to the crosstabs.com window that opened it; no Crosstabs server sits in between.
How the bridge is protectedHide detail
- The bridge listens on 127.0.0.1 only and refuses requests whose Host header is not its own loopback address, which blocks DNS-rebinding pages.
- crosstabs.com never fetches the bridge. It opens the bridge's own page in a pop-up window, so no cross-origin, mixed-content or local-network subresource request is made from crosstabs.com.
- A one-time pairing code shown in your terminal must be typed into the bridge window before any source is listed. Five wrong codes replace the code.
- The bridge sends data only with postMessage addressed to the exact crosstabs.com origin, and the workspace accepts it only from the bridge window it opened, with a matching random nonce and SHA-256 checksum.
- Database credentials and survey-platform tokens come from environment variables you name or are typed into the bridge window and kept in its memory; they are never sent to crosstabs.com or put in a URL. Only single SELECT or WITH statements run, on a read-only session where the database supports one; use a read-only login for databases that do not.
- The bridge sends no CORS headers, uses a strict Content-Security-Policy, and stops after 30 minutes without use.
Optional AI insights
Optional AI insights send nothing until you click an AI button. Then only the content that button names goes from your browser through the crosstabs.com server and Vercel AI Gateway to OpenAI. Your file and respondent rows are never sent; the only respondent-written content that can be sent is the open-ended answers to one question, after you confirm that run.
How AI requests are boundedHide detail
- On Vercel the crosstabs.com server signs in to Vercel AI Gateway with a short-lived project token (OIDC) instead of a stored AI key, and the browser never receives a credential. AI insights are off unless the operator switches them on, and a server setting turns them off without a code change.
- The AI route accepts requests only from crosstabs.com pages, rejects oversized bodies, validates every request against a strict schema, and is never cached.
- Per-visitor hourly and daily limits, a daily cap on open-ended answers per visitor, and a site-wide daily cap limit use. The visitor's IP address is counted in server memory only.
- Labels, questions and answers are treated as untrusted data, not instructions, and the model's answer must match a strict schema. AI output is checked before it is shown: a finding that contains a number must quote a line of your computed table exactly, findings that cannot be verified are dropped, suggested variables must exist in your file, and AI open-end codes are proposals you review before anything is applied.
- Requests go through Vercel AI Gateway to OpenAI only, with prompt training disallowed and storage turned off (store: false). Crosstabs does not log or store prompts, answer text or AI results; see the privacy page for OpenAI's retention terms.
Operational telemetry
Logs and error reports exclude source rows, files, project contents and prompts, and analytics strips query strings and fragments. Telemetry is never used to rebuild an identity or a project history.
What telemetry may containHide detail
- Operational logs and error reports must exclude source rows, uploaded files, project contents, prompts, exports, and browser-storage values.
- Page analytics is disabled on aggregate snapshot routes and strips query strings and fragments before collection.
- Health and fixed-shape error endpoints may report coarse release, route, browser, and failure-category information needed to operate the public site. A browser error report may add the page path without its query, the open workspace mode, the error type, a short hash of the code location, the browser family and major version, and the interface language; never the error message, file names, variable names, labels or respondent values.
- Crosstabs does not use telemetry to reconstruct a user identity or a project history.
Your responsibilities
Back up important work as a .ctproj file, share links and exports only with people allowed to see them, and follow your organization's data policy.
All four responsibilitiesHide detail
- Keep a .ctproj backup if the work matters. Browser storage is convenient local storage, not a synchronized or encrypted backup service.
- Only share aggregate links and exports with people who are allowed to see their contents.
- Use your organization’s device, browser, and data-handling policy for sensitive datasets.
- Review methodology and disclosure notes before publishing a result; software cannot replace accountable research judgment.