PCI DSS 6.4.3 and 11.6.1 for online stores: a practical guide to checkout scripts
What the two script requirements in PCI DSS 4.0 ask an online store to do, in plain words, and a simple way to keep the evidence ready for your assessor.
Card skimming attacks rarely touch a store's servers. They add a script to the checkout page, often through a compromised third-party file, that copies what customers type and sends it elsewhere. Pages keep working, orders keep coming in, and the theft can run for weeks.
PCI DSS 4.0 added two requirements aimed directly at this. Both became mandatory on 31 March 2025. This guide explains what they ask for and how to meet them without a large project. It is a practical summary, not legal or compliance advice: confirm the details with your assessor.
Requirement 6.4.3: know every script on the payment page
In short, for every script that runs in the customer's browser on the payment page, you need to:
- List it. Keep an inventory of all scripts, first-party and third-party.
- Justify it. Record why each one is needed.
- Authorise it. Have a way to confirm each script is approved.
- Check its integrity. Have a way to confirm a script has not been changed without approval.
Requirement 11.6.1: get told when something changes
This asks for a mechanism that detects unauthorised changes to the payment page, including its scripts and its security-related HTTP headers, as the customer's browser receives them, and alerts the right people. The check must run at least once every 7 days, or at a frequency your risk analysis justifies.
What this means for a Adobe Commerce, Magento or BigCommerce store
Checkout pages carry more scripts than most teams realise: analytics, tag managers, chat, reviews, fraud tools, payment SDKs and whatever the theme and extensions add. Each new extension or marketing tag can add another. In practice, meeting 6.4.3 and 11.6.1 comes down to three habits:
- Look at the checkout the way a shopper's browser does, and record every script and security header it receives.
- Approve each script once, with a reason, and keep that record.
- Check again regularly and after every release, and alert someone when a new script appears or an approved one changes.
Common gaps assessors find
- An inventory made once, in a spreadsheet, and never updated.
- No record of why each script is there or who approved it.
- Tag managers that can add new scripts without anyone noticing.
- No evidence of how often the page is checked, or who is alerted.
Keeping the evidence ready
An assessor will want to see the current inventory, the reason and approval for each script, the history of changes, and proof that checks run at the agreed frequency. If those come out of the same tool that does the watching, the evidence builds itself.
How StoreOnCall does it
StoreOnCall's checkout script watch opens your checkout in a real browser every 6 hours and after each deployment, the way a shopper would, and lists every script and security header it finds. You approve each script with a reason; a new outside script, or a change to an approved one, raises an urgent alert to the owner and the developer. The inventory, approvals and change history download as evidence for 6.4.3 and 11.6.1. Nothing is added to the store: it watches from outside.
Read more about the checkout script watch, or start with the free store scan, which flags unknown scripts on checkout today.