Join our Newsletter — 33% off our NHI Course
Home› Glossary› Cyber Security› Online Skimming
Cyber Security

Online Skimming

← Back to Glossary
By NHI Mgmt Group Updated September 29, 2026 Domain: Cyber Security

Online skimming is the theft of payment and identity data from an ecommerce checkout flow by injecting malicious code into a site or related script path. The attacker captures card details, names, or other data as customers submit them, often without immediate detection by the merchant or the shopper.

What Online Skimming Means in an Ecommerce Checkout

Online skimming is not a network intrusion in the classic sense, but a checkout-time data theft pattern. The attacker’s goal is to place code where the browser will execute it during payment entry, then silently collect cardholder data and personal details as they are typed or submitted.

How the Attack Works

The usual compromise path is one of script injection, third-party library tampering, or alteration of the checkout page source. Because the browser is the final place where payment data is assembled, the malicious script can copy fields before encryption, intercept form submissions, or exfiltrate values in real time.

This makes online skimming especially hard to spot from backend logs alone. The merchant may still process a valid transaction while the customer’s data has already been copied off-site, which means normal payment success does not imply page integrity.

Why Online Skimming Is Hard to Detect

Online skimming blends into legitimate web application behaviour. A compromised script path may look like routine front-end delivery, and the theft may only occur for certain pages, browsers, geographies, or time windows. That makes integrity monitoring and change control more important than relying on payment-system alerts.

It also sits at the intersection of application security and payment fraud. The payment gateway may be secure, but if the checkout page itself is altered, the data is exposed before downstream controls can help.

Common Defenses for Checkout Integrity

The most effective controls focus on reducing script trust, constraining what the browser can load, and detecting unexpected page changes. Strong content security policies, script allowlisting, subresource integrity, dependency review, and continuous monitoring of checkout assets all help reduce the attack surface.

Security teams should also treat checkout code as a high-value asset with tighter change governance than ordinary site content. A small front-end change can have outsized impact because it directly controls customer payment data handling.

For a control-catalog view of the underlying protections, NIST SP 800-53 Rev 5 Security and Privacy Controls and SLSA are useful anchors for integrity, change assurance, and supply-chain discipline, while CIS Benchmarks help harden the systems that host and deliver the checkout experience.

Risk and Threat Considerations

Online skimming creates a direct confidentiality risk because attackers can harvest payment card data and personal information without breaking the checkout flow. The same mechanism also creates downstream fraud and privacy exposure, since the stolen data can be replayed, sold, or used for account abuse.

Failure mechanism: A malicious script or compromised supply path executes in the customer browser and captures form data before it is protected by downstream payment processing.

Impact: Merchants may suffer payment-data theft, regulatory exposure, customer harm, incident response costs, and trust loss even when transactions appear normal.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5, CIS Controls v8, SLSA and OWASP ASVS set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5SI-7 — Software, Firmware, and Information IntegrityOnline skimming depends on page or script tampering that SI-7 helps detect and resist.
CM-5 — Access Restrictions for ChangeRestricting who can modify checkout assets materially reduces injection risk.
SC-18 — Mobile CodeInjected JavaScript is mobile code in the browser path, which SC-18 addresses directly.
Recommendation — Apply SI-7 to verify checkout script integrity and alert on unauthorized changes. Enforce CM-5 to limit who can alter checkout code and dependencies. Use SC-18 to restrict and validate executable client-side code on payment pages.
CIS Controls v8CIS-16 — Application Software SecurityCheckout skimming is an application-layer integrity problem in web delivery.
Recommendation — Apply CIS-16 to secure the web application and review client-side code changes.
SLSASupply-chain Levels for Software ArtifactsCheckout skimming can originate in compromised or tampered front-end dependencies.
Recommendation — Use SLSA practices to raise provenance and integrity assurance for shipped web assets.
OWASP ASVSV13 — ConfigurationCheckout integrity depends on secure deployment and restrictive client-side configuration.
V15 — Secure Coding and ArchitectureSecure front-end architecture helps prevent script injection paths used in online skimming.
Recommendation — Use V13 to harden browser-delivered configuration and reduce unsafe script loading. Apply V15 to design checkout flows that minimize script trust and injection opportunities.

Practitioner Guidance

What to watch for: Treat the checkout page as a monitored security boundary, not just a user interface. Unexpected script additions, altered third-party dependencies, late-stage DOM changes, or unexplained outbound requests from payment pages deserve immediate investigation.

Governance implication: Ownership should sit across web engineering, security, and payments, because the control problem is integrity of the customer browser path as much as protection of the payment backend. The most common mistake is focusing only on server-side payment systems while leaving client-side script trust loosely governed.

Practitioner takeaway: If checkout code can change without strong review, versioning, and runtime integrity checks, online skimming remains a live theft path.

Deepen Your Knowledge

Sign up to our weekly newsletter — get 33% off our NHI Foundation Level Course

    NHIMG Editorial Note
    Reviewed and updated by the NHIMG editorial team on September 29, 2026.
    NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org