Security overview
Transport and browser safety
Ration is served over HTTPS. The app sets strict Content Security Policy and related headers to reduce common web risks (for example clickjacking and MIME sniffing). Payment scripts load only from trusted payment providers as configured.
Authentication
Users sign in with magic link email and/or Google OAuth (whatever the live app exposes). Sessions are validated on each protected request server-side—there is no “trust the browser” shortcut for private data.
Authorization and multi-tenancy
Kitchen data (Cargo, Galley, Manifest plan, Supply, credits) is isolated per organization. Personal nutrition goals and intake are private to the signed-in user—other members never see them. Switching the active group changes kitchen surfaces, not who owns your diary. See Key concepts and tenancy classes.
Data is partitioned by organization. Queries always anchor on the verified session’s active organization or a scoped API key—not on arbitrary IDs from the client. Vector search uses per-organization namespaces so semantic results cannot leak across groups.
API keys
Programmatic keys are stored as hashes; you see the plaintext once at creation. Comparisons use constant-time checks to reduce timing side channels.
AI app connections (MCP)
AI apps connect through OAuth with PKCE, and every connection needs your sign-in, a household choice and your approval. The approval screen shows only details Ration signed itself, labels an app that registered itself as Unverified app, and shows where approving will send you. New apps can't register script, data or local-file addresses, or plain http outside your own computer. Apps that never got approval are cleared out over time. Some apps, such as VS Code and Claude Code, identify themselves with a small public document on their own website instead of registering; the approval screen then shows Published by that website, and warns you if the app would send you to a different site. Ration fetches those documents carefully: only from public https websites, never following redirects, with a short timeout and a small size limit.
Rate limiting
Sensitive endpoints (AI, search, auth, public share links, MCP) use rate limits backed by global counters so abuse cannot silently exhaust your bill or neighbors’ stability. Some layers fail open if the counter store is unavailable—availability first, with logging for operators.
Ask Ration copilot
Ask Ration is first-party. It runs on Cloudflare Workers, Workers AI, Durable Objects, and AI Search rather than a third-party messenger. Each connection is authenticated as the signed-in user:
- Web uses the existing Better Auth session cookie.
- iOS uses the mobile Bearer token issued by Ration.
- Every tool call is scoped to the verified active organization and audited without message text.
The copilot cannot perform AI receipt scanning or recipe URL import inside chat — those stay on native Scan / Galley Import. Inventing a recipe or filling a week uses credit-free kitchen tools (create_meal, propose_manifest_plan). Paid Gemini Generate / Plan Week remain on their native screens with existing consent, rate-limit, and credit gates.
Payments
Stripe processes cards; Ration verifies signed webhooks and uses idempotency so duplicate events do not double-credit.
What we do not claim here
This article is a high-level summary, not a certification letter. For contractual or compliance wording, use your order form, DPA, and legal pages on the site.
If you need SOC2/ISO specifics, ask sales or support for official documents—do not infer from this hub.