{"slug": "show-hn-we-passively-audited-100-indie-apps-77-fail-dmarc-40-lack-headers", "title": "Show HN: We passively audited 100 indie apps (77% fail DMARC, 40% lack headers)", "summary": "A passive, read-only audit of 100 newly launched indie SaaS and AI-built web apps found that 77% fail DMARC email authentication and 40% lack HTTP security headers, with only 3% passing all four launch pillars. The study, covering apps built on Next.js, Vite, Lovable, Bolt, Cursor and Supabase, scored the median app at 51/100 versus 92+/100 for the top 3% cohort, with the largest gap (+58 points) in email authentication (SPF/DKIM/DMARC) and a +47 point gap in AI search readiness, where many apps ship no /llms.txt or block GPTBot, ClaudeBot and PerplexityBot via WAF 403 responses. The audit also flagged exposed .js.map source bundles and unguarded anonymous Supabase/Firebase tables, and published remediation templates including disabling production browser source maps, enabling row-level security, and moving DMARC from p=none to p=quarantine.", "body_md": "### Disable production browser source maps\n\nPrevents /_next/static/**/*.js.map from exposing full TypeScript sources and internal route structure to public scrapers.\n\n``` js\n/** @type {import('next').NextConfig} */\nconst nextConfig = {\n  productionBrowserSourceMaps: false,\n  poweredByHeader: false,\n};\n\nexport default nextConfig;\n```\n\nWe ran passive, read-only audits across 100 newly launched indie SaaS and AI-built web apps (Next.js, Vite, Lovable, Bolt, Cursor, Supabase). Most ship fast on modern hosts — and silently fail email authentication, HTTP hardening, and AI answer-engine discovery.\n\nShare of audited production domains failing each read-only launch check, alongside the 3% that pass all four pillars together.\n\nComposite pillar scores comparing the median newly launched indie app against the top 3% cohort passing all four launch gates.\n\n| Launch Pillar | Vibe-Coded / Indie Median (51/100) | Top 3% Production-Ready (92+/100) | Gap | \n|---|---|---|---|\n| Web Security & JS Bundles | 54/100 0-2 headers, exposed .js.map bundles, unguarded anon Supabase/Firebase tables. | 94/100 Strict CSP + HSTS preload, source maps disabled, zero client secrets, RLS locked. | +40 pts | \n| Email Auth (SPF / DKIM / DMARC) | 38/100 No _dmarc or p=none, unflattened SPF > 10 lookups, missing MTA-STS. | 96/100 p=quarantine/reject, aligned DKIM + SPF <= 10 lookups, clean across 20 DNSBLs. | +58 pts | \n| AI Search / GEO (llms.txt + WAF) | 44/100 No /llms.txt (or HTML 200 soft-404), WAF 403 blocking AI search crawlers. | 91/100 Clean /llms.txt + JSON-LD entity graph, GPTBot/ClaudeBot/PerplexityBot allowed. | +47 pts | \n| TLS, Brand & Transport Hygiene | 68/100 Missing HSTS preload, inconsistent redirects, unclaimed package/org handles. | 95/100 TLS 1.3 + HSTS preload, clean canonical redirects, primary domains & handles secured. | +27 pts | \n\nRun the exact same read-only 4-pillar audit on your own production domain in 30 seconds — no signup, no agent installation.\n\nTry a live domain:\n\nRead-only passive checks across TLS, HTTP headers, JS bundles, SPF/DKIM/DMARC, and AI search crawlers.\n\nProduction-tested templates covering the highest-frequency failure modes observed in the 100-app study.\n\nCloses unauthenticated PostgREST table dumps when NEXT_PUBLIC_SUPABASE_ANON_KEY is shipped in client bundles.\n\n```\n-- Lock down public tables accessed via NEXT_PUBLIC_SUPABASE_ANON_KEY\nALTER TABLE public.profiles ENABLE ROW LEVEL SECURITY;\n\nCREATE POLICY \"Users read own profile only\"\n  ON public.profiles FOR SELECT\n  USING (auth.uid() = id);\n```\n\nMoves your domain off p=none so Gmail, Yahoo, and enterprise filters verify aligned SPF/DKIM and block forged senders.\n\n```\n; DNS TXT record for _dmarc.yourdomain.com (TTL 300)\n; Start at p=quarantine, monitor RUA reports 14 days, then upgrade to p=reject\nv=DMARC1; p=quarantine; sp=quarantine; pct=100; adkim=r; aspf=r; rua=mailto:dmarc@yourdomain.com\n```\n\nEliminates the 0/5 header gap with HSTS preload, clickjacking protection, MIME sniffing locks, and strict Referrer-Policy.\n\n```\n{\n  \"headers\": [{\n    \"source\": \"/(.*)\",\n    \"headers\": [\n      { \"key\": \"Strict-Transport-Security\", \"value\": \"max-age=63072000; includeSubDomains; preload\" },\n      { \"key\": \"Content-Security-Policy\", \"value\": \"default-src 'self'; object-src 'none'; frame-ancestors 'none'\" },\n      { \"key\": \"X-Content-Type-Options\", \"value\": \"nosniff\" },\n      { \"key\": \"X-Frame-Options\", \"value\": \"DENY\" },\n      { \"key\": \"Referrer-Policy\", \"value\": \"strict-origin-when-cross-origin\" }\n    ]\n  }]\n}\n```\n\nGives ChatGPT, Claude, and Perplexity a factual, token-efficient summary of your product, docs, and pricing.\n\n```\n# YourApp — Concise Product Summary for AI Assistants\n\n> One-sentence factual description of what your app does, who it serves, and its primary live URL.\n\n## Core Pages\n- Documentation: https://yourdomain.com/docs\n- Pricing: https://yourdomain.com/#pricing\n- Security & Status: https://yourdomain.com/security\n```\n\nBlocks regressions on headers, leaked keys, DMARC, or AI crawlers before they hit production.\n\n```\nname: ShipBastion Pre-Launch Gate\non: [push, pull_request]\njobs:\n  audit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: zColdWater/shipbastion-action@v1\n        with:\n          url: https://yourdomain.com\n          fail-below-grade: B\n```\n\n", "url": "https://wpnews.pro/news/show-hn-we-passively-audited-100-indie-apps-77-fail-dmarc-40-lack-headers", "canonical_source": "https://shipbastion.com/benchmarks/100-indie-apps", "published_at": "2026-12-06 08:27:29+00:00", "updated_at": "2026-12-06 08:45:01.871912+00:00", "lang": "en", "topics": ["ai-crawlers", "generative-engine-optimization", "ai-search", "developer-tools"], "entities": ["Next.js", "Vite", "Lovable", "Bolt", "Cursor", "Supabase", "GPTBot", "ClaudeBot"], "also_reported_by": [], "takeaway": "Only 3% of 100 audited indie apps passed all four launch pillars; the median scored 51/100, with email auth (38/100) and AI search readiness (44/100) the weakest, so disable productionBrowserSourceMaps, set DMARC to p=quarantine, and serve a clean /llms.txt while allowing GPTBot and ClaudeBot.", "recommendation": {"advice": "Before launch, disable production browser source maps, lock Supabase tables with row-level security, publish a /llms.txt, and set DMARC to p=quarantine with aligned SPF/DKIM; the audit found only 3% of 100 apps passed all four checks.", "playbook": "production-ops", "playbook_url": "https://wpnews.pro/playbooks/production-ops"}, "alternates": {"html": "https://wpnews.pro/news/show-hn-we-passively-audited-100-indie-apps-77-fail-dmarc-40-lack-headers", "markdown": "https://wpnews.pro/news/show-hn-we-passively-audited-100-indie-apps-77-fail-dmarc-40-lack-headers.md", "text": "https://wpnews.pro/news/show-hn-we-passively-audited-100-indie-apps-77-fail-dmarc-40-lack-headers.txt", "jsonld": "https://wpnews.pro/news/show-hn-we-passively-audited-100-indie-apps-77-fail-dmarc-40-lack-headers.jsonld"}}