Inventory every script on your payment pages, justify each one in writing, and prove none of them changed without approval. Here is what 6.4.3 asks for, and what an assessor looks for.
A method to confirm each payment-page script is authorized, a method to assure each script's integrity, and an inventory with a written business justification per script.
SINCE WHEN
Mandatory since 31 March 2025. Until then it was a future-dated best practice.
THE USUAL FAILURE
The inventory lists the tags you added, not the scripts your vendors loaded. 6.4.3 applies to every script that executes, whoever put it there.
Short on time? The fastest way to a correct inventory is to start from what actually executed in real sessions, then approve or remove each entry.
ON THIS PAGE
What is PCI DSS requirement 6.4.3?
PCI DSS 6.4.3 requires you to manage every script that loads and executes in the consumer's browser on a payment page, by confirming each script is authorized, assuring the integrity of each script, and maintaining an inventory with a written justification of why each one is necessary. It is part of PCI DSS v4.0.1; it started as a future-dated requirement and became mandatory on 31 March 2025 under v4.0.1. It exists because card-skimming attacks such as Magecart do not compromise your server: they add or alter a script that runs in your customer's browser, reads the card fields, and sends the contents elsewhere. An inventory you can trust is the control that makes an unapproved script visible.
What requirement 6.4.3 actually says
PCI DSS v4.0.1 requirement 6.4.3 applies to all payment page scripts that are loaded and executed in the consumer's browser. It asks for three things, and an assessor will look for all three separately:
01
A method to confirm each script is authorized
Someone with authority has approved this script for this page. In practice that means a review step and a record of who approved what, not a note in a spreadsheet nobody has opened since the last assessment.
02
A method to assure the integrity of each script
You can show the script has not been altered since you approved it. Pinning the payload hash is the cleanest way to do this, because it detects a change in content even when the URL is unchanged.
03
An inventory with written justification
A list of every script, with a written business reason for why each one is necessary. The justification is per script, not per vendor, which is where most inventories fall short.
Requirement 6.4.3 is an authorisation record: every script on the payment page, where it came from, and why it is allowed to be there.
Building the payment-page script inventory
The hard part is not writing the list. It is knowing what to put on it. Most teams start from the tags they remember adding, and the inventory is wrong on day one, because a tag manager loads vendors, and those vendors load their own. A script you never chose is still a script that executed on your payment page, and 6.4.3 does not distinguish between the two.
Starting from what actually executed inverts the problem. The tag reports every script that ran in a real session, so the inventory begins as a complete list of observed reality, and your job becomes approving, justifying or removing each entry rather than trying to remember what is there.
You approve a vendor, the vendor loads its own vendors. 6.4.3 applies to every script that executes, not only the ones you added yourself.
Script integrity, and why the URL is not enough
A vendor can change the contents of a file without changing its address. If your integrity check is "the script is still loading from the domain we approved", you will not notice. Subresource Integrity solves this for static files by pinning a hash in the markup, but it breaks the moment a vendor legitimately updates their script, which is why few teams run SRI on third-party tags in production.
Pinning approval to the payload hash gets the same guarantee without the breakage. When a vendor ships new code, the script does not silently continue: it returns to the inventory as a change that needs review. You decide whether to approve the new version. That is the difference between an inventory that reflects reality and one that reflects the day it was written.
See what is already running on your checkout. The free plan covers 1,000 page views a month.
A justification answers why this script needs to be on this page, not why the vendor is useful in general. Assessors notice the difference, and the second version is also the one that makes it obvious when a script should be removed.
NOT A JUSTIFICATION
"Analytics"
HOLDS UP
"Measures checkout completion rate, required by the growth team, reviewed quarterly"
Three questions make most justifications write themselves: what does this script do on the payment page, who owns the decision to keep it, and what breaks if it is removed. If the third answer is "nothing", you have found something to cut, which is the cheapest compliance work available.
PCI DSS6.4.3 & 11.6.1
Vendors 6.4.31Headers 11.6.1
SStripejs.stripe.comApproved
GGoogle Tag Managergoogletagmanager.comApproved
KKlaviyostatic.klaviyo.comNeeds review
HHotjarstatic.hotjar.comApproved
Security headerscheckout.northwind.com, as the browser received them
Content-Security-Policy
2 values
Strict-Transport-Security
1 value
X-Frame-Options
1 value
Permissions-Policy
1 value
script-src added cdn.newvendor.io
HHotjarAnalytics · 2 scriptsNeeds review
Vendor justification
Why this vendor runs on your payment pages
Draft with AIApprove
Approved, with the reason on record
Who has to comply with PCI 6.4.3
You will see this requirement written both as PCI 6.4.3 and as PCI DSS 6.4.3. They are the same thing, and the short form is what most people search for. It has been mandatory since 31 March 2025, when it stopped being a future-dated best practice under PCI DSS v4.0.1. It applies to entities with payment pages where scripts execute in the consumer browser. SAQ A merchants received a carve-out in the January 2025 update, but it is narrower than most people assume: you have to confirm your site is not susceptible to attacks from scripts that could affect your ecommerce systems, which is a statement you should be able to support. If you embed a payment iframe, the iframe belongs to your provider but the page around it is yours, and that page is where a script can reach the form.
Yes, and this is often missed. 6.4.3 covers every script that loads and executes on the payment page, which includes your own bundle and anything a build-time dependency pulled into it. A backdoored npm package ends up in your first-party code and runs with full page access, so treating first-party as automatically trusted leaves a real gap.
The full chain rather than the first link. A tag manager loads a vendor, that vendor loads a CDN helper, and that helper loads a pixel from a company you have never heard of. Each load is recorded with the call stack that triggered it, so the inventory shows the depth rather than stopping at the scripts you added yourself.
Yes, and this is the most common gap. The requirement covers all scripts loaded and executed in the consumer's browser on a payment page. If your tag manager loads a vendor and that vendor loads two more, all of them executed on your payment page and all of them belong in the inventory. Starting the inventory from observed sessions rather than from memory is the only reliable way to catch them.
Yes in principle, and rarely in practice. Nothing in the standard requires a tool. The difficulty is that a spreadsheet records what you believed on the day you wrote it, while 6.4.3 also asks you to assure integrity, which means detecting change. A static list cannot tell you a vendor shipped new code last Tuesday, so most teams end up needing something that watches.
Hashing counts, and it is the most practical method. You record the payload you approved and detect when what loads no longer matches it. Subresource Integrity achieves this in markup, but it breaks when a vendor legitimately updates, which is why it is rarely used on third-party tags. Pinning approval to the observed payload hash gives the same assurance and turns a vendor update into a review item.
Partly, and the carve-out is narrower than it sounds. The January 2025 update exempted SAQ A merchants from certain requirements, but it asks them to confirm their site is not susceptible to attacks from scripts that could affect their ecommerce systems. If you embed a payment iframe, the page around the iframe is still yours and is still where a malicious script would sit. PCI SSC FAQ 1588 sets out two ways to make that confirmation: apply 6.4.3 & 11.6.1 techniques to the page, or get written confirmation from your PCI DSS compliant payment provider that its solution protects your page from script attacks.
This is usually quick: most teams have a complete picture within a few days. The tag starts reporting scripts immediately, and the work is reviewing the list rather than building it. The slower part is chasing internal owners for justifications, which is a people problem rather than a technical one.
No, and it is worth being precise. 6.4.3 is about authorisation, integrity and inventory. It does not mandate blocking. Blocking is how you act on what the inventory tells you, and some assessors view a control that can only observe as weaker than one that can also stop a script, which is worth confirming with your own assessor early.
No, not for their 3DS function. The PCI Security Standards Council says scripts loaded for 3-D Secure, through the iframe your 3DS server provides, do not need validating under 6.4.3, because of the trust relationship you already have with your 3DS provider. Any script that runs for another purpose on the same page is still in scope.
Define which pages are payment pages, inventory every script that executes on them in real sessions, write a business justification for each, record how each one is authorised, and pin its integrity to the contents rather than the URL. Keep that record current. Our step-by-step guide covers each step.
Any method that produces the inventory, justification, authorisation and integrity record the requirement asks for. That can be a process built on CSP, Subresource Integrity and a spreadsheet, or a tool that builds the inventory from real sessions. Our PCI compliance software page compares the approaches.
A justification that is specific to the script, approved by a named person, and still current. Automation helps with the parts that are tedious by hand, the inventory and the history of changes, but it does not write the business reason: a person still has to say why each script needs to be on the payment page.
Assessors typically sample a few scripts and ask who approved each one, when, and why. A record with an approval decision per script, a name, a date and the changes since answers that directly. Generic text such as "required for site functionality" on every script tends to draw follow-up questions.
Generally not. 6.4.3 covers the scripts you, your vendors and your platform cause to load on the payment page. Browser extensions run in the visitor's own browser, under the visitor's control, and every visitor brings different ones.
A tool that watches real sessions will still see them, so the useful signal is how many sessions saw a script. One visitor almost always means an extension; many visitors means it is on your page and belongs in the inventory.
Yes, to the scripts on your own page. PCI DSS v4.0.1 added applicability notes for exactly this case: the requirement applies to scripts in your webpage that embeds a third-party service provider's payment form, such as an iframe, and not to the scripts inside the provider's iframe, which are the provider's to manage.
The iframe keeps the card fields out of reach of your scripts, but a script on the parent page can still draw a fake form over it or capture keystrokes before the iframe receives them. That is why the parent page stays in scope.
Usually four things: the inventory of every script on your payment pages, a written business or technical justification for each, a record of how and by whom each script was authorised, and the method that assures each script's integrity, with proof that it is running. Our maps each item to the testing procedures.
It ranges from staff time for a manual process to enterprise tools priced on request. Script Monitoring is free for up to 1,000 page views a month, with both requirements and the evidence packs included, and for 100,000 payment-page views. Our guide shows where the client-side line item lands.
Treat the container and every tag it fires as scripts in scope. Script Monitoring records each script GTM adds in the real session, attributes it to its vendor and shows that GTM loaded it, so it gets a justification like any other. On Pro and Enterprise, the GTM container allowlist sets which containers your site may load and alerts on any other. See GTM containers.
There are two. 6.4.3.a: the assessor examines your documented process for managing payment-page scripts, meaning how a script is authorised, how its integrity is assured and who keeps the inventory and justifications current. 6.4.3.b: the assessor examines the inventory itself, interviews the people who run it, and checks that it matches the scripts the payment page actually runs, each with a written business or technical justification. Script Monitoring builds that inventory from 100% of real sessions and keeps a justification per vendor on the PCI DSS Vendors tab, and the weekly evidence pack carries both. The full list of what an assessor asks for is in our 6.4.3 & 11.6.1 evidence checklist.
In Chrome DevTools, the Sources panel lists the top page and each iframe as separate frames, and the console's context menu switches between them, so you can see which scripts belong to which frame. Scripts inside your payment provider's cross-origin iframe are the provider's responsibility; the scripts on your own page around it are yours and are in scope for 6.4.3. Script Monitoring's tag runs in your page, so it records the scripts on the parent page in every real session, not the ones inside the provider's iframe.
Neither does on its own, and both are worth keeping as supporting controls. Here is how each maps to what an assessor asks for:
Inventory of every script that ran, with a justification: a CSP lists allowed origins, not what ran; a WAF sees requests to your server, not what runs in the browser; script monitoring builds it from real sessions.
Authorisation record: neither a CSP nor a WAF records which scripts were approved and why; in Script Monitoring each vendor is approved or blocked with a written justification.
Integrity: a CSP origin allowlist still passes a changed file from an allowed host, and hashes (SRI or CSP hashes) break when a vendor legitimately updates; a WAF does not check it; Script Monitoring pins the approved payload and returns changed code for review.
11.6.1 alerts on changed scripts, page content or security headers as the browser received them: a CSP sets a header but does not alert when it changes, and a WAF cannot see it; Script Monitoring alerts on both.
A CSP in enforce mode does block unlisted origins and injected inline script, and a WAF does filter injection attempts against your server. Neither can show an assessor what ran in your customers' browsers last week.
Keep a list of every piece of JavaScript that runs on your checkout and payment pages, including the ones your apps, pixels and tag manager add, write one sentence on why each is there, and have a way to notice if one of them changes. That is the whole idea: know what runs where your customers type their card, and be able to show you approved it. Script Monitoring builds the list for you from real visits, and the free plan covers 1,000 page views a month.
Watch the short answer
What Do PCI DSS 6.4.3 & 11.6.1 Require?
PCI DSS 6.4.3 & 11.6.1 are the two PCI DSS v4.0.1 requirements about the scripts on your payment pages, mandatory since 2025. This video reads both line by line: the three things 6.4.3 asks for (authorization, integrity, an inventory with a written justification per script), what 11.6.1's change- and tamper-detection mechanism must do, and the two separate records to hand your QSA.
Read the transcript
PCI DSS 6.4.3 asks you to authorize, integrity-check and justify every script on your payment pages. 11.6.1 asks you to detect unauthorized changes to those pages and their HTTP headers, and alert a person, at least every seven days. Script Monitoring is one tag that watches every script on your payment pages, in every session, and turns it into this evidence. Both have been mandatory since 2025, because card skimming doesn't touch your servers. It runs in your customer's browser. 6.4.3 applies to all payment page scripts that are loaded and executed in the consumer's browser. That includes scripts your vendors load, not just the ones you added. An assessor looks for three things, separately. One, authorized: a review step and a record of who approved what. Two, integrity: a vendor can change a file without changing its address, so pin the payload hash you approved, not the URL. Three, the inventory: a written justification per script, not per vendor. Analytics is not a justification. Measures checkout completion rate, required by the growth team, reviewed quarterly, is. 11.6.1 asks for a change- and tamper-detection mechanism. It must alert personnel to unauthorized modification of the HTTP headers and the contents of your payment pages, as received by the consumer browser, at least once every seven days. In practice, keep a weekly record of every distinct value seen per header. Two values means something changed. And the alert is the deliverable: a dashboard nobody opened is not an alert. What do you hand your QSA? Two records, kept separate. For 6.4.3: the inventory, a justification per script, who authorized it, and its integrity. For 11.6.1: the pages and headers checked, how often, every change, and proof a person was alerted. Script Monitoring builds both from real sessions into a weekly evidence pack, with the two records kept distinct, retained eighteen months. 6.4.3 & 11.6.1 are on every plan, Free too, at 1,000 page views a month. Pro starts at $99 a month. Start for free at scriptmonitoring.com.