<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <title>WebhookSLA Guard by RungLab — B2B API &amp; Webhook Security, HMAC-SHA256 &amp; RateLimit Auditor</title>
  <meta
    name="description"
    content="Instant B2B SaaS API &amp; Webhook Security, HMAC-SHA256 Replay Protection, Idempotency-Key &amp; RFC RateLimit Readiness Auditor + $29 6-File Impulse Kit."
  />
  <link rel="canonical" href="https://webhook.runglab.dev/" />
  <meta property="og:type" content="website" />
  <meta property="og:title" content="WebhookSLA Guard by RungLab — API &amp; Webhook Security Readiness Auditor" />
  <meta
    property="og:description"
    content="Audit RateLimit-* / Retry-After headers, CORS, HSTS, CSP, HMAC-SHA256 replay protection, Idempotency-Key &amp; OpenAPI readiness — plus a $29 6-file middleware &amp; SLA kit."
  />
  <meta property="og:url" content="https://webhook.runglab.dev/" />
  <meta property="og:image" content="https://webhook.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="WebhookSLA Guard by RungLab — API &amp; Webhook Security, HMAC-SHA256 &amp; RateLimit Auditor" />
  <meta name="twitter:card" content="summary_large_image" />
  <meta name="twitter:title" content="WebhookSLA Guard by RungLab — API &amp; Webhook Security Auditor" />
  <meta name="twitter:description" content="Audit RateLimit-*, CORS, HMAC-SHA256 replay protection, Idempotency-Key, OpenAPI &amp; security.txt + $29 6-file Impulse Kit." />
  <meta name="twitter:image" content="https://webhook.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='21' font-weight='800' fill='%2310b981'%3EWH%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://webhook.runglab.dev",
          "https://trust.runglab.dev",
          "https://audit.runglab.dev",
          "https://sbom.runglab.dev",
          "https://pci.runglab.dev",
          "https://ai50.runglab.dev",
          "https://tools.runglab.dev"
        ]
      },
      {
        "@type": "SoftwareApplication",
        "name": "WebhookSLA Guard",
        "applicationCategory": "DeveloperApplication",
        "operatingSystem": "Web",
        "url": "https://webhook.runglab.dev/",
        "creditText": "WebhookSLA Guard API & Webhook Security Auditor by RungLab (support@runglab.dev)",
        "description": "Autonomous B2B SaaS API & Webhook Security, HMAC-SHA256 Replay Protection, Idempotency-Key & RFC RateLimit Readiness Auditor across 4 weighted pillars + $29 6-file Impulse Kit.",
        "offers": {
          "@type": "Offer",
          "name": "WebhookSLA Guard $29 Impulse Kit",
          "price": "29.00",
          "priceCurrency": "USD",
          "url": "https://www.creem.io/product/prod_1xNjoVPUlvR8nuykOmWCuD"
        },
        "publisher": {
          "@type": "Organization",
          "name": "RungLab"
        }
      },
      {
        "@type": "FAQPage",
        "mainEntity": [
          {
            "@type": "Question",
            "name": "What does WebhookSLA Guard audit on a SaaS API or webhook endpoint?",
            "acceptedAnswer": {
              "@type": "Answer",
              "text": "WebhookSLA Guard audits RateLimit-* / X-RateLimit-* & Retry-After headers (25 pts), CORS / TLS / HSTS / CSP / nosniff (25 pts), HMAC-SHA256 signature & 300s replay protection + Idempotency-Key & DLQ docs (30 pts), and OpenAPI, Status & RFC 9116 security.txt (20 pts)."
            }
          },
          {
            "@type": "Question",
            "name": "Can I audit private headers or webhook configs without exposing a public URL?",
            "acceptedAnswer": {
              "@type": "Answer",
              "text": "Yes. Use the zero-network Offline Headers / Config mode (POST https://webhook-api.runglab.dev/api/audit-headers) to score pasted HTTP headers or webhook JSON configs with 0 outbound subrequests."
            }
          },
          {
            "@type": "Question",
            "name": "What is included in the $29 WebhookSLA Guard Impulse Kit?",
            "acceptedAnswer": {
              "@type": "Answer",
              "text": "The $29 one-time kit includes 6 tailored production files: 01-hmac-replay-middleware.ts (Cloudflare Worker), 02-hmac-replay-middleware.py (FastAPI), 03-idempotency-dlq-spec.md, 04-ratelimit-headers-config.md, 05-webhook-security-sla-docs.md, and 06-verify-webhook-sla.mjs."
            }
          }
        ]
      }
    ]
  }
  </script>
  <script type="module" src="app.js"></script>
