Security
Sealed with a cherry.
Last updated
The short version
- HTTPS only, strict security headers, and no third-party code at all.
- Prices are set by the server, order links are signed, and we never handle cards.
- Found a problem? Email security@sprinklelab.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 never to fall back to plain HTTP.
- The server sets the price. Every order, quote and booking is checked again on our server against the real menu. Made-up options are turned away, and the price is always worked out from our own list, whatever the browser sends.
- No double bookings. Class seats and party times are claimed in a single step on the server, so two people can't both take the last seat.
- Signed order references. Each reference carries a cryptographic signature (HMAC-SHA-256 with a secret only the server knows), checked in constant time. Invented or edited references simply aren't found.
- Tidy live updates. The order tracker's live connection closes once your cake is delivered, or as soon as you leave the page, so nothing keeps running.
- 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; fonts are bundled with the site. See the privacy policy.
- Careful code. Dependencies are pinned in a lockfile, every commit is linted, and pricing, order checks, references and the live stream 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@sprinklelab.example with:
- what you found and where;
- 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 and keep you posted while we fix it. Please give us a reasonable chance to fix it before telling anyone else. The same details are at /.well-known/security.txt.
04Safe harbour
If you research in good faith and follow these guidelines, we won't pursue legal action against you over it. Please:
- only test with your own orders and details;
- don't try to view or change other people's orders;
- no denial-of-service, spam, or high-volume automated scanning;
- no social engineering or physical attempts against the shop or its people.
05Known limitations
Some limits we already know about, which won't be treated as new findings:
- An order link is its own key: anyone who has it can watch that order's tracker and see the cake design. There are no accounts, so share it like you'd share a parcel tracking link.
- Forms and the live tracker aren't rate-limited yet. On this demo nothing personal is stored or sent, and each tracker connection ends by itself within a minute.
- Seat and party-time counts live in the server's memory: they reset on restart, and separate server instances don't share them. A real shop would keep them in a database.
- The content security policy allows inline scripts, which Next.js needs to start each page while staying cacheable. All scripts must still come from this site.