Magecart Skimmer Abuses Google Tag Manager and Stripe API to Steal Card Data
Researchers at Sansec uncovered a Magecart campaign that uses trusted Google Tag Manager and Stripe infrastructure to steal payment data from e-commerce checkout pages. The skimmer is delivered through a malicious but legitimate-looking GTM container and activates on Magento and Adobe Commerce checkout flows, where it harvests card numbers, expiration dates, CVV codes, names, billing addresses, email addresses, and phone numbers. The malware retrieves additional JavaScript from Stripe customer metadata and executes it dynamically, helping the attack blend into normal traffic to trusted services.
The stolen data is obfuscated with XOR, stored locally, and later exfiltrated by creating fake customer records in an attacker-controlled Stripe account, causing the theft to appear as ordinary traffic to api.stripe.com and potentially bypass content security policies and network filtering. Sansec also identified a variant that uses Google Firestore instead of Stripe, pulling payloads from a document named tracking/captcha in a project called braintree-payment-app. Researchers said the Stripe customer record used to host the skimmer was created on Dec. 24, 2025, indicating the campaign may have been active since at least then.

Get ahead of threats like this
Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
How this story unfolded
2 events from the most recent confirmed update back to the earliest known activity.
Sansec identifies Magecart campaign abusing GTM and Stripe
Researchers at Sansec discovered a Magecart campaign using a malicious Google Tag Manager container to load a credit card skimmer on Magento and Adobe Commerce checkout pages. The malware retrieved JavaScript from Stripe customer metadata, stole payment and customer data, and exfiltrated it through attacker-controlled Stripe API activity; researchers also identified a Firestore-based variant.
Attacker Stripe customer record created for Magecart skimmer hosting
Sansec reported that the Stripe customer record used to host the skimmer payload was created on December 24, 2025, indicating the campaign may have been active since at least that date. The campaign abused Stripe customer metadata to retrieve malicious JavaScript and later exfiltrate stolen checkout data.
Related entities
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Sources
2 references tracked. Mallory keeps watching after this page renders.
See the full picture, correlated to your attack surface.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.


