ES. / STROLIS.INFO← All articles
SECURITY / E-COMMERCEEDGARS STROLIS / 26.09.2026.

The purchase succeeds. Card details go elsewhere.

In digital skimming, malicious code reads payment form data while everything looks normal to the shopper.

NOTES / SECURITY / E-COMMERCE

A shopper enters card details, pays and receives confirmation. The order looks normal to the store. Yet a third-party script may have copied the information and sent it to another server at the same moment. This type of attack is called digital skimming or e-skimming.

Why one script can be enough

Payment pages often run more than the store's own code. They may contain analytics, advertising measurement, chat widgets, tracking tags and payment provider components. If attackers gain access to the store or a script it uses, they can insert code that reads browser form fields. Other sensitive forms can be affected too.

Anura describes the mechanism as injecting code, intercepting data at entry and sending it to an attacker. That explanation helps understand the mechanism, but a product promise to stop certain cases does not demonstrate that one traffic-control system protects an entire payment page.

The weak point may be with a supplier

Attacks can start in the store, through compromised accounts or vulnerable software, for example. They may also arrive through the supply chain via an external script loaded on the page. Saying we don't store card data therefore doesn't fully answer what the browser sees and executes at checkout.

Understanding the payment form architecture is particularly important: are card fields on the store's page or inside an isolated provider frame, and which other scripts run around them? Responsibilities and applicable requirements vary by integration model and cannot be inferred from visible form design alone.

What to check in your store

  1. Inventory scripts. Identify first- and third-party resources loaded at checkout, why they are needed and who owns them.
  2. Reduce access. Advertising and experiment code needs special caution at checkout. Review vendors, account permissions and change procedures.
  3. Monitor browser-side changes. Checking server files alone is insufficient when a page is assembled from external resources. Watch for unauthorised script changes and changes to security-relevant headers.
  4. Check the payment flow. Make sure controls suit the form and provider guidance; assign an incident owner and response sequence.

PCI Security Standards Council guidance specifically highlights authorisation, integrity and detection of unauthorised changes to payment page scripts. Specific compliance requirements must be assessed for the merchant's integration and applicable validation process.

Sources and further reading