Cluster 11 · PCI DSS 6.4.3 · Adyen · Official SRI + Regional CDN

Adyen Web Drop-in & Components PCI DSS 4.0.1: SHA-384 SRI & Regional CSP Rules

Implement Adyen Web Drop-in (v5/v6) for PCI DSS v4.0.1 Req. 6.4.3 & 11.6.1: attach Adyen's SHA-384 SRI hashes to both adyen.js and adyen.css, pin regional checkoutshopper-live hosts, and enforce strict CSP.

Zero Telemetry · Strict CSP (connect-src 'none') · WebCrypto

Checkout HTML & CSP Header Linter

PCI DSS v4.0.1 Req. 6.4.3 & 11.6.1
Compliance Note: Automated engineering & preparation guidance for PCI DSS v4.0.1 Req. 6.4.3 & 11.6.1 — verify final SAQ/ROC scope with your QSA or acquiring bank.
PCI DSS 6.4.3 & 11.6.1 Readiness Score
85 / 100 (B)
AUDIT RISK — FIX SCRIPT & CSP GAPS
External Scripts
1
Missing SRI/Pin
0
Evergreen PSPs
1
CSP Header
STRICT
Extracted Payment Page Script Inventory
Script / Block Category Status Required Control (SRI vs CSP/Nonce)
https://checkoutshopper-live.adyen.com/checkoutshopper/sdk/5.65.0/adyen.js Evergreen PSP (Adyen Web Drop-in) ERROR
Static integrity= on evergreen PSP loader will break checkout when PSP deploys updates.
PCI-643-PSP-SRI: Static SRI attached to 1 evergreen PSP loader(s) ERROR
Stripe.js v3, PayPal SDK, and Paddle CDN rotate bytes dynamically. Remove integrity= from evergreen PSP loaders and authorize them via strict CSP + nonce + Req. 6.4.3 written justification.
PCI-1161-REPORT-OK: CSP violation reporting directive present PASS
Supports continuous script-injection anomaly telemetry.
PCI-CSP-ALLOW-OK: All extracted HTML <script> origins match strict CSP script-src PASS
Zero unauthorized or unallowlisted script hosts.
Generated Strict Checkout CSP Template
default-src 'self'; script-src 'self' 'nonce-REPLACE_PER_REQUEST' https://checkoutshopper-live.adyen.com; style-src 'self'; img-src 'self' data: https:; connect-src 'self' https://checkoutshopper-live.adyen.com; frame-src 'self' https://checkoutshopper-live.adyen.com; object-src 'none'; base-uri 'self'; frame-ancestors 'none'; form-action 'self'; report-uri https://eu-shop.example.com/__csp-report
PCI DSS v4.0.1 Req. 6.4.3 Script Justification Matrix (CSV)
"Merchant Origin","Script Location / Tag","Category","Authorization Status","Required Control (SRI vs CSP/Nonce)","Current Integrity / Nonce","Business Justification (PCI DSS v4.0.1 Req 6.4.3)","Req 11.6.1 Monitoring Cadence"
"eu-shop.example.com","https://checkoutshopper-live.adyen.com/checkoutshopper/sdk/5.65.0/adyen.js","Evergreen PSP (Adyen Web Drop-in)","Action Required","Strict CSP script-src host + 'nonce-...' + Req. 6.4.3 justification (Do NOT add static SRI)","sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC","Adyen Drop-in / Web Components. Pin versioned Adyen SDK URL with official sha384 SRI hash and restrict CSP script-src to checkoutshopper-live.adyen.com.","Automated weekly or continuous HTTP header + script hash check via CheckoutShield PCI (https://pci.runglab.dev)"
CheckoutShield PCI · Live Audit $49 PCI Compliance Pack

Monitor Live Checkout Scripts & Ship QSA-Ready Req. 6.4.3 + 11.6.1 Evidence

