Jason KaferChecklist · 4 min read

The Checkout Script Checklist

The three questions I'd ask about every script on your checkout page, and exactly what PCI's payment page script rules ask for.

01 Why one file hit every store

On October 24, 2026, a Brazilian card-skimming gang changed one file on Convertr's platform, says the security firm Sansec. Convertr runs the online stores and the checkout for dozens of Brazilian fashion brands, and every one of those checkouts loaded a little tracking script from Convertr's own analytics server. The file wasn't payment code. It was Plausible, a free alternative to Google Analytics that anyone can run on their own server.

So the attackers didn't have to break into dozens of stores. They changed one file, and every store loaded it for them. Sansec says the code read the card number, the expiry date, the CVV, the cardholder's name and the CPF (Brazil's taxpayer ID) on checkout pages, and sent it all to the attackers' server.

If your software runs checkout for your merchants, you're the platform in that story. One script on your page can copy every merchant's cards at once.

02 List every script
Start with the list. Open your checkout page and write down every script that runs on it: your own, your analytics, your chat widget, anything a vendor asked you to add. If you have a developer, ask them for the list. If you don't, open the payment page in your browser, choose View Page Source, and search for the word script . Each one you find is a line on your list. Some scripts load other scripts after the page opens, so ask your developer for those too.
Every script on the checkout page is on one list. Yours and other companies', loaded from your server or theirs.
Scripts you host yourself are on it too. Convertr's tracker wasn't someone else's. It sat on Convertr's own server.
03 Three questions per script

For each script on the list, ask these three. If nobody can answer why it's there, take it off the page. The fewer doors you have, the safer you are.

Who approved it? A named person who owns it, not "the marketing team".
Why is it on the payment page at all? Write the reason down. "It was already there" is not a reason.
How would you know if it changed tonight? Convertr's file was still clean early on October 24, Sansec says, and Sansec's team caught card-stealing code in it that same night.
04 What the PCI rules ask for

PCI is the card security standard. Its payment page script rules have been required since spring 2025:

Requirement 6.4.3: every script on a payment page needs an owner who approved it, a written reason for being there, and a way to prove it hasn't changed. You keep that list as an inventory. Requirement 11.6.1: you need an alert any time the scripts or the security settings on that page change without approval, and it has to be checked at least weekly.

The rule doesn't ban analytics. It bans a script nobody owns.

I hear one line all the time: we use a hosted iFrame, so we're out of PCI scope. A hosted iFrame is a payment box from another company. If you're embedding someone else's JavaScript to capture payments, you're still in scope and still on the hook.

05 A script log you can copy

PCI isn't something you finish once a year. Plausible fixed a critical flaw in May, and Sansec suspects Convertr never installed that fix. The card-stealing code showed up in October, and a yearly PCI check in between can pass without catching it. Passing PCI is a receipt. It proves you checked once. The program is somebody owning that page every single week. Keep one row per script and check it weekly:

Checkout script log
Script name and where it loads from:
Owner who approved it:
Why it's on the payment page:
How we'd know if it changed (the alert):
Last checked (date, who):

Do this today. Open your checkout page, list every script on it, and take off any script nobody can explain.

Sources

Jason's LibraryLibrary card
Free access

Keep reading free with your library card

One email opens this checklist and all 21 resources in Jason's library. No account, no password.

It opens right here, and a copy goes to your inbox. You'll also get Jason's new resources. Unsubscribe in one click.

Thanks
You finished it
Now do one thing

Open your checkout page today, list every script on it, and take off any script nobody can explain.

Saving works best in your phone's browser. A copy is also in your inbox.