Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Back to intelligence
data-exfiltration-methodcommand-and-control-methoddefense-evasion-methodfinancial-sector-threat

Magecart Skimmer Abuses Google Tag Manager and Stripe API to Steal Card Data

Updated 18d agoFirst seen Jun 4, 20262 sources

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.

Share:
Magecart Skimmer Abuses Google Tag Manager and Stripe API to Steal Card Data
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

2 events from the most recent confirmed update back to the earliest known activity.

2 EVENTS
Jun 4, 202619d ago

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.

Credit card theft campaign abuses Stripe to host stolen payment info
Dec 24, 20256mo ago

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.

Credit card theft campaign abuses Stripe to host stolen payment info
LINKED ENTITIES

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

10 LINKEDOpen in app
Threat actors
1 linked
Malware
1 linked
Affected products
3 linked
Adobe CommerceStripe ApiStripe
Organizations
5 linked
SansecStripeAdobeGoogleBleepingComputer
The operational view lives in Mallory

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t — which of your assets are affected, which threat actors are using it right now, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.

Magecart Skimmer Abuses Google Tag Manager and Stripe API to Steal Card Data | Mallory