Magecart Campaign Hid Payment Skimmers in Google Tag Manager Containers
Malware Intelligence · 2 sources · Updated 5mo ago · First seen May 12, 2026

A long-running Magecart operation linked to the ATMZOW skimmer family abused Google Tag Manager (GTM) to inject credit-card theft code into compromised ecommerce checkout pages, according to Sucuri. The attackers hid malicious JavaScript inside GTM containers served through googletagmanager.com, exploiting the trust many sites place in that domain while using multi-stage obfuscation to steal payment data. Sucuri said the activity affected hundreds of sites, with one malicious container, GTM-WJV6J6, detected 178 times before removal, and tied the campaign to Magento-focused compromises dating back to the 2015 Guruincsite infections.
Researchers said the operators rotated payload delivery through about 40 newly registered lookalike domains, used Cloudflare to shield infrastructure, and stored selected domains in browser local storage to complicate analysis and blocking. After Google removed malicious containers such as GTM-WJ6S9J6 and GTM-TVKQ79ZS, the attackers quickly replaced them with new IDs including GTM-NTV2JTB4 and GTM-MX7L8F2M, showing persistent reinfection efforts; in at least one case, the GTM-based skimmer ran alongside a separate WebSocket-based skimmer, indicating overlapping compromises and continued adaptation by the threat actor.
Why it matters
Impact assessment
This campaign affects ecommerce organizations, especially Magento-based online stores that use or permit Google Tag Manager on checkout flows. The primary impact is payment card theft from customers, creating direct fraud exposure, PCI compliance risk, incident response costs, and reputational damage for merchants.
The scope is broad rather than isolated: Sucuri reported known malicious GTM containers on 327 sites during the first 11 months of 2023, with repeated reinfection after container takedowns. Exploitation is confirmed in the wild, and the actor’s use of trusted Google-hosted GTM delivery, rotating infrastructure, and overlapping skimmers increases dwell time and makes compromise harder to detect.
Supporting facts
- Threat actor/family: ATMZOW, linked to long-running Magecart activity.
- Target population: ecommerce sites, with reporting indicating a continued focus on Magento stores.
- Data at risk: payment card data stolen from checkout and one-page payment flows in real time.
- Scale observed: 327 sites with known malicious GTM containers detected by Sucuri in the first 11 months of 2023.
- Persistence: attackers replaced removed GTM containers with new IDs and reinfected sites.
- Historical context: activity linked to Guruincsite-era Magento compromises dating to 2015.
- Compounding risk: at least one site had both the GTM skimmer and a separate WebSocket-based skimmer, indicating overlapping compromises.


