Security
Kept under lock and key.
Last updated
The short version
- HTTPS only, strict security headers, and no third-party code at all.
- Prices are checked on the server, and we never handle card details.
- Found a problem? Email security@maisonlevain.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 double-checks everything. The Bread Club form is validated again on our server, step by step, whatever the browser says. Prices always come from our own plan list and delivery zones, so a tampered request can't change what you pay.
- 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.
- 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, delivery zones and dates 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@maisonlevain.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 details;
- 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
Some limits we already know about, which won't be treated as new findings:
- The Bread Club form isn't rate-limited yet. On this demo nothing is stored or sent, so repeated submissions have no effect.
- Unfinished form details sit in your browser's session storage until you join or close the tab; anyone with access to that browser tab could read them.
- 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.