What attackers go after
- Price and discount manipulation: altering cart totals, stacking coupons, negative quantities.
- Account takeover through weak password reset, credential stuffing and session flaws.
- Payment-page script injection that skims card data in the browser.
- Order and customer data exposed through storefront or headless commerce APIs.
- Vulnerable plugins, themes and extensions in platforms such as WordPress-based stores.
PCI DSS considerations
If you handle card data, PCI DSS v4.0.1 requires internal and external penetration testing at least every 12 months and after significant change (requirement 11.4), performed by a qualified and organisationally independent tester. Version 4 also added requirements for managing scripts on payment pages. Even if you outsource payment processing, your pages that embed or redirect to the payment form can still be in scope; confirm with your acquirer or QSA.
Peak season and change freezes
Many retailers freeze changes before big sales periods. Schedule deep testing well before the freeze so fixes can ship, and use lighter continuous testing during the season to catch anything that slips through.
Headless and API-first stores
Headless commerce moves logic into APIs that are easy to call directly, bypassing the checks the front end performs. Test the API as an attacker would, with a scripted client, not only through the browser.
How Pentest-Swarm helps online stores
Pentest-Swarm tests storefronts and commerce APIs continuously, so changes to checkout, accounts and integrations are tested as they ship.
- The OWASP Top 10 and API security playbooks cover injection, access control and authentication flaws in stores and their APIs.
- Verification oracles and proof-of-concept generation confirm findings before your team triages them.
- Scope enforcement keeps testing on your own storefront and away from third-party payment providers you are not authorised to test.
- Armur's managed service adds scheduled pentests, human-reviewed reports, PCI DSS compliance-ready reporting and retests after fixes.
Where it falls short
Pentest-Swarm does not, on its own, satisfy PCI DSS 11.4, which needs a qualified, independent tester and network-layer and segmentation testing. It cannot monitor payment-page scripts in customers' browsers, and it is alpha software. Never test hosted payment providers without their written permission.
Questions
Do ecommerce sites need penetration testing?
If you handle card data, PCI DSS requires it annually and after significant changes. Even without that, a store holding customer accounts and payment flows benefits from regular testing.
What is the most common ecommerce vulnerability?
Common issues include account takeover through weak authentication, access-control flaws in order and customer APIs, business-logic abuse in discounts and pricing, and vulnerable plugins.
Can I pentest my Shopify or hosted platform store?
You can test your own customisations and apps within the platform's published rules, but not the platform itself without permission. Check the provider's security testing policy first.