SecurityLocked like
Locked like
the flour store
Last updated
The short version
- HTTPS only, strict security headers, and no third-party code at all.
- Prices and bookings are checked on the server, and we never handle card details.
- Found a problem? Email security@crumbworks.example; we'll reply within 3 working days.
01How we protect you
- HTTPS everywhere. Pages are only served over an encrypted connection, and browsers are told to never fall back to plain HTTP.
- The server double-checks everything. Every form is validated again on our server, whatever the browser says. Prices are always worked out on the server from our own menu, so a tampered request can't change what you pay.
- Fully booked means fully booked. Class seats are reserved in a single server-side step, so two people can't buy the last seat at once.
- No card details, ever. We don't take payments online, so there are no card numbers here to steal.
- Nothing third-party. No analytics, ads or external scripts: the only code that runs is ours. Fonts are bundled with the site too.
- Very little data. We keep as little as possible; see the privacy policy.
- Careful code. Dependencies are pinned in a lockfile, every commit is linted automatically, and pricing and booking are covered by automated tests.
02Security headers
Every response carries these HTTP headers:
Content-Security-Policy: Only scripts, styles, images and fonts from this site can load, and no other site can frame it.Strict-Transport-Security: Browsers that have visited once will only ever connect over HTTPS.X-Content-Type-Options: Stops browsers guessing file types, which blocks a class of script-injection tricks.Referrer-Policy: Other sites you click through to see only our domain, never the page you were on.X-Frame-Options: Older browsers also refuse to show the site inside another page (clickjacking).Permissions-Policy: The site can't ask for your camera, microphone, location or payment APIs, and opts out of ad-topic tracking.Cross-Origin-Opener-Policy: Pages from other sites can't keep a handle on this window after opening it.
Show the exact values
- Content-Security-Policy
default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' blob: data:; font-src 'self'; connect-src 'self'; object-src 'none'; base-uri 'self'; form-action 'self'; frame-ancestors 'none'; upgrade-insecure-requests- Strict-Transport-Security
max-age=63072000; includeSubDomains- X-Content-Type-Options
nosniff- Referrer-Policy
strict-origin-when-cross-origin- X-Frame-Options
DENY- Permissions-Policy
camera=(), microphone=(), geolocation=(), payment=(), usb=(), browsing-topics=()- Cross-Origin-Opener-Policy
same-origin
03Reporting a vulnerability
Found something? Thank you. Email security@crumbworks.example with:
- what you found and where (the page or URL);
- steps to reproduce it, and what an attacker could do with it;
- how you'd like to be credited, if at all.
We aim to reply within 3 working days, keep you posted while we fix it, and credit you once it's resolved if you'd like. Please give us a reasonable chance to fix it before telling anyone else.
The same contact details are published in machine-readable form at /.well-known/security.txt.
04Safe harbour
If you research in good faith and follow the guidelines below, we won't pursue legal action against you over it. Please:
- only test against your own bag, orders and bookings;
- don't access, change or delete anyone else's data;
- no denial-of-service, spam, or high-volume automated scanning;
- no social engineering or physical attempts against the bakery or its people.
05Known limitations
In the spirit of honesty, some limits we already know about. Reports about these won't be treated as new findings:
- Forms aren't rate-limited yet, so they can be submitted repeatedly. On this demo nothing is stored or sent, so the impact is limited to class seat counts.
- Class seat counts live in server memory and reset when the server restarts; a real deployment would use a database.
- The content security policy allows inline scripts, which Next.js needs to start each page while staying fully cacheable. All scripts must still come from this site.