# CheckoutShield PCI by RungLab

> Instant PCI DSS v4.0.1 Requirements 6.4.3 (payment-page script inventory, authorization & SRI) and 11.6.1 (HTTP header & script tamper-detection baseline) auditor.

CheckoutShield PCI audits live checkout URLs or pasted rendered checkout DOM HTML with an SSRF-hardened Cloudflare Worker, computes live WebCrypto SHA-384 SRI hashes for static scripts while correctly flagging evergreen dynamic PSP loaders (Stripe.js v3, PayPal SDK, GTM, Meta Pixel, Paddle v2) as `csp-allowlist-or-nonce`, and generates a deterministic SHA-384 tamper baseline.

## Endpoints & Live Auditor
- [CheckoutShield PCI Web App](https://pci.runglab.dev/): Live URL scanner, Paste Checkout HTML analyzer & 6-file Evidence Pack preview
- [API Health](https://pci-api.runglab.dev/health): Cloudflare Worker health endpoint
- [Live URL Audit API](https://pci-api.runglab.dev/api/audit?url=https://stripe.com/pricing): GET JSON scorecard + live WebCrypto SHA-384 hashes + SAQ indicators
- [SPA / Auth HTML Audit API](https://pci-api.runglab.dev/api/audit-html): POST `{ "url", "html", "headers" }` (max 512 KiB) for rendered DOM behind authentication
- [CheckoutShield PCI Evidence Pack ($49)](https://www.creem.io/product/prod_6m0K00seUNMeHPQ2WkMkrP): 6 QSA-ready compliance deliverables (`00-EXECUTIVE-SUMMARY.md`, `01-PCI-6.4.3-SCRIPT-INVENTORY.csv`, `02-SRI-PINNED-SCRIPT-TAGS.html`, `03-CSP-SECURITY-HEADERS.md`, `04-PCI-11.6.1-TAMPER-BASELINE.json`, `05-tamper-check.mjs`)

## 100-Point Scoring Rubric
- **Req. 6.4.3 Script Inventory, Auth & SRI (50 pts)**: Static script SHA-384 SRI coverage, high-risk marketing/replay tracker bloat, inline script hygiene, external origin sprawl, and strict CSP governance for evergreen PSP loaders
- **Req. 11.6.1 Header & Tamper Baseline (30 pts)**: Strong HTTP CSP script-src, CSP `report-uri`/`report-to` telemetry, `X-Content-Type-Options: nosniff`, `Referrer-Policy`, and `Permissions-Policy`
- **Transport & Framing Hygiene (20 pts)**: HTTPS transport, permanent HTTP->HTTPS redirect, strong HSTS, clickjacking protection (`X-Frame-Options`/`frame-ancestors`), and SAQ A vs SAQ A-EP/D card-form isolation indicators (informational only, not an official QSA AOC)

## RungLab Ecosystem
- [RungLab Home](https://runglab.dev): Developer security, compliance & AI-readiness suite
- [ReadyCheck](https://audit.runglab.dev): Live AEO, Email Deliverability & Security Headers auditor
- [VendorReady SBOM](https://sbom.runglab.dev): Zero-upload SOC 2 SBOM, CVE/KEV & license auditor
- [SpecDiff](https://spec.runglab.dev): OpenAPI breaking-change diff & OWASP API Top 10 auditor
- [MCPDiet](https://mcp.runglab.dev): MCP tool token optimizer & Context-70 linter
- [PCI SRI Checker Tool](https://tools.runglab.dev/pci-sri-checker/): Browser-side SRI hash utility
- [2026 Checkout PCI Benchmark (N=38)](https://tools.runglab.dev/research/b2b-checkout-pci-sri-benchmark-2026/): Empirical Req. 6.4.3 & 11.6.1 benchmark across 38 live checkout & pricing pages (median 36/100, 47.4% missing CSP, 54.1% zero SRI, 55.3% marketing trackers)
- [Support](mailto:support@runglab.dev): PayPal invoice requests & technical support
