PCI DSS 4.0 is the security standard for businesses that handle card payments. It expects you to keep track of the scripts that run on your payment pages and to be able to show that each one belongs there. This page explains how that monitoring works and what you do when something unexpected appears.
What counts as a payment page
Not only the final payment step matters. The checkout, the cart and the page where payment details are entered all load scripts, and any of them can be a target. Monitoring therefore starts with recognising which pages in your shop play this role, so that the right scripts are kept on the list.
How to monitor your payment page for skimmers and PCI DSS 4.0 in practice
The first scan of your payment pages becomes the baseline, a list of the scripts that normally load there. After that, every script from a new domain is a change worth looking at. A change is not always a problem, because a new plugin or a tracking tool you added yourself will show up as well. What matters is that someone decides whether the change is expected.
What to do when a new script appears
First ask yourself whether you or a colleague recently added something, such as a plugin, an update or a marketing tag. If so, you can approve it. If you cannot explain where the script comes from, treat it as suspicious and have it checked before anything else. Scripts from well-known payment providers are already allowed, so they do not need your attention each time.
When to block unknown scripts
You can go one step further and let only approved scripts run on your payment page. This offers stronger protection, but it can also stop a script that legitimately belongs there. That is why it makes sense to monitor for a while first, so everything that should be there is already approved.
Frequently asked questions
Why can't I see a skimmer myself?
A skimmer runs in the background in the visitor's browser and the page usually looks and works exactly as before. Without monitoring of the scripts, the change often goes unnoticed for a long time.
Does a new script always mean my shop was hacked?
No. Most new scripts come from plugins, updates or tools you added yourself. The point of an alert is that you check it and either approve it or have it investigated.
Is monitoring enough for PCI DSS 4.0?
Keeping track of the scripts on your payment pages is one part of what the standard asks for. Which requirements apply to you also depends on how you process payments, so check that with your payment provider.