Skip to main content
Mallory
← Back to News
data-exfiltration-methodcredential-stealer-activitydefense-evasion-methodcommand-and-control-method

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

Attack Tradecraft · 2 sources · Updated 5mo ago · First seen Jun 4, 2026

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.

Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

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

2 events · Dec 24, 2025 – Jun 4, 2026
  1. Jun 4, 20266mo 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
  2. Dec 24, 202511mo 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.

Open in app →

Threat actors

1 linked

Malware

1 linked

Affected products

1 linked
Adobe Commerce
Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

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, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.