Code, Cloud, Runtime and AI Pentest are now part of Longstride.See what’s new
Guide · 8 min read

PCI DSS 6.4.3 and 11.6.1: a practical guide for merchants

What the payment-page script requirements demand, what your QSA will ask for, and how to meet them.

Why these requirements exist

Web-skimming attacks (often called Magecart) inject JavaScript into checkout pages to copy card details as shoppers type them. The attack runs in the shopper’s browser, so server-side controls never see it. PCI DSS v4.0 added two requirements, mandatory since 31 March 2025, to close that gap.

Requirement 6.4.3: manage payment-page scripts

For every script that runs in the consumer’s browser on a payment page, you must:

  • Authorise it: someone confirms it should be there;
  • Assure its integrity: a method to confirm it hasn’t been tampered with;
  • Keep an inventory with a written business or technical justification for each one.

Requirement 11.6.1: detect changes and tampering

You need a mechanism that detects unauthorised changes to the HTTP headers and the content of payment pages as received by the consumer browser, and alerts personnel. It must run at least weekly, or at a frequency set by your targeted risk analysis. Real-time is better.

What PCI doesn’t require

Neither requirement mandates blocking scripts. They require inventory, justification, integrity and change detection with alerting. Buy for what the standard asks, and for the evidence your QSA will accept.

The three approaches on the market

ApproachStrengthsTrade-offs
On-page tagSees what real browsers run, including conditional scriptsThe tag is itself a script on the page, so it must be minimal and integrity-pinned
ProxySees every script payload in transitYour page traffic flows through the vendor
Synthetic crawlerNo code on your pageCan miss session- or geo-specific scripts; can be served a clean page

A practical checklist

  1. List your payment pages, including hosted fields and iframes from your PSP.
  2. Build the inventory from real browsers, not just your source code: tag managers add scripts at runtime.
  3. Record an owner and justification for each script.
  4. Set up change detection with alerts to a monitored channel.
  5. Keep the history: your QSA will want evidence over time, not a screenshot.

How Longstride helps

The Web module’s Longstride tag builds the inventory from real shoppers’ browsers, gives you an approval and justification workflow, and alerts on new scripts and off-site form posts. It’s included in the Business plan. See the PCI solution.

This guide is a practical summary, not a substitute for the PCI DSS standard or advice from your QSA.

Get started

See your exposure in a 30-minute walkthrough.

We’ll scan your estate live, show you what attackers see, and leave you with a prioritised plan, whether or not you buy.