Why Magento stores are targeted
Magento (now Adobe Commerce, with the open-source edition still widely used) powers many established UK retailers. It is powerful and flexible — and that flexibility, plus the value of the card data flowing through it, makes it a long-standing target for card skimming and admin takeover.
Use this checklist to cover the essentials.
1. Patch promptly
- Apply security patches as soon as they are released. Many historic Magento compromises exploited patched bugs on stores that had not updated.
- If you are still on Magento 1, which reached end of life in 2020, migrating is the single most important security task.
2. Lock down the admin
- Change the default admin URL from
/adminto something unguessable. - Enforce two-factor authentication for every admin user.
- Restrict admin access by IP address where possible.
- Remove old staff accounts promptly. See securing login pages.
3. Review extensions
- Install extensions only from reputable vendors.
- Remove anything unused.
- Check each extension for recent updates — abandoned extensions are a common entry point.
4. Protect the checkout
- Use a hosted or iframe payment solution where possible.
- Apply a strict Content-Security-Policy and monitor script changes. See Magecart card skimming.
- Meet PCI DSS script-integrity requirements.
5. Harden the server and files
- Disable directory listing.
- Ensure
app/etc/env.php, backups and.gitfolders are not web-accessible. See exposed .git directories. - Set correct file permissions and keep PHP up to date.
6. Secure the basics
- Valid TLS with modern protocols only — see checking TLS.
- Full set of security headers.
- DMARC on your domain so nobody can send order emails as you.
7. Test regularly
Run a penetration test after upgrades, extension changes and theme rebuilds, and at least yearly. Our e-commerce penetration testing guide explains what a good test covers.
Yrzo AI's Professional tier is built for custom and self-hosted stores like Magento — £399 with a retest included. See plans or run a free scan.
Related reading: Magecart Card Skimming on WooCommerce and Shopify: How to Spot and Stop It · Admin Panel Security: How to Stop Your Login Page Being a Back Door · Website Security Checklist Before Launch