What This Live Diagnostic Checks
All 10 Mozilla Observatory Security Headers
Scores HSTS preload, CSP, X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy, COOP, CORP, cookie flags, and RFC 9116 security.txt.
NEXT_PUBLIC_* Secret & Chunk Scanner
Scans live /_next/static/chunks/*.js assets against 52 credential patterns (Stripe live keys, OpenAI, Supabase service_role, AWS) so accidental client leaks are caught pre-launch.
Production Source Maps & X-Powered-By
Flags publicly reachable .js.map files and framework version disclosure headers that leak internal architecture.
Zero-Install CI Gate via curl /cli.sh
Enforce minimum security scores in GitHub Actions or local deploy scripts with --fail-below 85 using zero local npm dependencies.
Drop-In Next.js Production Security Headers (next.config.mjs)
// next.config.mjs (MIT baseline from zColdWater/vibe-security-checklist)
const securityHeaders = [
{ key: "Strict-Transport-Security", value: "max-age=63072000; includeSubDomains; preload" },
{ key: "X-Content-Type-Options", value: "nosniff" },
{ key: "X-Frame-Options", value: "DENY" },
{ key: "Referrer-Policy", value: "strict-origin-when-cross-origin" },
{ key: "Permissions-Policy", value: "camera=(), microphone=(), geolocation=()" },
{ key: "Cross-Origin-Opener-Policy", value: "same-origin" },
{ key: "Cross-Origin-Resource-Policy", value: "same-origin" },
];
export default {
poweredByHeader: false,
productionBrowserSourceMaps: false,
async headers() {
return [{ source: "/(.*)", headers: securityHeaders }];
},
};
Frequently Asked Questions
Does setting poweredByHeader: false and headers() in next.config.mjs work on Vercel?
Yes. Vercel automatically serves headers defined in next.config.mjs across routes. For per-request CSP nonces on dynamic pages, generate the nonce in middleware.ts and attach it to both the request and response Content-Security-Policy header.
Where can I grab matching configs for Vercel, Cloudflare, Netlify, and Supabase RLS?
Every config is free under the MIT license at zColdWater/vibe-security-checklist (https://zcoldwater.github.io/vibe-security-checklist/). For tailored line-level findings on your live site, VibeShield Web Pro is $2 once during Launch Special (was $9).
More Free Interactive Pre-Launch Tools
SPF 10-Lookup Checker
Check your domain's recursive RFC 7208 SPF DNS lookup count live in 2 seconds. Catch silent SPF PermError failures across Google...
DMARC p=reject Checker
Audit your _dmarc TXT policy, 24 DKIM selectors, MTA-STS TLS, DANE, BIMI, and 5 real-time DNSBLs in 2 seconds with zero login. M...
/llms.txt & AI Bot Validator
Validate /llms.txt, test 10 AI search crawlers (GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot), score Schema.org JSON-LD entit...
JS Secret Leak Scanner
Scan up to 24 production JavaScript bundles passively across 52 secret patterns (OpenAI, Stripe, AWS, Supabase service_role, Fir...
78-TLD & USPTO Checker
Check 78+ TLD availability via live IANA RDAP alongside live USPTO Class 009/042 trademark conflict screening, App Store/Play St...
Resend & Postmark DNS Checker
Verify your Resend, Postmark, SendGrid, or AWS SES transactional email DNS records live in 2 seconds: check SPF <=10 lookups, DK...
Google Workspace & M365 DMARC Audit
Audit your Google Workspace or Microsoft 365 domain's SPF, DKIM (google / selector1 / selector2), DMARC p=reject, and MTA-STS re...
AI Crawler robots.txt Checker
Test whether your robots.txt or WAF blocks GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, PerplexityBot, Google-Extended, and 4...
CSP Header Checker & Nonce Builder
Audit your live Content-Security-Policy header AST for unsafe-inline, wildcard script-src, missing frame-ancestors, and object-s...
CORS Misconfiguration Checker
Test your web app or API for dangerous Access-Control-Allow-Origin reflection, wildcard + credentials leaks, and missing COOP/CO...
BIMI, MTA-STS & TLS-RPT Checker
Inspect your domain's _mta-sts TXT record, HTTPS mta-sts policy file, _smtp._tls TLS-RPT reporting, BIMI brand logo SVG/VMC read...
Typosquatting & Lookalike Checker
Scan 28 high-risk DNSTwist lookalike, transposition, homoglyph, and phishing-prefix domains for your startup live via direct IAN...
Schema.org Entity Graph Validator
Score your live page's Schema.org JSON-LD @graph completeness (0-100) for ChatGPT Search, Perplexity, and Google AI Overviews. D...