<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <title>AuthPosture by RungLab — OAuth 2.1, OIDC PKCE, RFC 9728 MCP Auth, Passkey &amp; Session Cookie Auditor</title>
  <meta
    name="description"
    content="Instant OAuth 2.1, OIDC PKCE S256, RFC 9728 MCP Auth, WebAuthn Passkey &amp; Session Cookie Security Auditor across 6 deterministic checks (0-100) + $39 6-File Hardening Fix Pack."
  />
  <link rel="canonical" href="https://auth.runglab.dev/" />
  <meta property="og:type" content="website" />
  <meta property="og:title" content="AuthPosture by RungLab — OAuth 2.1, Passkey &amp; Session Cookie Auditor" />
  <meta
    property="og:description"
    content="Audit OAuth 2.1 PKCE S256, RFC 9728 MCP Auth, WebAuthn Passkeys, __Host- Session Cookies, COOP, HSTS &amp; Anti-Phishing DNS live or via Paste Artifacts + $39 6-File Fix Pack."
  />
  <meta property="og:url" content="https://auth.runglab.dev/" />
  <meta property="og:image" content="https://auth.runglab.dev/og-card.png" />
  <meta property="og:image:width" content="1200" />
  <meta property="og:image:height" content="630" />
  <meta property="og:image:alt" content="AuthPosture by RungLab — OAuth 2.1, Passkey &amp; Session Cookie Auditor" />
  <meta name="twitter:card" content="summary_large_image" />
  <meta name="twitter:title" content="AuthPosture by RungLab — OAuth 2.1, Passkey &amp; Session Cookie Auditor" />
  <meta name="twitter:description" content="Audit OIDC PKCE S256, RFC 9728 MCP Auth, Passkeys, Session Cookies &amp; DMARC/SPF live or zero-network offline + $39 6-File Fix Pack." />
  <meta name="twitter:image" content="https://auth.runglab.dev/og-card.png" />
  <link
    rel="icon"
    type="image/svg+xml"
    href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='14' fill='%230b0e14'/%3E%3Crect x='4' y='4' width='56' height='56' rx='11' fill='%2310b981' fill-opacity='0.16' stroke='%2310b981' stroke-width='3'/%3E%3Ctext x='32' y='41' text-anchor='middle' font-family='monospace' font-size='22' font-weight='800' fill='%2310b981'%3EAP%3C/text%3E%3C/svg%3E"
  />
  <link rel="alternate" type="text/markdown" href="/llms.txt" title="LLMs Guide" />
  <link rel="alternate" type="text/markdown" href="/llms-full.txt" title="LLMs Full Reference" />
  <link rel="openapi" type="application/json" href="/openapi.json" title="OpenAPI 3.1.0 Specification" />
  <link rel="service-desc" type="application/json" href="/openapi.json" title="OpenAPI 3.1.0 Specification" />
  <link rel="api-catalog" type="application/linkset+json" href="/.well-known/api-catalog" title="RFC 9727 API Catalog" />
  <link rel="agent-card" type="application/json" href="/.well-known/agent-card.json" title="A2A Agent Card" />
  <link rel="ard" type="application/json" href="/.well-known/ard.json" title="ARD Discovery Manifest" />
  <link rel="stylesheet" href="styles.css" />
  <script type="application/ld+json">
  {
    "@context": "https://schema.org",
    "@graph": [
      {
        "@type": "Organization",
        "name": "RungLab",
        "url": "https://runglab.dev/",
        "email": "support@runglab.dev",
        "sameAs": [
          "https://auth.runglab.dev",
          "https://cra.runglab.dev",
          "https://access.runglab.dev",
          "https://consent.runglab.dev",
          "https://pci.runglab.dev",
          "https://ai50.runglab.dev",
          "https://trust.runglab.dev",
          "https://webhook.runglab.dev"
        ]
      },
      {
        "@type": "SoftwareApplication",
        "name": "AuthPosture",
        "applicationCategory": "DeveloperApplication",
        "operatingSystem": "Web",
        "url": "https://auth.runglab.dev/",
        "creditText": "AuthPosture OAuth 2.1, Passkey & Session Cookie Auditor by RungLab (support@runglab.dev)",
        "description": "Deterministic 100-point authentication security auditor covering OAuth 2.1 & OIDC PKCE S256 (20 pts), RFC 9728 MCP Auth (15 pts), Passkey / WebAuthn UX (15 pts), Session Cookies & COOP (20 pts), Transport & Clickjacking (20 pts), and Anti-Phishing DNS (10 pts) + $39 6-File Hardening Fix Pack.",
        "offers": {
          "@type": "Offer",
          "name": "AuthPosture $39 6-File Hardening Fix Pack",
          "price": "39.00",
          "priceCurrency": "USD",
          "url": "https://www.creem.io/product/prod_4coGvBvXYsjQ9lwgSTvig3"
        },
        "publisher": {
          "@type": "Organization",
          "name": "RungLab"
        }
      },
      {
        "@type": "FAQPage",
        "mainEntity": [
          {
            "@type": "Question",
            "name": "What does AuthPosture audit across OAuth 2.1, Passkeys, and Session Cookies?",
            "acceptedAnswer": {
              "@type": "Answer",
              "text": "AuthPosture executes 6 deterministic checks (0-100): OIDC/OAuth 2.1 PKCE S256 Discovery (20 pts), RFC 9728 OAuth Protected Resource & MCP Auth Readiness (15 pts), Passkey / WebAuthn & Password UX Standards (15 pts), Session Cookie & Cross-Origin Isolation (20 pts), Auth Transport & Clickjacking Defense (20 pts), and Anti-Phishing DNS CAA/DMARC/Single SPF (10 pts)."
            }
          },
          {
            "@type": "Question",
            "name": "Can I audit private OIDC discovery JSON, Set-Cookie headers, or staging login HTML offline?",
            "acceptedAnswer": {
              "@type": "Answer",
              "text": "Yes. Use Paste Artifacts Mode (POST https://auth-api.runglab.dev/api/audit-html) to inspect OIDC/OAuth discovery JSON, RFC 9728 protected-resource JSON, raw HTTP headers with Set-Cookie, and login HTML with zero outbound requests."
            }
          },
          {
            "@type": "Question",
            "name": "What is included in the $39 AuthPosture 6-File Hardening Fix Pack?",
            "acceptedAnswer": {
              "@type": "Answer",
              "text": "The $39 one-time Fix Pack delivers 6 tailored production files: 01-auth-posture-gap-report.md, 02-oauth21-oidc-pkce-hardening.json, 03-session-cookie-and-headers-config.md, 04-passkey-webauthn-rollout.md, 05-magic-link-dmarc-spf-dns.txt, and 06-ci-auth-posture-guard.mjs."
            }
          }
        ]
      }
    ]
  }
  </script>
  <script type="module" src="app.js"></script>
