All posts

Magecart skimming: how card skimmers get into a checkout

A skimmed checkout is the one checkout failure where everything appears to work. Orders go through, customers pay — and a few lines of injected JavaScript copy each card number to someone else’s server.

Free checkout scan

Enter your store address. A real browser adds a product to the cart and walks the checkout up to the payment step, like a customer, and shows you every step with a screenshot.

  • Free, no account
  • Stops before payment, no order
  • Nothing to install
· Updated · 2 min read
Hands on a laptop keyboard in the dark

How skimmers get in

The usual routes are an unpatched vulnerability, a stolen admin password, a compromised extension or a third-party script that was itself hacked. On Magento, injected code often hides in places admins rarely look: design configuration, CMS blocks, or the database, not the file system.

That is why applying security patches quickly and keeping admin access tight matter more than any scanner. On WooCommerce the same pattern appears through vulnerable plugins and compromised admin accounts.

What a skimmer looks like from outside

Skimmers usually load or inline a small script on checkout pages only, often disguised as analytics, and send data to a domain that looks almost legitimate. Some add a fake payment form in front of the real one.

From outside, the signs are a new script domain on the checkout, a new network request after the card fields are filled, or a payment form that looks subtly different. None of these break the order, which is why they last for weeks.

Reducing the risk

Keep the checkout lean — every third-party script on the checkout is attack surface. Use a strict Content Security Policy for payment pages, prefer hosted payment fields or redirects, and enable two-factor authentication for every admin.

Keep an inventory of scripts allowed on payment pages and watch for changes, as PCI DSS 4.0 now requires. A monitor that records the checkout’s network requests on every run gives you a baseline to compare against.

Check your own store now with the free Magento checkout test: it walks the checkout in a real browser, Luma or Hyvä, and shows the step where it stops.

Find out your checkout broke before your customers do.

Real checkout checks for Magento and WooCommerce · free plan · no card requiredMagento checkout monitoring →
FAQ

Common questions

Still have a question?More answers, and a way to reach us.Support →
01What is a Magecart attack?

Malicious JavaScript added to a store, usually on the checkout, that copies card details as customers type and sends them to the attacker.

02How do skimmers get into a store?

Through unpatched vulnerabilities, stolen admin or hosting credentials, or a compromised third-party script the checkout loads.

03How can I detect a card skimmer?

Watch for new or changed scripts and unknown network destinations on the checkout, file changes on the server, and new admin users.