Need automated HTTP header + script tampering alerts (PCI DSS v4.0.1 Req. 11.6.1) or a tailored CSP, nonce middleware & script justification bundle? Run a free live scan on CheckoutShield PCI (https://pci.runglab.dev), order the $49 CheckoutShield PCI Pack via Creem, or request a PayPal invoice via [email protected].

Platform PCI DSS v4.0.1 Specifications & Controls

Control / Origin Hardened Pattern Req. 6.4.3 & 11.6.1 Rationale
Adyen JS + CSS SRI Both adyen.js & adyen.css require sha384 SRI Adyen provides versioned CDN paths; verify SHA-384 locally in our SRI Generator
Regional Adyen Origins checkoutshopper-live-us / -au / -apse .adyen.com Match CSP hosts to the exact regional Adyen environment your merchant account uses
CSP style-src & frame-src https://checkoutshopper-live.adyen.com Covers Drop-in stylesheets and secured card-input + 3DS2 challenge iframes
NPM Self-Hosted Alternative @adyen/adyen-web bundled via build pipeline Eliminates external script CDN dependency while still loading secured iframe fields

Adyen Web Drop-in — SRI-Protected JS & CSS + Strict Regional CSP

adyen-pci-checkout.html
<!-- Verify SHA-384 hashes for your exact Adyen SDK version before deploying -->
<link
  rel="stylesheet"
  href="https://checkoutshopper-live.adyen.com/checkoutshopper/sdk/5.65.0/adyen.css"
  integrity="sha384-COMPUTE_EXACT_CSS_SHA384_HASH"
  crossorigin="anonymous" />

<script
  src="https://checkoutshopper-live.adyen.com/checkoutshopper/sdk/5.65.0/adyen.js"
  integrity="sha384-COMPUTE_EXACT_JS_SHA384_HASH"
  crossorigin="anonymous"></script>

Adyen Strict CSP Header (EU + US Multi-Region Safe)

adyen-csp-header.txt
Content-Security-Policy: default-src 'self'; script-src 'self' 'nonce-REPLACE' https://checkoutshopper-live.adyen.com; style-src 'self' https://checkoutshopper-live.adyen.com; img-src 'self' data: https://checkoutshopper-live.adyen.com; connect-src 'self' https://checkoutshopper-live.adyen.com; frame-src 'self' https://checkoutshopper-live.adyen.com; object-src 'none'; base-uri 'self'; frame-ancestors 'none'; report-uri /__csp-report

Step-by-Step Hardening & Key Insights

  1. Pin an explicit Adyen SDK version (for example /sdk/5.65.0/adyen.js and adyen.css).
  2. Verify the SHA-384 SRI hash of both adyen.js and adyen.css using our SRI Hash Generator tab and include crossorigin="anonymous".
  3. Restrict Content-Security-Policy script-src, style-src, connect-src, and frame-src to your exact Adyen regional host.
  4. Monitor Adyen script headers and CSP violations under PCI DSS v4.0.1 Req. 11.6.1.
  • Adyen publishes immutable versioned SDK paths and recommends SHA-384 SRI hashes for both adyen.js and adyen.css.
  • Do not forget adyen.css when generating SRI: stylesheets loaded from third-party CDNs can also be vectors for CSS-based exfiltration if integrity is missing.
  • Using @adyen/adyen-web via npm reduces external script origins on your checkout page to zero if bundled into 'self', leaving only Adyen's iframe in frame-src.

Common Checkout Audit Pitfalls to Avoid

  • Copying a staging/test Adyen hash or CSP host (checkoutshopper-test) into production checkoutshopper-live.
  • Omitting crossorigin="anonymous" when adding integrity="sha384-...", which prevents Adyen Drop-in from loading.
  • Blocking 3DS2 issuer ACS redirect/iframe domains during challenge flows without monitoring CSP reports.

More PCI DSS v4.0.1 & SRI Checkout Guides

← Back to PCI & SRI Checker Hub · Cluster 4: Security Headers & CSP → · Cluster 7B: Stripe/Creem Webhook HMAC → · CheckoutShield PCI Live Scan → · $49 PCI Compliance Pack →

Frequently Asked Questions

Does Adyen Web Drop-in support Subresource Integrity (SRI)?

Yes. Adyen serves versioned SDK URLs with CORS headers so you can and should attach SHA-384 integrity= and crossorigin="anonymous" to both adyen.js and adyen.css.

Should I compute SRI for Adyen's CSS file too?

Yes! Our SRI Hash Generator supports switching Tag Type to <link rel="stylesheet"> to generate valid SHA-384 CSS SRI tags.

What if I install @adyen/adyen-web via npm instead of CDN?

Your application bundle becomes a first-party script ('self'), simplifying Req. 6.4.3 third-party inventory while still requiring CSP nonces and Req. 11.6.1 monitoring.