</head>
<body>
  <a class="skip-link" href="#main-content">Skip to main content</a>
  <header class="site-header">
    <div class="container header-inner">
      <a class="brand" href="#main-content">
        <span class="brand-mark">AP</span>
        <span>AuthPosture <span class="brand-sub">by RungLab</span></span>
      </a>
      <nav class="nav-links" aria-label="Primary">
        <a href="#auditor">Auditor</a>
        <a href="#policy-configurator">OAuth 2.1 Lab</a>
        <a href="#pillars">100-Pt Rubric</a>
        <a href="https://runglab.dev" target="_blank" rel="noopener noreferrer">RungLab</a>
        <a href="https://cra.runglab.dev" target="_blank" rel="noopener noreferrer">CRAReady</a>
        <a href="https://access.runglab.dev" target="_blank" rel="noopener noreferrer">AccessCheck</a>
        <a href="https://trust.runglab.dev" target="_blank" rel="noopener noreferrer">TrustCenter</a>
        <a class="nav-cta" href="https://www.creem.io/product/prod_4coGvBvXYsjQ9lwgSTvig3" target="_blank" rel="noopener noreferrer">$39 Fix Pack</a>
        <button type="button" class="nav-free-cta" data-oc-scroll-lead aria-label="Not ready to buy? Get 1 tailored AuthPosture sample file free ($0 upfront)" title="Not ready to buy? Get 1 tailored AuthPosture sample file free ($0 upfront)">Free Sample ($0)</button>
      </nav>
    </div>
  </header>

  <main id="main-content" tabindex="-1">
    <section class="hero" id="auditor">
      <div class="container">
        <div id="order-confirmation-banner" class="order-banner hidden" role="status">
          <div class="order-banner-copy">
            <strong>Payment Return Received — Verifying your Creem order...</strong>
            <span>
              We are confirming your Creem checkout completion for the AuthPosture $39 6-File Hardening Fix Pack.
              To confirm your target domain immediately for 15-minute delivery, email your target URL/domain and Creem receipt email to
              <a href="mailto:support@runglab.dev?subject=AuthPosture%20%2439%20Fix%20Pack%20Target%20Confirmation">support@runglab.dev</a>
              (if you did not already supply it in the checkout form).
            </span>
          </div>
          <button type="button" id="dismiss-order-banner-btn" class="btn btn-secondary btn-sm">Dismiss</button>
        </div>

        <div class="eyebrow">
          <span class="dot" aria-hidden="true"></span>
          <span>OAuth 2.1 · OIDC PKCE S256 · RFC 9728 MCP Auth · WebAuthn Passkeys · __Host- Session Cookies</span>
        </div>
        <h1>Audit OAuth 2.1, Passkey &amp; Session Cookie security in 3 seconds.</h1>
        <p class="hero-sub">
          Verify <strong>OIDC / OAuth 2.1 PKCE S256 (20 pts)</strong>,
          <strong>RFC 9728 MCP Auth Readiness (15 pts)</strong>,
          <strong>Passkey &amp; WebAuthn UX (15 pts)</strong>,
          <strong>__Host- Cookies &amp; COOP Isolation (20 pts)</strong>,
          <strong>Auth Transport &amp; Clickjacking (20 pts)</strong>, and
          <strong>Anti-Phishing DNS CAA/DMARC/SPF (10 pts)</strong> — live or zero-network offline.
        </p>

        <div class="audit-form panel">
          <div class="mode-tabs" role="tablist" aria-label="Audit mode">
            <button type="button" id="tab-live-mode" class="mode-tab active" role="tab" aria-selected="true">
              Live URL Audit (GET /api/audit)
            </button>
            <button type="button" id="tab-offline-mode" class="mode-tab" role="tab" aria-selected="false">
              Paste OIDC / Headers / HTML (POST /api/audit-html)
            </button>
          </div>

          <form id="audit-url-form" novalidate>
            <div class="input-row">
              <label class="visually-hidden" for="url-input">Target website URL or domain</label>
              <input
                id="url-input"
                name="url"
                type="text"
                class="domain-input"
                placeholder="https://github.com or https://auth.your-app.com"
                autocomplete="off"
                autocapitalize="off"
                spellcheck="false"
                required
              />
              <button id="url-submit-btn" type="submit" class="btn btn-primary btn-lg">
                Audit Auth Posture
              </button>
            </div>
            <div class="form-meta-row">
              <div class="sample-chips">
                <span class="meta-label">1-Click Live Demo:</span>
                <button type="button" id="live-demo-btn" class="sample-btn live-demo-btn" data-live-url="https://github.com">
                  1-Click Live Demo Audit (github.com)
                </button>
                <button type="button" class="sample-btn live-demo-btn" data-live-url="https://stripe.com">
                  stripe.com
                </button>
                <button type="button" class="sample-btn live-demo-btn" data-live-url="https://accounts.google.com">
                  accounts.google.com
                </button>
                <button type="button" class="sample-btn live-demo-btn" data-live-url="https://auth.runglab.dev">
                  auth.runglab.dev (100/100)
                </button>
                <span class="meta-label">Presets:</span>
                <button type="button" class="sample-btn preset-demo-btn" data-preset="legacy-oauth2-implicit">
                  Legacy OAuth 2.0 (18/100 -> 100/100)
                </button>
                <button type="button" class="sample-btn preset-demo-btn" data-preset="oauth21-passkey-ready">
                  OAuth 2.1 + Passkeys (100/100)
                </button>
              </div>
              <label class="refresh-toggle">
                <input id="refresh-checkbox" type="checkbox" />
                <span>Bypass 10m edge cache (refresh=1)</span>
              </label>
            </div>
          </form>

          <form id="audit-offline-form" class="hidden" novalidate>
            <div class="input-row">
              <label class="visually-hidden" for="offline-url-input">Target site URL label (zero outbound fetch)</label>
              <input
                id="offline-url-input"
                type="text"
                class="domain-input"
                value="https://auth.acme-saas.dev/"
                placeholder="https://auth.acme-saas.dev/"
                spellcheck="false"
              />
              <button id="offline-submit-btn" type="submit" class="btn btn-primary btn-lg">
                Audit Pasted Artifacts (0 Network Requests)
              </button>
            </div>
            <div class="offline-grid">
              <div>
                <label class="field-label" for="offline-oidc-textarea">OIDC / OAuth 2.1 Discovery JSON (/.well-known/openid-configuration)</label>
                <textarea
                  id="offline-oidc-textarea"
                  class="offline-textarea"
                  placeholder='{"issuer":"https://auth.acme-saas.dev","jwks_uri":"https://auth.acme-saas.dev/.well-known/jwks.json","response_types_supported":["code"],"code_challenge_methods_supported":["S256"]}'
                  spellcheck="false"
                ></textarea>
              </div>
              <div>
                <label class="field-label" for="offline-headers-textarea">Raw HTTP Response Headers (with Set-Cookie, COOP, HSTS, CSP, Cache-Control)</label>
                <textarea
                  id="offline-headers-textarea"
                  class="offline-textarea"
                  placeholder="Set-Cookie: __Host-sid=xyz; Path=/; HttpOnly; Secure; SameSite=Lax&#10;Cross-Origin-Opener-Policy: same-origin&#10;Cache-Control: no-store&#10;Strict-Transport-Security: max-age=31536000; includeSubDomains"
                  spellcheck="false"
                ></textarea>
              </div>
            </div>
            <div class="offline-artifacts-grid">
              <div>
                <label class="field-label" for="offline-pr-textarea">Optional RFC 9728 Protected Resource JSON (/.well-known/oauth-protected-resource)</label>
                <textarea
                  id="offline-pr-textarea"
                  class="offline-textarea offline-textarea-sm"
                  placeholder='{"resource":"https://auth.acme-saas.dev","authorization_servers":["https://auth.acme-saas.dev"],"bearer_methods_supported":["header"],"scopes_supported":["openid","api:read"]}'
                  spellcheck="false"
                ></textarea>
              </div>
              <div>
                <label class="field-label" for="offline-html-textarea">Optional Login HTML (autocomplete="webauthn" / current-password / passkey links)</label>
                <textarea
                  id="offline-html-textarea"
                  class="offline-textarea offline-textarea-sm"
                  placeholder='<form><input autocomplete="username webauthn"><input type="password" autocomplete="current-password"></form>'
                  spellcheck="false"
                ></textarea>
              </div>
            </div>
            <div class="offline-gpc-bar">
              <label class="field-label" for="offline-passkey-textarea">Optional /.well-known/passkey-endpoints JSON</label>
              <textarea
                id="offline-passkey-textarea"
                class="offline-textarea offline-textarea-sm"
                placeholder='{"enroll":"https://auth.acme-saas.dev/passkeys/enroll","manage":"https://auth.acme-saas.dev/passkeys"}'
                spellcheck="false"
              ></textarea>
            </div>
            <div class="form-meta-row">
              <button type="button" id="fill-offline-sample-btn" class="sample-btn">
                Fill Sample Weak OAuth 2.0 + Cookie Artifacts
              </button>
              <span class="meta-label">Zero-network analysis via POST /api/audit-html</span>
            </div>
          </form>

          <div class="hero-quick-actions">
            <button type="button" id="open-pack-preview-hero-btn" class="btn btn-secondary btn-sm preview-trigger-btn">
              Preview Sample Fix Pack ($39 6-File Bundle)
            </button>
            <button type="button" class="btn btn-ghost-lead btn-sm" data-oc-scroll-lead>
              Not ready to buy? Get 1 tailored AuthPosture sample file free ($0 upfront)
            </button>
          </div>
        </div>

        <div id="status-banner" class="status-banner hidden" role="status" aria-live="polite"></div>
      </div>
    </section>

    <section id="results-section" class="section results-section hidden">
      <div class="container">
        <div class="score-hero panel">
          <div class="gauge-wrap">
            <svg class="gauge-svg" viewBox="0 0 140 140" role="img" aria-label="AuthPosture security score gauge">
              <circle class="gauge-track" cx="70" cy="70" r="56" />
              <circle id="gauge-arc" class="gauge-progress tone-good" cx="70" cy="70" r="56" stroke-dasharray="351.86" stroke-dashoffset="351.86" />
            </svg>
            <div class="gauge-center">
              <span id="gauge-score" class="gauge-score">0</span>
              <span class="gauge-denom">/ 100</span>
              <span id="gauge-grade" class="grade-pill">-</span>
            </div>
          </div>

          <div class="score-overview">
            <div class="score-title-row">
              <div>
                <h2 id="result-domain" class="result-domain">auth.acme-saas.dev</h2>
                <p id="result-meta" class="result-meta"></p>
              </div>
              <div class="toolbar-actions">
                <button type="button" id="share-url-btn" class="btn btn-secondary btn-sm">Copy Share URL</button>
                <button type="button" id="copy-exec-md-btn" class="btn btn-secondary btn-sm">Copy Executive Summary (Markdown)</button>
                <button type="button" id="download-json-btn" class="btn btn-secondary btn-sm">Download JSON</button>
              </div>
            </div>

            <div id="badge-panel" class="badge-panel">
              <div class="badge-panel-top">
                <div class="badge-panel-title">
                  <span class="badge-heading">Embeddable AuthPosture Badges</span>
                  <span id="badge-preview-pill" class="rc-badge-preview good">
                    <span class="rc-badge-key">AuthPosture</span>
                    <span id="badge-preview-value" class="rc-badge-val">0/100 (Grade -)</span>
                  </span>
                </div>
                <div class="badge-copy-actions">
                  <button type="button" id="copy-badge-md-btn" class="btn btn-secondary btn-sm">Markdown Badge</button>
                  <button type="button" id="copy-badge-link-btn" class="btn btn-secondary btn-sm">Markdown Link</button>
                  <button type="button" id="copy-badge-html-btn" class="btn btn-secondary btn-sm">HTML Badge</button>
                </div>
              </div>
              <pre id="badge-snippet-code" class="badge-snippet-code"></pre>
            </div>

            <p id="result-summary" class="result-summary"></p>

            <div id="free-sample-lead-verdict" class="oc-lead-box oc-lead-box-verdict" data-oc-lead-box>
              <div class="oc-lead-verdict-head">
                <div>
                  <div class="oc-lead-kicker">$0 Upfront · Free Tailored Sample</div>
                  <h3 class="oc-lead-title">Want 1 tailored OAuth 2.1, __Host- Cookie &amp; COOP, or Passkey config free first? ($0 upfront)</h3>
                </div>
                <a class="btn btn-secondary btn-sm oc-verdict-jump" href="#pack-checkout-link">See $39 Fix Pack &darr;</a>
              </div>
              <form class="oc-lead-form" data-oc-lead-form novalidate>
                <div class="oc-lead-verdict-row">
                  <label class="oc-sr-only" for="oc-lead-email-verdict">Work email</label>
                  <input
                    id="oc-lead-email-verdict"
                    class="oc-lead-input"
                    type="email"
                    name="email"
                    required
                    autocomplete="email"
                    placeholder="security@company.com"
                    data-oc-lead-email
                  />
                  <label class="oc-sr-only" for="oc-lead-target-verdict">Target website URL or domain</label>
                  <input
                    id="oc-lead-target-verdict"
                    class="oc-lead-input"
                    type="text"
                    name="target"
                    required
                    autocomplete="off"
                    placeholder="auth.your-app.com"
                    data-oc-lead-target
                  />
                  <button class="btn btn-primary btn-sm oc-lead-submit-inline" data-oc-lead-submit type="submit">
                    Send 1 Free Fix File ($0)
                  </button>
                </div>
                <div class="oc-hp-field" aria-hidden="true">
                  <label for="oc-lead-hp-verdict">Website</label>
                  <input id="oc-lead-hp-verdict" type="text" name="website" tabindex="-1" autocomplete="off" data-oc-lead-hp />
                </div>
                <p class="oc-lead-status" data-oc-lead-status aria-live="polite" hidden></p>
              </form>
            </div>

            <div class="saq-card">
              <div class="saq-card-head">
                <div class="saq-title-wrap">
                  <span id="signal-status-pill" class="status-pill pill-warn">Auth Posture</span>
                  <strong id="signal-headline" class="saq-headline">OAuth 2.1 · RFC 9728 · Passkeys · __Host- Cookies</strong>
                </div>
                <code id="subrequest-pill" class="baseline-pill">0 / 20 subrequests</code>
              </div>
              <p id="audit-disclaimer" class="saq-disclaimer"></p>
            </div>

            <div id="pillars-grid" class="pillars-grid-3"></div>
          </div>
        </div>

        <div class="split-grid">
          <div class="leaks-column">
            <div class="section-subhead">
              <h3>Prioritized Auth Security Findings (AUTH-001..AUTH-016)</h3>
              <p>Ranked by token theft &amp; phishing exposure · Maps directly to the $39 6-File Hardening Fix Pack</p>
            </div>
            <div id="findings-container" class="leaks-container"></div>
          </div>

          <aside class="fixpack-column">
            <div class="panel fixpack-card">
              <div class="fixpack-top">
                <span class="price-pill">$39 One-Time</span>
                <span id="pack-lift-badge" class="lift-pill">+0 pts fix pack</span>
              </div>
              <h3 id="pack-headline">AuthPosture $39 6-File Hardening Fix Pack</h3>
              <p id="pack-sub" class="fixpack-sub">
                Get all 6 tailored OAuth 2.1 / RFC 9728 metadata, __Host- cookie + COOP/HSTS configs, WebAuthn Passkey rollout, DMARC/SPF DNS &amp; CI guard files.
              </p>

              <div id="pack-projection" class="projection-box">
                <div class="projection-scores">
                  <div class="proj-col">
                    <span class="proj-label">Before (Audited)</span>
                    <div class="proj-val-row">
                      <span id="proj-before-score" class="proj-val">0/100</span>
                      <span id="proj-before-grade" class="proj-grade">-</span>
                    </div>
                  </div>
                  <div class="proj-arrow" aria-hidden="true">→</div>
                  <div class="proj-col proj-col-after">
                    <span class="proj-label">After $39 Fix Pack</span>
                    <div class="proj-val-row">
                      <span id="proj-after-score" class="proj-val">0/100</span>
                      <span id="proj-after-grade" class="proj-grade">-</span>
                    </div>
                  </div>
                </div>
                <svg class="projection-bar-svg" viewBox="0 0 100 10" preserveAspectRatio="none" role="img" aria-label="Before and after $39 Fix Pack score projection">
                  <rect class="proj-bar-track" x="0" y="0" width="100" height="10" rx="5" />
                  <rect id="proj-bar-after" class="proj-bar-after" x="0" y="0" width="0" height="10" rx="5" />
                  <rect id="proj-bar-before" class="proj-bar-before" x="0" y="0" width="0" height="10" rx="5" />
                </svg>
                <p id="proj-honest-note" class="proj-honest-note"></p>
                <div id="proj-included-list" class="proj-toggles"></div>
                <p id="proj-excluded-note" class="proj-excluded-note hidden"></p>
              </div>

              <div class="fixpack-actions">
                <button
                  type="button"
                  id="open-pack-preview-btn"
                  class="btn btn-secondary btn-block preview-trigger-btn"
                >
                  Preview 6-File Sample ($39 Hardening Pack)
                </button>
                <a
                  id="pack-checkout-link"
                  class="btn btn-primary btn-lg btn-block"
                  href="https://www.creem.io/product/prod_4coGvBvXYsjQ9lwgSTvig3"
                  target="_blank"
                  rel="noopener noreferrer"
                >
                  Get $39 Fix Pack (Creem · Alipay / Card)
                </a>
                <p class="oc-checkout-microtrust">
                  Delivered within 15 min • PayPal / Alipay / Card • 100% validation refund guarantee
                </p>
                <button type="button" class="btn btn-ghost-lead btn-block" data-oc-scroll-lead>
                  Not ready to buy? Get 1 tailored sample file free ($0 upfront)
                </button>
                <p class="fixpack-trust-note">
                  Or email
                  <a id="pack-trust-mailto" href="mailto:support@runglab.dev?subject=AuthPosture%20%2439%20Fix%20Pack%20Order">support@runglab.dev</a>
                  for PayPal invoice-on-delivery
                </p>
                <a
                  id="pack-mailto-link"
                  class="btn btn-secondary btn-block"
                  href="mailto:support@runglab.dev?subject=AuthPosture%20%2439%20Fix%20Pack%20Order"
                >
                  PayPal Invoice-on-Delivery Fallback
                </a>
              </div>
              <p class="fixpack-footnote">
                Informational OAuth 2.1, Passkey &amp; Session hardening templates — verify against your IdP &amp; authorization policy.
              </p>

              <div id="free-sample-lead-results" class="oc-lead-box" data-oc-lead-box>
                <div class="oc-lead-kicker">$0 Upfront · Pay After Delivery</div>
                <h3 class="oc-lead-title">Want 1 free tailored auth hardening file first? ($0 upfront)</h3>
                <p class="oc-lead-sub">
                  Drop your work email — we'll send 1 ready-to-deploy OAuth 2.1 / RFC 9728 metadata, __Host- cookie + COOP config, or Passkey rollout guide within 15 min.
                </p>
                <form class="oc-lead-form" data-oc-lead-form novalidate>
                  <div class="oc-lead-grid">
                    <label class="oc-sr-only" for="oc-lead-email-1">Work email</label>
                    <input
                      id="oc-lead-email-1"
                      class="oc-lead-input"
                      data-oc-lead-email
                      type="email"
                      name="email"
                      required
                      maxlength="160"
                      placeholder="you@company.com"
                      autocomplete="email"
                    />
                    <label class="oc-sr-only" for="oc-lead-target-1">Target site URL or domain</label>
                    <input
                      id="oc-lead-target-1"
                      class="oc-lead-input"
                      data-oc-lead-target
                      type="text"
                      name="target"
                      required
                      maxlength="200"
                      placeholder="auth.acme-saas.dev"
                    />
                  </div>
                  <div class="oc-hp-field" aria-hidden="true">
                    <label for="oc-lead-hp-1">Website</label>
                    <input id="oc-lead-hp-1" data-oc-lead-hp type="text" name="website" tabindex="-1" autocomplete="off" />
                  </div>
                  <button class="btn btn-primary btn-block" data-oc-lead-submit type="submit">
                    Send Me 1 Free Auth File
                  </button>
                  <p class="oc-lead-status" data-oc-lead-status aria-live="polite" hidden></p>
                </form>
              </div>
              <p class="oc-trust-guarantee">
                Built by RungLab • 15-min email delivery • PayPal / Alipay / Card • 100% refund if files fail validation
              </p>
            </div>
          </aside>
        </div>

        <div class="breakdown-row">
          <div class="panel breakdown-half">
            <div class="section-subhead">
              <h3>OAuth 2.1, RFC 9728 MCP Auth &amp; Passkey Discovery</h3>
              <p>PKCE S256, implicit flow checks, /.well-known/oauth-protected-resource, passkey-endpoints &amp; change-password</p>
            </div>
            <div id="auth-protocol-grid" class="kv-list"></div>
          </div>

          <div class="panel breakdown-half">
            <div class="section-subhead">
              <h3>Session Cookies, Isolation, Transport &amp; Anti-Phishing DNS</h3>
              <p>__Host- / __Secure-, HttpOnly/SameSite, COOP, no-store, HSTS, frame-ancestors, CAA, DMARC &amp; Single SPF</p>
            </div>
            <div id="auth-cookie-dns-grid" class="kv-list"></div>
          </div>
        </div>
      </div>
    </section>

    <section class="section" id="policy-configurator">
      <div class="container">
        <div class="panel configurator-panel">
          <div class="scope-panel-head">
            <div>
              <h2 class="scope-panel-title">Interactive OAuth 2.1 / Passkey Readiness Lab</h2>
              <p class="scope-panel-sub">Toggle OAuth 2.1, RFC 9728 MCP Auth, Passkey &amp; __Host- Session Cookie guardrails to preview the exact artifacts shipped in the $39 Hardening Fix Pack.</p>
            </div>
            <span id="config-active-pill" class="status-pill pill-allow">6 / 6 Guardrails Enabled</span>
          </div>

          <div class="configurator-meta-grid">
            <div>
              <label class="field-label" for="config-domain-input">Target Auth / App Domain</label>
              <input id="config-domain-input" type="text" class="domain-input config-input" value="auth.acme-saas.dev" spellcheck="false" />
            </div>
            <div>
              <label class="field-label" for="config-company-input">Organization / SaaS Name</label>
              <input id="config-company-input" type="text" class="domain-input config-input" value="Acme SaaS" spellcheck="false" />
            </div>
          </div>

          <div class="configurator-split">
            <div class="scope-toggles-grid" role="group" aria-label="6 AuthPosture Guardrail Toggles">
              <label class="scope-toggle-card">
                <input id="ctrl-oidc" type="checkbox" checked />
                <div>
                  <span class="scope-article-tag">OAuth 2.1 · RFC 7636 / 8414</span>
                  <strong>OIDC PKCE S256 &amp; Implicit Flow Removal</strong>
                  <small>Requires S256 in code_challenge_methods_supported &amp; removes implicit token grants</small>
                </div>
              </label>

              <label class="scope-toggle-card">
                <input id="ctrl-rfc9728" type="checkbox" checked />
                <div>
                  <span class="scope-article-tag">RFC 9728 · MCP Auth</span>
                  <strong>/.well-known/oauth-protected-resource</strong>
                  <small>Declares HTTPS resource, authorization_servers &amp; header-only bearer tokens</small>
                </div>
              </label>

              <label class="scope-toggle-card">
                <input id="ctrl-passkey" type="checkbox" checked />
                <div>
                  <span class="scope-article-tag">W3C WebAuthn · FIDO</span>
                  <strong>Passkey Endpoints &amp; Change-Password</strong>
                  <small>Publishes /.well-known/passkey-endpoints, change-password &amp; autocomplete="webauthn"</small>
                </div>
              </label>

              <label class="scope-toggle-card">
                <input id="ctrl-cookies" type="checkbox" checked />
                <div>
                  <span class="scope-article-tag">RFC 6265bis · COOP</span>
                  <strong>__Host- Cookies, COOP &amp; Cache-Control: no-store</strong>
                  <small>Enforces HttpOnly, Secure, SameSite=Lax|Strict, COOP same-origin &amp; no-store</small>
                </div>
              </label>

              <label class="scope-toggle-card">
                <input id="ctrl-transport" type="checkbox" checked />
                <div>
                  <span class="scope-article-tag">RFC 6797 · Clickjacking</span>
                  <strong>HSTS (&gt;=180d), frame-ancestors &amp; Referrer-Policy</strong>
                  <small>Hardens HTTPS, HSTS, CSP frame-ancestors/XFO, nosniff &amp; strict Referrer-Policy</small>
                </div>
              </label>

              <label class="scope-toggle-card">
                <input id="ctrl-dns" type="checkbox" checked />
                <div>
                  <span class="scope-article-tag">RFC 8659 / 7489 / 7208</span>
                  <strong>Anti-Phishing DNS (CAA, DMARC &amp; Single SPF)</strong>
                  <small>Blocks spoofed password-reset &amp; magic-link emails via enforcing DMARC &amp; single SPF</small>
                </div>
              </label>
            </div>

            <div id="auth-live-preview" class="trust-preview-browser" aria-live="polite"></div>
          </div>
        </div>
      </div>
    </section>

    <section class="section static-fixpack-section" id="bundle-preview-cta">
      <div class="container">
        <div class="panel static-fixpack-card">
          <div class="static-fixpack-copy">
            <div class="static-fixpack-eyebrow">
              <span class="price-pill">$39 One-Time</span>
              <span class="static-fixpack-tag">6 Production Files · Gap Report + OAuth 2.1 / RFC 9728 JSON + __Host- Cookies + Passkey Rollout + DMARC/SPF DNS + CI Guard</span>
            </div>
            <h2>Preview the AuthPosture $39 6-File Hardening Fix Pack before checkout</h2>
            <p>
              Inspect live tailored samples of <code>01-auth-posture-gap-report.md</code>, <code>02-oauth21-oidc-pkce-hardening.json</code>,
              <code>03-session-cookie-and-headers-config.md</code>, <code>04-passkey-webauthn-rollout.md</code>, <code>05-magic-link-dmarc-spf-dns.txt</code>, and <code>06-ci-auth-posture-guard.mjs</code>.
            </p>
          </div>
          <div class="static-fixpack-actions">
            <button
              type="button"
              id="open-pack-preview-static-btn"
              class="btn btn-secondary btn-lg preview-trigger-btn"
            >
              Preview 6-File Sample ($39 Hardening Pack)
            </button>
            <a
              class="btn btn-primary btn-lg"
              href="https://www.creem.io/product/prod_4coGvBvXYsjQ9lwgSTvig3"
              target="_blank"
              rel="noopener noreferrer"
            >
              Get $39 Fix Pack (Creem · Alipay / Card)
            </a>
            <p class="oc-checkout-microtrust">
              Delivered within 15 min • PayPal / Alipay / Card • 100% validation refund guarantee
            </p>
            <button type="button" class="btn btn-ghost-lead btn-block" data-oc-scroll-lead>
              Not ready to buy? Get 1 tailored sample file free ($0 upfront)
            </button>
            <p class="fixpack-trust-note">
              Need an invoice first? Email
              <a href="mailto:support@runglab.dev?subject=AuthPosture%20%2439%20Fix%20Pack%20Order">support@runglab.dev</a>
              (PayPal invoice-on-delivery fallback)
            </p>
          </div>

          <div id="free-sample-lead" class="oc-lead-box oc-lead-span" data-oc-lead-box>
            <div class="oc-lead-kicker">$0 Upfront · Pay After Delivery</div>
            <h3 class="oc-lead-title">Want 1 free tailored AuthPosture hardening file first? ($0 upfront)</h3>
            <p class="oc-lead-sub">
              Drop your work email — we'll send 1 ready-to-deploy OAuth 2.1 / RFC 9728 metadata, <code>__Host-</code> cookie + COOP snippet, or Passkey rollout plan within 15 min.
            </p>
            <form class="oc-lead-form" data-oc-lead-form novalidate>
              <div class="oc-lead-grid">
                <label class="oc-sr-only" for="oc-lead-email-2">Work email</label>
                <input
                  id="oc-lead-email-2"
                  class="oc-lead-input"
                  data-oc-lead-email
                  type="email"
                  name="email"
                  required
                  maxlength="160"
                  placeholder="you@company.com"
                  autocomplete="email"
                />
                <label class="oc-sr-only" for="oc-lead-target-2">Target site URL or domain</label>
                <input
                  id="oc-lead-target-2"
                  class="oc-lead-input"
                  data-oc-lead-target
                  type="text"
                  name="target"
                  required
                  maxlength="200"
                  placeholder="auth.acme-saas.dev"
                />
              </div>
              <div class="oc-hp-field" aria-hidden="true">
                <label for="oc-lead-hp-2">Website</label>
                <input id="oc-lead-hp-2" data-oc-lead-hp type="text" name="website" tabindex="-1" autocomplete="off" />
              </div>
              <button class="btn btn-primary btn-block" data-oc-lead-submit type="submit">
                Send Me 1 Free Auth File
              </button>
              <p class="oc-lead-status" data-oc-lead-status aria-live="polite" hidden></p>
            </form>
            <p class="oc-trust-guarantee">
              Built by RungLab • 15-min email delivery • PayPal / Alipay / Card • 100% refund if files fail validation
            </p>
          </div>
        </div>
      </div>
    </section>

    <section class="section" id="pillars">
      <div class="container">
        <div class="section-header">
          <h2>Transparent 100-Point OAuth 2.1, Passkey &amp; Session Security Rubric</h2>
          <p>6 deterministic checks covering OIDC PKCE S256, RFC 9728 MCP Auth, WebAuthn Passkeys, Session Cookies, Transport Framing &amp; Anti-Phishing DNS.</p>
        </div>
        <div class="rubric-grid-3">
          <article class="panel rubric-card">
            <div class="rubric-score">20 pts</div>
            <h3>1. OAuth 2.1 &amp; PKCE S256</h3>
            <ul>
              <li>Live probe <code>/.well-known/openid-configuration</code> or <code>oauth-authorization-server</code></li>
              <li>Requires <code>S256</code> PKCE, zero implicit <code>token</code> in <code>response_types_supported</code>, HTTPS <code>issuer</code> &amp; <code>jwks_uri</code></li>
            </ul>
          </article>
          <article class="panel rubric-card">
            <div class="rubric-score">15 pts</div>
            <h3>2. RFC 9728 MCP Auth</h3>
            <ul>
              <li>Valid JSON at <code>/.well-known/oauth-protected-resource</code></li>
              <li>HTTPS <code>resource</code>, <code>authorization_servers</code>, header bearer &amp; <code>scopes_supported</code></li>
            </ul>
          </article>
          <article class="panel rubric-card">
            <div class="rubric-score">15 pts</div>
            <h3>3. Passkey &amp; WebAuthn UX</h3>
            <ul>
              <li><code>/.well-known/passkey-endpoints</code> (<code>enroll</code>/<code>manage</code>) &amp; <code>/.well-known/change-password</code></li>
              <li>Login HTML <code>autocomplete="webauthn"</code> &amp; <code>current-password</code></li>
            </ul>
          </article>
          <article class="panel rubric-card">
            <div class="rubric-score">20 pts</div>
            <h3>4. Cookies &amp; COOP Isolation</h3>
            <ul>
              <li><code>Set-Cookie</code> checks (<code>__Host-</code>/<code>__Secure-</code>, <code>HttpOnly</code>, <code>Secure</code>, <code>SameSite=Lax|Strict</code>)</li>
              <li><code>Cross-Origin-Opener-Policy</code> &amp; <code>Cache-Control: no-store</code> on auth routes</li>
            </ul>
          </article>
          <article class="panel rubric-card">
            <div class="rubric-score">20 pts</div>
            <h3>5. Auth Transport &amp; Framing</h3>
            <ul>
              <li>HTTPS (5 pts) + HSTS <code>max-age&gt;=15552000</code> (5 pts)</li>
              <li>CSP <code>frame-ancestors</code> or <code>X-Frame-Options</code> (4 pts), <code>nosniff</code> (3 pts) &amp; strict <code>Referrer-Policy</code> (3 pts)</li>
            </ul>
          </article>
          <article class="panel rubric-card">
            <div class="rubric-score">10 pts</div>
            <h3>6. Anti-Phishing DNS</h3>
            <ul>
              <li>DoH <code>CAA</code> preventing rogue TLS certs (3 pts)</li>
              <li>Enforcing <code>DMARC</code> (<code>p=quarantine|reject</code>, 4 pts) &amp; valid single <code>SPF</code> (3 pts) with parent inheritance</li>
            </ul>
          </article>
        </div>
      </div>
    </section>
  </main>

  <footer class="site-footer">
    <div class="container footer-inner">
      <div>
        <strong>AuthPosture</strong> by RungLab · OAuth 2.1, OIDC PKCE S256, RFC 9728 MCP Auth, WebAuthn Passkey &amp; Session Cookie Auditor
      </div>
      <div class="footer-links">
        <a href="/.well-known/openid-configuration">OIDC Discovery</a>
        <a href="/.well-known/oauth-protected-resource">RFC 9728</a>
        <a href="/.well-known/passkey-endpoints">Passkey Endpoints</a>
        <a href="/.well-known/change-password">Change Password</a>
        <a href="/.well-known/security.txt">security.txt</a>
        <a href="/docs">Docs &amp; Quickstart</a>
        <a href="/pricing">Pricing</a>
        <a href="/sdk">SDK &amp; CLI</a>
        <a href="/status">Status</a>
        <a href="/sla">SLA</a>
        <a href="/support">Support</a>
        <a href="/openapi.json">OpenAPI</a>
        <a href="/AGENTS.md">AGENTS.md</a>
        <a href="https://runglab.dev" target="_blank" rel="noopener noreferrer">RungLab Home</a>
        <a href="mailto:support@runglab.dev">support@runglab.dev</a>
      </div>
    </div>
  </footer>

  <div
    id="pack-preview-modal"
    class="fixpack-modal hidden"
    role="dialog"
    aria-modal="true"
    aria-labelledby="pack-modal-title"
    aria-hidden="true"
  >
    <div id="pack-modal-backdrop" class="fixpack-modal-backdrop"></div>
    <div class="fixpack-modal-dialog" role="document">
      <div class="fixpack-modal-header">
        <div class="fixpack-modal-heading">
          <div class="fixpack-modal-kicker">
            <span class="price-pill">$39 6-File Hardening Pack</span>
            <span id="pack-modal-domain-pill" class="modal-domain-pill">auth.acme-saas.dev</span>
          </div>
          <h2 id="pack-modal-title" class="fixpack-modal-title">Sample $39 AuthPosture Fix Pack (6-File Interactive Preview)</h2>
          <p id="pack-modal-subtitle" class="fixpack-modal-subtitle">
            Inspect tailored Gap Report, OAuth 2.1/RFC 9728 JSON, __Host- Cookie &amp; COOP Config, Passkey Rollout, DMARC/SPF DNS &amp; CI ESM Guard before checkout — Esc to close.
          </p>
        </div>
        <button
          type="button"
          id="pack-modal-close-btn"
          class="btn btn-secondary btn-sm fixpack-modal-close"
          aria-label="Close fix pack preview"
        >
          Close ✕
        </button>
      </div>

      <div class="fixpack-modal-body">
        <div
          id="pack-modal-tabs"
          class="fixpack-modal-tabs"
          role="tablist"
          aria-label="6 AuthPosture Fix Pack sample files"
        ></div>

        <div class="fixpack-modal-viewer" role="tabpanel" aria-labelledby="pack-preview-file-name">
          <div class="fixpack-viewer-bar">
            <div class="fixpack-viewer-meta">
              <span id="pack-preview-category-badge" class="preview-pillar-badge pillar-gap">Gap MD</span>
              <code id="pack-preview-file-name" class="fixpack-viewer-filename">01-auth-posture-gap-report.md</code>
              <span id="pack-preview-file-title" class="fixpack-viewer-title">Auth Security Gap Report</span>
              <span id="pack-preview-item-badge" class="deliverable-pts">NIST 800-63B</span>
            </div>
            <button
              type="button"
              id="pack-preview-copy-btn"
              class="btn btn-secondary btn-sm"
            >
              Copy Preview
            </button>
          </div>

          <div id="pack-preview-redaction-banner" class="fixpack-redaction-banner"></div>

          <pre class="fixpack-viewer-pre"><code id="pack-preview-code"></code></pre>
        </div>
      </div>

      <div class="fixpack-modal-footer">
        <form class="oc-modal-lead-form" data-oc-lead-form novalidate>
          <div class="oc-modal-lead-row">
            <span class="oc-modal-lead-badge">$0 Free Sample</span>
            <label class="oc-sr-only" for="modal-lead-email">Work email</label>
            <input
              id="modal-lead-email"
              class="oc-modal-lead-input"
              data-oc-lead-email
              type="email"
              name="email"
              required
              maxlength="160"
              placeholder="you@company.com"
              autocomplete="email"
            />
            <label class="oc-sr-only" for="modal-lead-target">Site URL or domain</label>
            <input
              id="modal-lead-target"
              class="oc-modal-lead-input oc-modal-lead-target"
              data-oc-lead-target
              type="text"
              name="target"
              required
              maxlength="200"
              placeholder="auth.yourdomain.com"
            />
            <button
              class="btn btn-ghost-lead btn-sm oc-modal-lead-btn"
              data-oc-lead-submit
              type="submit"
            >
              Send 1 Free Sample ($0)
            </button>
          </div>
          <div class="oc-hp-field" aria-hidden="true">
            <label for="modal-lead-hp">Website</label>
            <input id="modal-lead-hp" data-oc-lead-hp type="text" name="website" tabindex="-1" autocomplete="off" />
          </div>
          <p class="oc-lead-status oc-modal-lead-status" data-oc-lead-status aria-live="polite" hidden></p>
        </form>
        <div class="fixpack-modal-footer-ctas">
          <a
            id="pack-modal-checkout-link"
            class="btn btn-primary btn-lg"
            href="https://www.creem.io/product/prod_4coGvBvXYsjQ9lwgSTvig3"
            target="_blank"
            rel="noopener noreferrer"
          >
            Get $39 Fix Pack (Creem · Alipay / Card)
          </a>
        </div>
        <div class="fixpack-modal-footer-trust">
          <span>15-min email delivery • PayPal / Alipay / Card • 100% validation refund guarantee ·</span>
          <a
            id="pack-modal-mailto-link"
            href="mailto:support@runglab.dev?subject=AuthPosture%20%2439%20Fix%20Pack%20Order"
          >
            PayPal Invoice (support@runglab.dev)
          </a>
        </div>
      </div>
    </div>
  </div>
</body>
</html>
