← Back to hafzen.com

Security

Last updated: October 18, 2026 · Machine-readable version: /.well-known/security.txt (RFC 9116)

Reporting a vulnerability

If you believe you've found a security issue in Hafzen, email [email protected] with a description, the affected URL or endpoint, and steps to reproduce. You can write in English or French.

  • Acknowledgement within 72 hours.
  • Initial assessment within 7 days, including severity and a remediation plan.
  • Coordinated disclosure: we ask for 90 days before any public disclosure; we'll keep you informed of progress.
  • We do not pursue legal action against good-faith research that respects this policy (safe harbor).

Scope

  • In scope: hafzen.com, app.hafzen.com, and their public APIs (including the MCP endpoint).
  • Out of scope: denial-of-service testing, social engineering, physical attacks, issues in third-party services (Stripe, Supabase, Vercel, Cloudflare) that don't result from our configuration, and automated scanner output without a demonstrated impact.

How we protect your data

  • Minimal by design. The free scan stores only a domain name and a score — no IP address, no cookies, no email. Anonymous benchmark data can't identify you.
  • Row-level security. Account data lives in Supabase with RLS enforced; service keys exist only on the server, never in the browser or in the repository. Every release runs an automated probe that confirms the anonymous role sees zero rows on every sensitive table.
  • Encrypted transport. HTTPS everywhere, with HSTS, TLS 1.2+, and strict security headers (CSP, frame protection, nosniff) on both properties.
  • Payments. Handled entirely by Stripe — card numbers never touch our servers. Webhooks are signature-verified, replay-deduplicated by event ID, and side effects are idempotent.
  • Beacon privacy. The Beacon snippet records only visits referred by AI assistants; all other traffic is discarded client-side before anything is sent.
  • Outbound-request hardening (SSRF). Every URL our crawler visits is DNS-resolved and required to be public; redirect hops are re-validated one by one; private ranges are rejected in every notation (decimal, hex, IPv6-mapped).
  • AI-content isolation. Crawled website text is treated as untrusted data inside delimited blocks — never as instructions to our AI pipeline (OWASP LLM01), with heuristic detection of hostile pages.
  • Abuse & cost protection. Public endpoints carry honeypots plus durable per-IP daily caps that survive serverless recycling.

Key management & rotation

  • Secrets live only in server-side environment variables (Vercel) — never in the repo; every packaged release is secret-scanned, and CI runs Gitleaks on every push.
  • Any key suspected of exposure is rotated within 24 hours (Supabase service role, Stripe webhook secret, Resend API key), and the incident is logged in the changelog if user-facing.
  • The marketing domain is being hardened to DMARC enforcement (p=quarantine → reject) so @hafzen.com can't be spoofed — treat any unexpected mail claiming to be us as suspect until then.

Acknowledgements

We're grateful to researchers who help keep Hafzen safe. Reporters who follow this policy will be thanked here (with their permission) once a report is resolved.

See also: Privacy Policy · Terms of Service · Changelog