Security templates
Copy-paste, customize-the-placeholders, ship in five minutes. Every template is intentionally short — a starting point, not a 40-page doc.
security.txt template (RFC 9116)
Copy-paste security.txt for your domain. Enables responsible disclosure, satisfies RFC 9116 compliance, gets indexed by vulnerability researchers.
Privacy Policy template — startup-friendly
A lawyer-reviewable starting point for a SaaS Privacy Policy. Not legal advice — customize and get counsel review before publishing. Plain language, GDPR + CCPA-aware.
Supabase RLS policy starter pack
Copy-paste RLS policies for the 5 most common Supabase table patterns: user-owned, tenant-scoped, admin-only, public-read, and audit-log. Default-deny at base.
Next.js security headers config
Copy-paste next.config.mjs with HSTS, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy configured correctly for production.
Secure Next.js middleware.ts template
Copy-paste Next.js middleware that enforces auth on protected routes, blocks CVE-2025-29927, adds security headers, and handles rate limiting.
AIBOM CycloneDX 1.6 template — EU AI Act Article 11 supplement
CycloneDX 1.6 AIBOM example with full machine-learning-model component including modelCard + datasets + performanceMetrics + ethicalConsiderations. Drop into your release pipeline; emit on every build alongside the standard SBOM.
Supabase Row-Level-Security policy bundle — every-table baseline
SQL bundle of canonical Supabase RLS policies covering: enable RLS on every table, default-deny baseline, per-user-owned-row policy, per-tenant-scoped policy with JWT claim, write-only audit-log policy, storage-bucket policies. Includes WRONG patterns (commented out) so you learn what NOT to ship.
Env-var hygiene template — Vercel / Netlify / Fly / Railway
Per-platform env-var setup with NEXT_PUBLIC_ guidance, secret-manager recommendations, and rotation cadence. Drop into your project README + reference from your DPA + SOC 2 evidence.
Penetration test scope-of-work + rules-of-engagement template
Pentest SOW + RoE template covering scope, methodology, allowed/disallowed targets, communication protocol, deliverables. Required by most enterprise security questionnaires; often required by SOC 2 Type 2.
Model card template — Google MLSE pattern + EU AI Act Article 13 mapping
Model card template per Google MLSE / Mitchell et al. 2019 pattern, with explicit mapping to EU AI Act Article 13 transparency requirements. Drop into your repo as MODEL_CARD.md; embed in CycloneDX AIBOM.