Attackers have hidden card skimmers inside Google Tag Manager. Here's how it works and how to check who can add code to your checkout.

Anyone who can publish to your tag manager can put code on your checkout page. They don't need a developer, a code review or a deployment. They need a login and a few clicks.
Most retailers think of Google Tag Manager as a marketing tool, and day to day that's what it is. It's also one of the easiest ways to get JavaScript onto the page where your customers type in their card details, which is why attackers have started using it to hide card skimmers.
Google Tag Manager lets you add tracking and marketing tags to your site without editing its code. A small snippet goes into your site template once, and from then on the container loads on every page that uses that template. On most stores, that includes checkout.
Whatever is inside the container runs in the shopper's browser. Most of it is routine, such as analytics, ad conversion tags and remarketing pixels. GTM also has a Custom HTML tag, which can hold any JavaScript at all.
That code runs on the same page as your payment form. It can read what's on the page and send data elsewhere, just like any script your developers add.
The difference is how changes go live. Your developers' code usually goes through testing and a release. A change in GTM goes live the moment someone clicks publish.

This is already happening. In February 2025, TechRadar reported a card skimmer hidden inside a Google Tag Manager script on a Magento store. The script was disguised to look like a normal tracking tag.
The skimmer captured payment details from the checkout page and sent them to the attackers' server. At least six websites were infected with the same GTM container. The store found out after card data had already been stolen.
In June 2026, TechRadar covered another campaign where attackers added a malicious GTM container to online stores. The code switched on at checkout and copied card numbers, security codes, names and addresses as shoppers typed them.
That campaign also sent the stolen data through a well-known payment platform's own servers. Traffic to a payment provider looks normal on a checkout, so security rules that would have blocked an unknown domain let it through.
Both cases rely on the same thing. Code loading from Google's servers looks routine, so a malicious tag can sit next to your genuine ones without anyone looking twice.
In both cases above, the attackers brought their own container. Your own container is a separate risk, and in most businesses it's much less tightly controlled than the site code.
Over a few years, access tends to build up. The marketing team needs it, and so does the paid media agency. The SEO agency from three years ago probably still has a login, along with a freelancer who set up a campaign once and a member of staff who has since left.
Any of those accounts with publish rights can put code on your checkout. If one of them is phished or reuses a password that leaked elsewhere, an attacker gets the same access without touching your website at all.
GTM is still a useful tool, and you don't need to stop using it. Access to it simply deserves the same care as access to your site code.
Most of this is housekeeping your marketing team or agency can do in an afternoon:
There's a compliance side too. PCI DSS requirements 6.4.3 and 11.6.1 cover the scripts that run on payment pages. The PCI Security Standards Council has published guidance on payment page security and preventing e-skimming, which is worth sharing with whoever handles your compliance.
Checkout Audit monitors the third-party scripts on your checkout pages, so you can see what's loading and spot changes for yourself.
If you'd rather find a rogue tag before your customers' banks do, talk to the Checkout Audit team about what's running on your checkout today.
Simple proof, steady monitoring, fewer surprises.