</head>
<body>
  <header class="site-header">
    <div class="container header-inner">
      <a class="brand" href="#top">
        <span class="brand-mark">WH</span>
        <span>WebhookSLA Guard <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">HMAC &amp; RateLimit Lab</a>
        <a href="#pillars">100-Pt Rubric</a>
        <a href="https://runglab.dev" target="_blank" rel="noopener noreferrer">RungLab</a>
        <a href="https://audit.runglab.dev" target="_blank" rel="noopener noreferrer">ReadyCheck</a>
        <a href="https://trust.runglab.dev" target="_blank" rel="noopener noreferrer">TrustCenter</a>
        <a href="https://pci.runglab.dev" target="_blank" rel="noopener noreferrer">CheckoutShield</a>
        <a href="https://tools.runglab.dev" target="_blank" rel="noopener noreferrer">Tools</a>
        <a class="nav-cta" href="https://www.creem.io/product/prod_1xNjoVPUlvR8nuykOmWCuD" target="_blank" rel="noopener noreferrer">$29 Impulse Kit</a>
        <button type="button" class="nav-free-cta" data-oc-scroll-lead aria-label="Not ready to buy? Get 1 tailored sample file free ($0 upfront)" title="Not ready to buy? Get 1 tailored sample file free ($0 upfront)">Free Sample ($0)</button>
      </nav>
    </div>
  </header>

  <main id="top">
    <section class="hero" id="auditor">
      <div class="container">
        <div id="payment-return-banner" class="order-banner hidden" role="status">
          <div class="order-banner-copy">
            <strong>Payment Return Received — Verifying your Creem order...</strong>
            <span>Check your email for order confirmation.</span>
            <span id="payment-return-target-details" hidden>
              Target saved in this browser session: <span id="payment-return-target"></span>.
              Estimated kit delivery is within 15 minutes of payment confirmation and receipt of your target.
            </span>
            <span id="payment-return-target-request">
              After you receive your Creem receipt, email your target API URL or domain and Creem order ID to
              <a href="mailto:support@runglab.dev?subject=WebhookSLA%20Guard%20%2429%20Kit%20Order">support@runglab.dev</a>.
            </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>B2B SaaS API &amp; Webhook Security Auditor · HMAC-SHA256 Replay Guard · Idempotency-Key · RFC RateLimit-*</span>
        </div>
        <h1>Ship bulletproof webhook security &amp; RFC RateLimit SLA readiness for $29 once.</h1>
        <p class="hero-sub">
          Audit any SaaS API or webhook origin across <strong>RateLimit &amp; Retry-After Headers (25 pts)</strong>,
          <strong>Scoped CORS, TLS &amp; Security Headers (25 pts)</strong>,
          <strong>HMAC-SHA256 Replay &amp; Idempotency-Key Readiness (30 pts)</strong>, and
          <strong>OpenAPI, Status &amp; security.txt (20 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">
              Offline Paste Headers / Config (POST /api/audit-headers)
            </button>
          </div>

          <form id="audit-url-form" novalidate>
            <div class="input-row">
              <label class="visually-hidden" for="url-input">Target API URL or domain</label>
              <input
                id="url-input"
                name="url"
                type="text"
                class="domain-input"
                placeholder="https://stripe.com or https://api.github.com"
                autocomplete="off"
                autocapitalize="off"
                spellcheck="false"
                required
              />
              <button id="url-submit-btn" type="submit" class="btn btn-primary btn-lg">
                Audit Webhook &amp; API SLA
              </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://stripe.com">
                  1-Click Live Demo Audit (stripe.com)
                </button>
                <button type="button" class="sample-btn live-demo-btn" data-live-url="https://api.github.com">
                  api.github.com
                </button>
                <span class="meta-label">Offline Presets:</span>
                <button type="button" class="sample-btn preset-demo-btn" data-preset="vulnerable-webhook-api">
                  Vulnerable API (10/100 -> 80/100)
                </button>
                <button type="button" class="sample-btn preset-demo-btn" data-preset="hardened-webhook-sla">
                  Hardened SLA (94/100 Grade A)
                </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">Endpoint URL label (zero outbound fetch)</label>
              <input
                id="offline-url-input"
                type="text"
                class="domain-input"
                value="https://api.acme-saas.com/v1/webhooks"
                placeholder="https://api.acme-saas.com/v1/webhooks"
                spellcheck="false"
              />
              <button id="offline-submit-btn" type="submit" class="btn btn-primary btn-lg">
                Audit Offline (0 Network Requests)
              </button>
            </div>
            <div class="offline-grid">
              <div>
                <label class="field-label" for="offline-headers-textarea">Pasted HTTP Response Headers</label>
                <textarea
                  id="offline-headers-textarea"
                  class="offline-textarea"
                  placeholder="HTTP/1.1 200 OK&#10;RateLimit-Policy: 120;w=60&#10;RateLimit-Remaining: 119&#10;Strict-Transport-Security: max-age=31536000; includeSubDomains&#10;Access-Control-Allow-Origin: https://app.acme-saas.com&#10;X-Content-Type-Options: nosniff"
                  spellcheck="false"
                ></textarea>
              </div>
              <div>
                <label class="field-label" for="offline-config-textarea">Webhook Config JSON (Optional)</label>
                <textarea
                  id="offline-config-textarea"
                  class="offline-textarea"
                  placeholder='{"hmacAlgorithm":"sha256","timestampHeader":"X-Webhook-Timestamp","replayWindowSeconds":300,"idempotencyKeyHeader":"Idempotency-Key","dlqEnabled":true}'
                  spellcheck="false"
                ></textarea>
              </div>
            </div>
            <div class="form-meta-row">
              <button type="button" id="fill-offline-sample-btn" class="sample-btn">
                Fill Sample Headers &amp; Webhook Config
              </button>
              <span class="meta-label">Zero-network analysis via POST /api/audit-headers</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 5-File Sample Kit ($29 Full 6-File Pack)
            </button>
            <button type="button" class="btn btn-ghost-lead btn-sm" data-oc-scroll-lead>
              Not ready to buy? Get 1 tailored 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="WebhookSLA Guard readiness 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">api.acme-saas.com</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 WebhookSLA Badges</span>
                  <span id="badge-preview-pill" class="rc-badge-preview good">
                    <span class="rc-badge-key">WebhookSLA Guard</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>
                  <h4 class="oc-lead-title">Want 1 tailored HMAC / RateLimit file free first? ($0 upfront)</h4>
                </div>
                <a class="btn btn-secondary btn-sm oc-verdict-jump" href="#pack-checkout-link">See $29 Kit &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 API URL or domain</label>
                  <input
                    id="oc-lead-target-verdict"
                    class="oc-lead-input"
                    type="text"
                    name="target"
                    required
                    autocomplete="off"
                    placeholder="api.company.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">Webhook Posture</span>
                  <strong id="signal-headline" class="saq-headline">HMAC-SHA256, Replay Window &amp; Idempotency Signals</strong>
                </div>
                <code id="subrequest-pill" class="baseline-pill">0 / 18 subrequests</code>
              </div>
              <p id="audit-disclaimer" class="saq-disclaimer"></p>
            </div>

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

        <div class="split-grid">
          <div class="leaks-column">
            <div class="section-subhead">
              <h3>Prioritized API &amp; Webhook Gaps (WH-001..WH-010)</h3>
              <p>Ranked by impact · Honest separation between $29 6-File Kit fixes and origin OpenAPI / status / security.txt tasks</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">$29 One-Time</span>
                <span id="pack-lift-badge" class="lift-pill">+0 pts kit</span>
              </div>
              <h3 id="pack-headline">WebhookSLA Guard $29 Impulse Kit</h3>
              <p id="pack-sub" class="fixpack-sub">
                Get all 6 copy-paste middleware, idempotency/DLQ, RateLimit header, SLA docs, and Node verifier files tailored to your endpoint.
              </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 $29 Kit</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 $29 Kit 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 5-File Sample Kit ($29 Full 6-File Pack)
                </button>
                <a
                  id="pack-checkout-link"
                  class="btn btn-primary btn-lg btn-block"
                  href="https://www.creem.io/product/prod_1xNjoVPUlvR8nuykOmWCuD"
                  target="_blank"
                  rel="noopener noreferrer"
                >
                  Get $29 Kit (Creem · Alipay / Card)
                </a>
                <p class="oc-checkout-microtrust">
                  Instant 6-file delivery • 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=WebhookSLA%20Guard%20%2429%20Kit%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=WebhookSLA%20Guard%20%2429%20Kit%20Order"
                >
                  PayPal Invoice-on-Delivery Fallback
                </a>
              </div>
              <p class="fixpack-footnote">
                Engineering baseline templates — review HMAC secret rotation and Redis/KV TTL settings before production rollout.
              </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 fix file first? ($0 upfront)</h3>
                <p class="oc-lead-sub">
                  Drop your work email — we'll send 1 ready-to-paste middleware or RateLimit file for your target 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 API 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="api.acme-saas.com"
                    />
                  </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 Fix 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 • Instant 6-file 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>RateLimit, CORS &amp; Edge Security Headers</h3>
              <p>IETF RateLimit-*, X-RateLimit-*, Retry-After, Access-Control-Allow-Origin, HSTS, CSP &amp; nosniff</p>
            </div>
            <div id="ratelimit-headers-grid" class="kv-list"></div>
          </div>

          <div class="panel breakdown-half">
            <div class="section-subhead">
              <h3>Webhook Docs, OpenAPI, Status &amp; security.txt</h3>
              <p>HMAC-SHA256, replay window, Idempotency-Key, DLQ, /openapi.json, status.&lt;domain&gt; &amp; RFC 9116</p>
            </div>
            <div id="webhook-ops-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 HMAC-SHA256, Idempotency &amp; RateLimit Header Simulator</h2>
              <p class="scope-panel-sub">Toggle webhook defense controls to preview exact middleware headers and SLA guarantees in the $29 Kit.</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 API Domain</label>
              <input id="config-domain-input" type="text" class="domain-input config-input" value="api.acme-saas.com" spellcheck="false" />
            </div>
            <div>
              <label class="field-label" for="config-company-input">Company / Platform 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 Webhook Security Toggles">
              <label class="scope-toggle-card">
                <input id="ctrl-hmac" type="checkbox" checked />
                <div>
                  <span class="scope-article-tag">Cryptography</span>
                  <strong>Constant-Time HMAC-SHA256</strong>
                  <small>WebCrypto subtle.sign + timing-safe compare over raw payload bytes</small>
                </div>
              </label>

              <label class="scope-toggle-card">
                <input id="ctrl-replay" type="checkbox" checked />
                <div>
                  <span class="scope-article-tag">Anti-Replay</span>
                  <strong>300s Timestamp Tolerance Window</strong>
                  <small>Rejects stale or future-skewed X-Webhook-Timestamp signatures</small>
                </div>
              </label>

              <label class="scope-toggle-card">
                <input id="ctrl-idempotency" type="checkbox" checked />
                <div>
                  <span class="scope-article-tag">Exactly-Once Semantics</span>
                  <strong>Idempotency-Key Deduplication</strong>
                  <small>24-hour atomic Redis / Cloudflare KV lock preventing duplicate side effects</small>
                </div>
              </label>

              <label class="scope-toggle-card">
                <input id="ctrl-dlq" type="checkbox" checked />
                <div>
                  <span class="scope-article-tag">Resilience</span>
                  <strong>8-Step Exponential Backoff + DLQ</strong>
                  <small>Jittered 15s -> 24h retries plus 14-day Dead-Letter Queue replay</small>
                </div>
              </label>

              <label class="scope-toggle-card">
                <input id="ctrl-ratelimit" type="checkbox" checked />
                <div>
                  <span class="scope-article-tag">RFC Backpressure</span>
                  <strong>IETF RateLimit-* + Retry-After</strong>
                  <small>Standardized RateLimit-Policy, Remaining, Reset &amp; 429 Retry-After</small>
                </div>
              </label>

              <label class="scope-toggle-card">
                <input id="ctrl-cors" type="checkbox" checked />
                <div>
                  <span class="scope-article-tag">Transport Defense</span>
                  <strong>Scoped CORS + HSTS / CSP / nosniff</strong>
                  <small>Eliminates wildcard * CORS and hardens API edge headers</small>
                </div>
              </label>
            </div>

            <div id="webhook-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">$29 One-Time</span>
              <span class="static-fixpack-tag">6 Production Files · CF Worker TS + FastAPI PY + Idempotency/DLQ + RateLimit + Node Verifier</span>
            </div>
            <h2>Preview the WebhookSLA Guard $29 Impulse Kit before checkout</h2>
            <p>
              Inspect live samples of <code>01-hmac-replay-middleware.ts</code>, <code>02-hmac-replay-middleware.py</code>,
              <code>03-idempotency-dlq-spec.md</code>, <code>04-ratelimit-headers-config.md</code>,
              and <code>06-verify-webhook-sla.mjs</code> (plus <code>05-webhook-security-sla-docs.md</code> in the 6-file kit).
            </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 5-File Sample Kit ($29 Full 6-File Pack)
            </button>
            <a
              class="btn btn-primary btn-lg"
              href="https://www.creem.io/product/prod_1xNjoVPUlvR8nuykOmWCuD"
              target="_blank"
              rel="noopener noreferrer"
            >
              Get $29 Kit (Creem · Alipay / Card)
            </a>
            <p class="oc-checkout-microtrust">
              Instant 6-file delivery • 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=WebhookSLA%20Guard%20%2429%20Kit%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 fix file first? ($0 upfront)</h3>
            <p class="oc-lead-sub">
              Drop your work email — we'll send 1 ready-to-paste HMAC middleware or RateLimit config file for your endpoint 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 API 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="api.acme-saas.com"
                />
              </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 Fix 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 • Instant 6-file 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 API &amp; Webhook SLA Readiness Rubric</h2>
          <p>Deterministic engineering checks across live endpoints and zero-network pasted headers / webhook configs.</p>
        </div>
        <div class="rubric-grid-4">
          <article class="panel rubric-card">
            <div class="rubric-score">25 pts</div>
            <h3>RateLimit &amp; Backpressure</h3>
            <ul>
              <li>Standard IETF <code>RateLimit-*</code> / <code>RateLimit-Policy</code> vs legacy <code>X-RateLimit-*</code> (15 pts)</li>
              <li><code>Retry-After</code> header &amp; documented backoff schedule (10 pts)</li>
            </ul>
          </article>
          <article class="panel rubric-card">
            <div class="rubric-score">25 pts</div>
            <h3>CORS, TLS &amp; Headers</h3>
            <ul>
              <li>HTTPS transport + strong HSTS <code>max-age&gt;=31536000</code> (8 pts)</li>
              <li>Scoped <code>Access-Control-Allow-Origin</code> (no wildcard <code>*</code>, 7 pts)</li>
              <li>CSP, <code>X-Content-Type-Options: nosniff</code> &amp; frame protection (10 pts)</li>
            </ul>
          </article>
          <article class="panel rubric-card">
            <div class="rubric-score">30 pts</div>
            <h3>HMAC, Replay &amp; Idempotency</h3>
            <ul>
              <li>HMAC-SHA256 signing &amp; <code>&lt;=300s</code> timestamp replay tolerance (15 pts)</li>
              <li><code>Idempotency-Key</code> deduplication &amp; Dead-Letter Queue (DLQ) spec (15 pts)</li>
            </ul>
          </article>
          <article class="panel rubric-card">
            <div class="rubric-score">20 pts</div>
            <h3>Contracts, Status &amp; Disclosure</h3>
            <ul>
              <li>Valid <code>/openapi.json</code> or <code>/swagger.json</code> contract (8 pts)</li>
              <li>Live <code>status.&lt;domain&gt;</code> or <code>/status</code> uptime page (6 pts)</li>
              <li>RFC 9116 <code>/.well-known/security.txt</code> with future <code>Expires:</code> (6 pts)</li>
            </ul>
          </article>
        </div>
      </div>
    </section>
  </main>

  <footer class="site-footer">
    <div class="container footer-inner">
      <div>
        <strong>WebhookSLA Guard</strong> by RungLab · API &amp; Webhook Security, HMAC-SHA256 Replay Protection, Idempotency &amp; RFC RateLimit Readiness
      </div>
      <div class="footer-links">
        <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="/security">Security</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="https://audit.runglab.dev" target="_blank" rel="noopener noreferrer">ReadyCheck</a>
        <a href="https://trust.runglab.dev" target="_blank" rel="noopener noreferrer">TrustCenter</a>
        <a href="https://pci.runglab.dev" target="_blank" rel="noopener noreferrer">CheckoutShield</a>
        <a href="https://tools.runglab.dev" target="_blank" rel="noopener noreferrer">Tools</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">$29 Impulse Kit Sample</span>
            <span id="pack-modal-domain-pill" class="modal-domain-pill">api.acme-saas.com</span>
          </div>
          <h2 id="pack-modal-title" class="fixpack-modal-title">Sample $29 WebhookSLA Guard Kit (5-File Interactive Preview)</h2>
          <p id="pack-modal-subtitle" class="fixpack-modal-subtitle">
            Inspect tailored middleware &amp; SLA specs 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 kit preview"
        >
          Close ✕
        </button>
      </div>

      <div class="fixpack-modal-body">
        <div
          id="pack-modal-tabs"
          class="fixpack-modal-tabs"
          role="tablist"
          aria-label="5 WebhookSLA Guard sample kit 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-ts">Edge TS</span>
              <code id="pack-preview-file-name" class="fixpack-viewer-filename">01-hmac-replay-middleware.ts</code>
              <span id="pack-preview-file-title" class="fixpack-viewer-title">HMAC-SHA256 &amp; Replay Guard</span>
              <span id="pack-preview-item-badge" class="deliverable-pts">WebCrypto TS</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">API 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="api.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_1xNjoVPUlvR8nuykOmWCuD"
            target="_blank"
            rel="noopener noreferrer"
          >
            Get $29 Kit (Creem · Alipay / Card)
          </a>
        </div>
        <div class="fixpack-modal-footer-trust">
          <span>Instant 6-file delivery • PayPal / Alipay / Card • 100% validation refund guarantee ·</span>
          <a
            id="pack-modal-mailto-link"
            href="mailto:support@runglab.dev?subject=WebhookSLA%20Guard%20%2429%20Kit%20Order"
          >
            PayPal Invoice (support@runglab.dev)
          </a>
        </div>
      </div>
    </div>
  </div>
</body>
</html>
