GreenCalculusGreenCalculusSecurityGet a free key

Security & data handling

What we log, what we never store.

Written for whoever fills in the security questionnaire — the data we hold, the data we refuse to hold, and how long each lives. Where a claim has an automated check behind it, we say which.

Your calculation inputs are never stored

A calculation request — your activity data, your portfolio, your spend — is processed and discarded. The result is cached for six hours under a SHA-256 content hash so identical re-runs are free, and the hash is all that is kept: the body it was computed from is not retained by the edge worker, not written to its logs, and not audit-logged by the origin’s web application firewall, which is configured to record headers and never bodies.

This is checked by a machine, not remembered by a person. The deploy tooling probes the origin’s WAF audit configuration before every deploy and aborts if request bodies would be logged — so the pledge cannot silently rot under a config change. It has held through every deploy since the API launched.

Every claim here, and the check that owns it

A security page is easy to write and hard to keep true. Ours stays true because each claim is enforced by a machine that predates this page:

ClaimThe checkWhen it runs
Calculation bodies are never audit-loggedWAF audit-parts probe — aborts the deploy if bodies would be loggedBefore every deploy
One cookie, and only that oneCookie allowlist check across the page fleetEvery deploy
Account identity deleted two years after closureRetention sweepDaily
Every third party declared before it shipsProcessor gate (reads the dependency lockfile, not just hostnames)Every commit
This page still matches the running APIDocs-vs-API claims gateEvery deploy, both repos

What we do hold, and for how long

Only figures that have been verified against the running system are stated here. Where a vendor’s own retention is unconfirmed, we do not invent a number — the privacy policy names every processor and what each receives.

DataWhereHow long
API key recordsCloudflare KV (server-side)Until you revoke them. Rotation keeps the old key working for 72 hours so rotating is never an outage.
Account identity (your email)Cloudflare KVTwo years after account closure, then deleted — enforced by a daily retention sweep, not by intention.
Sign-in links & codesStored as SHA-256 hashes only15 minutes, single use.
SessionsA cookie scoped to this host only30-day sliding window, 90-day absolute cap.
Anti-abuse IP records (signup throttling)Cloudflare KV24 hours.
Calculation result cacheEdge cache, content-hash key6 hours.
API usage telemetryCloudflare Analytics EngineEvent-level counts under a hashed account id — pseudonymous, no request bodies, no IP addresses.

Keys and sign-in, mechanically

Sign-in is passwordless: a single-use emailed link (and code), token stored hashed, spent on use. The session it creates manages the account and is never accepted on a data route — a cookie cannot fetch a factor or run a calculation, by construction, in a separate module from key auth so no refactor can quietly merge the two. Creating a new key requires a signed-in session, never just a bearer key — if holding a key were enough to mint another, a stolen key could mint spares and revoking the original would not end the compromise. The last active key on an account cannot be revoked (you would be signed in with no credential); keys are addressed by their mask, and the full token is shown exactly once.

Cookies and analytics

Pages on this site set one cookie: a short-lived Cloudflare bot-filtering cookie (__cf_bm). There is no ad tech, no fingerprinting, and no cross-site anything. Website analytics are cookieless and EU-hosted (Umami); API usage analytics are the pseudonymous event counts described above. The cookie claim is enforced by an automated check that fails the build if a page ever sets one we have not declared.

Third parties

Every external service that touches data is named in the privacy policy, and the engineering side keeps its own processor inventory with a commit gate: adding a dependency or hostname that reaches a new external service blocks the commit until the processor is declared. That gate reads the dependency lockfile as well as the source, because the most important processor we use is reached through an SDK and appears in no hostname string.

Certifications, honestly

There is no SOC 2 report yet — this is a young product and we will not pretend otherwise. What exists instead, all inspectable without asking us: public per-factor verification pages, a status page whose uptime record refuses to extrapolate and is monitored from outside our own infrastructure, the processor gate above, the data changelog, and this page. Security questionnaires are answered directly by the operator — the enterprise page covers procurement.

Found something?

Email [email protected] with “Security report” in the subject, or use the contact page — either way it reaches the person who wrote the code, best-effort within one business day. There is no bug-bounty programme yet; we say that rather than let you discover it after the work.

Where next

⚖

Trust & continuity

Data rights, the redistribution matrix, and what happens to your integration if we disappear.

💼

Enterprise

The SLA we will and won’t sign, invoicing, and procurement — before the call.

§

Privacy policy

Every processor named, with what each receives and why.