PCI DSS v4.0.1 Requirement 6.4.3 & 11.6.1: Stopping Magecart & E-Skimming | Lorikeet Security Skip to main content
Back to Blog

PCI DSS v4.0.1 Requirement 6.4.3 & 11.6.1: Stopping Magecart & E-Skimming

Lorikeet Security Technical Team September 23, 2026 10 min read PCI DSS & Web Security

Digital skimming attacks (commonly known as Magecart) represent one of the most prolific threats to e-commerce and SaaS platforms worldwide. Rather than breaking into encrypted backend payment databases, attackers compromise third-party JavaScript libraries (such as chat widgets, analytics trackers, or tag managers) and inject code that silently exfiltrates credit card numbers directly from the consumer’s browser.

To shut down this attack vector, the PCI Security Standards Council introduced two mandatory requirements in PCI DSS v4.0.1: Requirement 6.4.3 (preventive script management) and Requirement 11.6.1 (detective tamper monitoring).

These requirements are no longer future-dated recommendations. Qualified Security Assessors (QSAs) are actively auditing production checkout pages against them today.

The Iframe Misconception: Merely loading your credit card form via an embedded iframe (such as Stripe Elements or Braintree Drop-in) does not exempt you. The hosting parent page falls under Requirements 6.4.3 and 11.6.1 because malicious JavaScript running on the parent page can steal keystrokes or inject fraudulent overlays.

Deep Dive: Requirement 6.4.3 (Script Inventory & Integrity)

Under Requirement 6.4.3, organizations must manage all scripts loaded on payment checkout pages through three mandatory controls:

  1. Method for Authorization: You must maintain a formal procedure confirming that every script executing on payment pages is authorized by your security or engineering team.
  2. Written Business Justification: Each script must have documented rationale explaining why it is required on the payment page. Marketing tags that have no purpose on a checkout form must be stripped.
  3. Integrity Assurance: You must deploy technical mechanisms to ensure that the code within each script has not been modified.

Technical Implementation of 6.4.3

The two most effective technical standards for meeting Requirement 6.4.3 are Subresource Integrity (SRI) and Content Security Policy (CSP):

<!-- Example: Subresource Integrity (SRI) --> <script src="https://cdn.example.com/checkout.js" integrity="sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC" crossorigin="anonymous"></script>

Deep Dive: Requirement 11.6.1 (Tamper Detection & Alerting)

Requirement 11.6.1 mandates a detective control to alert your team whenever unauthorized changes occur to payment page headers or script contents:

QSA Audit Evidence: What You Must Provide

When your QSA arrives for field assessment, you must present:

Validate Your PCI DSS 4.0 Client-Side Controls

Eliminate Magecart exposure and pass your QSA review. Lorikeet Security evaluates your payment page script posture, CSP policies, and client-side integrity during our specialized PCI penetration tests.

-- views
Link copied!
Lorikeet Security

Lorikeet Security Team

Penetration Testing & Cybersecurity Consulting

Lorikeet Security helps modern engineering teams ship safer software. Our work spans web applications, APIs, cloud infrastructure, and AI-generated codebases — and everything we publish here comes from patterns we see in real client engagements.

Lory waving

Hi, I'm Lory! Need help finding the right service? Click to chat!