Trust

Security

How a site is built decides most of how it can be attacked, so this page describes the architecture first and the controls second. Each statement was checked against the code and against the headers the site serves; if one ever disagrees with what you observe, the statement is what is wrong, and we would like to hear about it.

  • 8Sections
  • 5 minReading time

How the site works

Every page is a static file, written once when the site is built and served by Cloudflare from an assets-only Worker. There is no application server behind the pages, no database, no user account, no sign-in of ours and no upload to us. The calculators, the drawing tools and the project workspace are code that runs in your browser.

The one dynamic part is the calculation service at api.craftquantities.com, which programs and AI assistants call. It is a separate Worker with its own deployment, so a fault in one cannot break the other. It holds no storage of any kind: a request is computed, answered and forgotten, and request logging is switched off in its configuration.

What never reaches a server of ours

Your measurements, projects, prices, notes, photographs and sensor readings are processed in the page and stored in your browser. No page sends them anywhere — the one exception being a copy you ask for with Save with Google, which goes to your own Google Drive and not to us. There is therefore no log of your inputs to leak, subpoena or lose, because none is ever received.

A result link you share carries its figures after the # in the address. Browsers do not send that part of an address to any server, so opening a shared link does not deliver the figures to us either.

Cloudflare, as the host, handles each request in order to deliver it — the address of the page and the network address of the browser asking for it — as any host does, under its own terms. That is the extent of what passes through infrastructure on the site's behalf.

Your data in your browser

What the site remembers lives in your browser's storage for this site: localStorage and IndexedDB. Other websites cannot read it; anyone who can use your browser profile can. On a shared or managed computer, use a private window or clear the site's data when you finish. The backup file you can download in Settings is an ordinary file, as safe as the place you keep it.

What Save with Google stores

Save with Google asks Google for one narrow permission, drive.appdata: a hidden folder in your own Google Drive that only this site can open, and no access to any other file. It keeps one file there — what the Settings backup holds: your projects, prices, saved estimate versions and the like, never the site's admin settings and never your sign-in.

The file travels between your browser and Google directly; no server of ours is in between and we cannot read it. Your Google sign-in is held in the tab's memory only and is gone when the tab closes. Disconnect in Settings stops it and withdraws access; Delete my Drive copy removes the file. The privacy policy has the full account.

The headers every page carries

Every response carries a Content-Security-Policy, the instruction that tells your browser what a page may load and where it may connect. While no advertising or analytics is configured — the state the site is in today — the policy allows scripts only from this site (the few inline ones by their exact hash) and Google's sign-in script, forbids plugins, lets forms submit only to this site, refuses to let any other site frame these pages, and allows outbound requests to two Google addresses only — the sign-in script and those addresses are used only after you press Save with Google. Every other request a page might attempt is refused by your browser.

Alongside it: Strict-Transport-Security, so browsers only ever reach the site over HTTPS (and the domain is eligible for browsers' preload lists); X-Content-Type-Options: nosniff; a Referrer-Policy that tells other sites only this site's address, never the page you were on; a Cross-Origin-Opener-Policy; and a Permissions-Policy that allows the camera, microphone and motion sensors to this site only — for the field tools, and only after your browser asks you — and refuses geolocation, payment and USB outright.

Four places carry a different policy, each for a stated reason and each written into the headers where you can read it. The service worker may fetch this site's own files, so the site works offline. The quote reader's worker may compile WebAssembly and fetch its language model from this site. The embeddable calculator frame may be framed by other sites, which is what it is for, and carries no advertising and no connection to anywhere. And the status page may connect to this site and to the calculation service, to check that both answer.

The build writes these headers from the same configuration the pages are written from, and its audit fails if the strict policy loses its connection rule, so a header that disagrees with this page cannot ship without someone noticing.

Dependencies

The code that runs in your browser depends on 14 open-source packages — React and its router, the icon set, PDF and QR-code libraries, the OCR engine and its English model, a zip library and a document-sync library — and the build adds its own tools. Every version is pinned in a lockfile, and installs reproduce exactly those versions rather than whatever is newest that day.

Everything is bundled and served from this site's own origin, fonts included. The only script fetched from elsewhere is Google's sign-in script, and only when you press Save with Google. No page loads a script from a public CDN, so a compromised third-party host cannot change what runs here.

Updates are made by hand and tested before release. There is no automated vulnerability alerting on the dependency list yet; that is a gap, and it is stated here rather than implied away.

Reporting a vulnerability

If you find a security problem, please write to contact@craftquantities.com before telling anyone else. The address is also published, with its scope, in the site's security.txt file at /.well-known/security.txt, in the standard format (RFC 9116) that security tools look for.

The surface worth testing is the client: script injection through an imported project file, the calculator address and its query string, or anything else that reaches the page; and, for the calculation service, its inputs. Please do not run load tests against the calculation service, and please give us a reasonable chance to fix a problem before publishing it.

There is no bug bounty. Every report is read by the people who build the site, and a confirmed problem is fixed and recorded.

What this page does not claim

The site holds no security certification — no SOC 2 report, no ISO 27001 — and no independent penetration test has been commissioned. What is described above is the design and the controls, checked by the people who built them. For most of what a certification would examine — stored customer data, access to it, its retention — the honest answer here is that there is none.

Trust

Site information