Checkout Skimming via Analytics Scripts: 7 Fixes

On this page
Checkout skimming is when hidden code on a payment page copies card details as shoppers type them. On October 24, 2026, Sansec found a skimmer inside the analytics script that Convertr, a Brazilian e-commerce platform, loads on its checkout pages.[1]
The lesson reaches well beyond Brazil. Any script on your checkout can read what shoppers type, including marketing tools you host yourself. Here is what happened, and seven steps to lock down the scripts on your payment pages. Most of them need no code.
What happened
Convertr runs online stores and checkouts for dozens of Brazilian fashion brands.[1] Convertr says its merchants have sold more than R$2 billion through the platform.[1]
The attackers added a hidden block of code to the end of Convertr’s Plausible tracker file. Plausible is an open-source alternative to Google Analytics, and Convertr ran its own copy on its own server.[1][2] Every Convertr checkout loaded that file, so the skimmer ran on the checkout pages of every merchant on the platform.[1][2]
The code stayed quiet on other pages. At checkout, it collected the card number, expiry date, CVV, cardholder name and CPF (Brazil’s taxpayer number) and sent them to the attackers’ server.[1] Within two days, the attackers changed it to match the exact field names of Convertr’s payment system.[1][2]
How they probably got in
Sansec says Convertr installed Plausible Community Edition 3.0 in 2025 and never updated it.[1] Versions 3.0.0 through 3.2.0 have a critical flaw. Anyone can run commands on the server through a /storybook page, without logging in.[1] Plausible fixed it in version 3.2.1 by removing that page entirely.[3] Sansec suspects this flaw was the way in, but it couldn’t confirm that without Convertr’s server logs.[1]
Timeline
| Date (UTC) | What happened |
|---|---|
| May 15, 2026 | Plausible ships Community Edition 3.2.1 with the fix.[1][3] |
| Oct 24, 05:03 | Last clean copy of Convertr’s tracker seen.[1] |
| Oct 24, 23:22 | Sansec detects the skimmer.[1] |
| Oct 26 | Skimmer updated to target Convertr’s payment system. Convertr is still serving it that afternoon.[1] |
| Oct 27, 12:54 | Convertr says the skimmer is removed and Plausible is patched.[1] |
| Oct 27, 13:08 | Sansec confirms the tracker is clean.[1] |
Convertr says it is notifying affected merchants, payment providers and authorities.[1] Sansec warns that browsers may keep the infected file cached for up to 24 hours after cleanup.[1]
Sansec has tracked the group behind this since July 2024. Until now it broke into Magento, OpenCart and WooCommerce stores one at a time, and some stores ran its skimmer for nearly two years.[1] Convertr is the first time Sansec has seen it go after a platform that many stores share.[1]
Why it matters for your site
- Shoppers can’t see it. The checkout looked and worked as normal. The skimmer simply read what people typed.[1]
- One file, many stores. A single changed file on a shared analytics server reached every store that loaded it.[1][2]
- Marketing tools are part of your security. The suspected way in was an analytics server left on an old version for more than five months after a fix shipped.[1]
- WooCommerce is on this group’s list. It has attacked Magento, OpenCart and WooCommerce stores before.[1]
Trusted code turning bad isn’t new. Earlier this month, downloads of Rank Math PRO 3.0.123 from October 15 and 16 contained malware.[6] The safest assumption is that any script you load can change without warning.
How to prevent checkout skimming: 7 steps
- List every script on your checkout and payment pages. Open the page, open your browser’s developer tools, and look at the Network tab filtered to JS. Write down each script, who provides it and why it’s there. Analytics, chat widgets, heatmaps, A/B tests and tag managers all count.
- Remove what checkout doesn’t need. Most marketing scripts only need to run on product and landing pages. Each one you take off the payment page is one less thing that can read card fields.
- Patch self-hosted tools like your website. If you run your own analytics, tag server or chat tool, put it on the same update schedule as WordPress and PHP. Convertr’s analytics hadn’t been updated since 2025.[1] The same goes for the web server itself, as our PHP2Shell live guide shows.[7]
- Running Plausible Community Edition? Update to 3.2.1 or later now. If you can’t yet, block the
/storybookpath at your reverse proxy.[3] Sansec also advises checking your access logs for/storybookrequests. If you find any, rebuild the server, change its secrets and compare the tracker files with the official release.[1] - Pin scripts that shouldn’t change. Subresource Integrity (SRI) adds a fingerprint (a hash) of the file to the script tag. If the file changes, the browser refuses to load it.[4] It works best for files with fixed versions. A script the vendor updates in place will stop loading, so ask for a versioned link first.
- Watch for surprise scripts with a report-only policy. A Content Security Policy (CSP) is a header that lists where your pages may load scripts from. In report-only mode it blocks nothing and reports anything outside the list, so you can test safely before you enforce it.[5] Ask your developer or host to start with the checkout.
- Have a plan for a vendor breach. If a provider whose script runs on your checkout is compromised, ask them to confirm the file is clean and tell your payment provider, as Sansec advises Convertr merchants.[1] Remember that shoppers’ browsers may keep a bad copy for up to a day.[1]
What the SRI and CSP code looks like
This is a pinned script tag. The integrity value is the file’s hash, and crossorigin is required for files from another domain.[4]
<script src="https://cdn.example.com/app-2.4.js"
integrity="sha384-(hash of the file)"
crossorigin="anonymous"></script>And this is a report-only policy that allows scripts from your own site and one payment domain, shown on several lines for reading. Reports go to the endpoint named in the first header, which must be set for reports to be sent.[5]
Reporting-Endpoints: csp="https://example.com/csp"
Content-Security-Policy-Report-Only:
script-src 'self' https://pay.example.com;
report-to cspIf you shop online
Sansec’s advice for shoppers: if you paid by card on a Brazilian store since October 24 and the payment page address contained checkout.convertr, ask your bank to block and replace the card.[1] BleepingComputer suggests single-use virtual cards for online shopping.[2]
Where Zero Spam fits
The free Zero Spam WordPress plugin blocks known spam bots and bad IPs before they reach your forms and sign-ups. It doesn’t scan or verify the scripts on your checkout, so the steps above are still on you. You can start on the free Explorer plan.
FAQ
Frequently Asked Questions
It is hidden code on a payment page that copies card details as shoppers type them and sends them to criminals. In the Convertr case, it hid inside an analytics script.[1]
Sansec suspects an unpatched flaw in Plausible Community Edition 3.0.0 to 3.2.0, which version 3.2.1 fixes. It couldn’t confirm this without Convertr’s server logs.[1][3]
No. Convertr says it removed the skimmer and patched Plausible on October 27, and Sansec confirmed the tracker was clean the same day.[1]
It stops a pinned file from loading if someone changes it.[4] It can’t protect scripts you don’t pin, so combine it with fewer scripts on checkout and a Content Security Policy.
The group behind this attack has broken into Magento, OpenCart and WooCommerce stores before, so it’s worth checking yours.[1]
Sources & References
- Sansec: Brazilian Magecart group hijacks Convertr checkouts via Plausible analytics, timeline, suspected entry point and advice (updated Oct 27, 2026)
- BleepingComputer: Hackers hijack Convertr analytics script to steal payment card data (Oct 27, 2026)
- Plausible Analytics on GitHub: Community Edition v3.2.1 removes the /storybook endpoint, CVE-2026-8467 (May 15, 2026)
- MDN Web Docs: Subresource Integrity, how browsers verify a script's hash (accessed Oct 28, 2026)
- MDN Web Docs: Content-Security-Policy-Report-Only, monitoring a policy without enforcing it (accessed Oct 28, 2026)
- Zero Spam: Rank Math PRO 3.0.123 malware, downloads from Oct 15-16 (Oct 19, 2026)
- Zero Spam: PHP2Shell explained, live updates (updated Oct 28, 2026)
