Just before the Black Friday shopping rush, researchers found a stealthy form of WebRTC credit card skimming on storefronts associated with Lascana, Samsonite, American Tourister, Revolve, and FWRD. Instead of relying on a conventional web request to an obvious criminal domain, the malicious JavaScript could establish a real-time connection and transmit checkout data through Cloudflare TURN relays. The campaign shows how compromised marketing technology can turn trusted pages into collection points for payment and personal information.
The identified scripts were removed after disclosure. However, the number of shoppers affected—and the number of payment records, if any, successfully stolen—remains unknown as of November 2026. The findings also do not mean that WebRTC is inherently dangerous. WebRTC is a legitimate browser technology used for video calls, voice services, file sharing, and other real-time applications. In this case, attackers abused its networking capabilities after gaining a way to execute JavaScript on retail sites.
What researchers found on the affected shopping sites
Analysis of the campaign connected malicious or modified JavaScript with the online stores of Lascana, Samsonite, American Tourister, Revolve, and FWRD. The delivery paths involved marketing pixels, consent-management configurations, and files hosted on content delivery networks. These are attractive entry points because retailers often authorize them to run across many pages and update without a full application deployment.
The evidence does not necessarily establish one identical initial compromise at every retailer. A poisoned tag configuration, an altered CDN file, stolen vendor credentials, and unauthorized changes inside a tag manager can produce similar browser behavior. What linked the incidents was the skimmer’s technique: load in a trusted storefront, focus on mobile checkout activity, collect form data, and use WebRTC infrastructure to move it away from the page.
This resembles a Magecart attack, a broad label for campaigns that inject a JavaScript payment skimmer into e-commerce pages. The important development was the transport method. Rather than depending exclusively on fetch, XMLHttpRequest, an image beacon, or WebSocket traffic, the code used WebRTC connectivity and TURN relays to make exfiltration harder to recognize with ordinary controls.
How the WebRTC skimming attack worked
Malicious JavaScript entered through trusted web dependencies
The storefronts did not need to display a fake checkout page. The harmful code could arrive through compromised marketing pixels, consent-banner settings, or CDN-hosted JavaScript already permitted by the site. Because marketing and analytics tags routinely inspect page events, identifiers, and conversions, suspicious behavior can blend into a noisy third-party script environment.
A consent platform is particularly sensitive: its loader commonly appears early in the page lifecycle and may decide which additional tags execute. If an attacker can change that configuration or a referenced file, the result is a powerful injection route even when the retailer’s core checkout application remains untouched.
The skimmer filtered for useful checkout sessions
Researchers reported that the code targeted mobile checkout sessions. Filtering can reduce unnecessary traffic and limit exposure to automated scanners or desktop-focused security testing. Mobile checkouts are also frequently tested less thoroughly even though responsive sites may load different components, wallet integrations, or tag rules on smaller screens.
Targeting mobile users did not make desktop shoppers categorically safe. It indicates that device conditions were part of the campaign’s activation logic, making mobile emulation essential during an investigation.
It captured payment and identity data in the browser
Once active on a checkout page, a JavaScript payment skimmer can observe form fields and submission events. Depending on the fields present, exposed information may include a cardholder’s name, card number, expiration date, security code, billing or shipping address, email address, and telephone number.
The crucial timing was before the retailer validated or processed the transaction. Client-side code could copy values as the shopper entered or submitted them, then transmit the duplicate separately. A declined payment or failed order therefore would not prove that the information had remained private.
WebRTC created an alternative communication channel
The malware initialized WebRTC connections and used Interactive Connectivity Establishment, or ICE, to find a usable network path. When a direct peer connection was impractical, TURN infrastructure could relay the traffic. The campaign used Cloudflare TURN relays, but that does not imply Cloudflare knowingly hosted the skimmer or that its services were compromised. TURN is a legitimate relay mechanism, and attackers can abuse reputable shared infrastructure just as they abuse cloud hosting and CDNs.
For a technical overview of the normal technology, see the MDN WebRTC API documentation.
Stolen data left before server-side checks could help
After establishing the channel, the script encoded and sent captured information outside the retailer’s normal payment flow. Server-side fraud screening, gateway validation, and order controls occur too late to prevent this form of e-commerce credit card theft when the browser has already leaked the raw fields.
Why CSP connect-src may not be enough
A strong Content Security Policy remains valuable, but a restrictive CSP connect-src directive should not be treated as a complete defense against this campaign. The directive controls destinations used by common script interfaces such as fetch, XMLHttpRequest, WebSocket, EventSource, and beacon requests. WebRTC connection establishment and media or data transport do not map neatly to every conventional HTTP connection control, and behavior can vary by browser and connection path. The MDN connect-src reference lists the interfaces covered by the directive.
More fundamentally, connect-src acts after JavaScript has been allowed to run. If a trusted marketing loader, consent manager, or same-origin CDN file becomes malicious, the browser may execute it without violating the site’s script policy. Even where policy enforcement blocks one exfiltration route, the code can still read checkout fields, tamper with the page, or attempt another allowed destination.
CSP is therefore most effective as layered containment. A restrictive script-src policy reduces what can execute; connect-src narrows conventional outbound traffic; reporting reveals violations; and payment-page architecture limits what any approved script can access.
How developers can detect a WebRTC payment skimmer
Security teams should test the rendered checkout in a real browser rather than relying only on server-side malware scans. Practical checks include:
- Inventory every executable dependency. Record first-party bundles, tag-manager containers, consent scripts, pixels, inline code, and dynamically inserted resources. Compare the inventory across desktop and mobile sessions.
- Monitor JavaScript changes. Hash or diff CDN assets and vendor files, and alert on unexpected changes to tag-manager or consent-platform configurations. Keep deployment and administrative audit logs long enough to reconstruct an incident.
- Look for WebRTC API use. On a retail checkout that has no real-time feature, calls involving
RTCPeerConnection, data channels, ICE configuration, or unexpected STUN and TURN servers deserve investigation. Browser debugging tools and controlled runtime instrumentation can expose these calls. - Inspect DOM access. Watch scripts that query card fields, attach input or submit listeners, read autofilled values, or clone form data. Pay special attention to scripts whose documented business purpose is advertising, analytics, or consent management.
- Test mobile activation conditions. Repeat checkout tests with mobile user agents, realistic viewport sizes, touch support, cookies, consent choices, and referral parameters. A basic desktop crawl may never trigger the malicious branch.
- Review network and DNS telemetry. Investigate unexplained ICE negotiation and TURN traffic from payment pages. Because shared Cloudflare infrastructure serves legitimate customers, a hostname or provider match alone is not proof of compromise.
- Use safe synthetic transactions. Run automated checkout journeys with test credentials and canary values—never live card data—then alert if those unique values appear in unapproved browser activity or endpoints.
CSP reports can help identify unauthorized script sources and blocked requests, but they may not provide a complete record of WebRTC behavior. Combine policy telemetry with client-side integrity monitoring, browser-level testing, and configuration auditing.
Stronger defenses for third-party scripts security
The most effective response is to reduce the amount of code that can execute where payment data is entered.
- Isolate the payment page. Host sensitive payment fields in tightly controlled, payment-provider frames or redirect to a separately governed payment origin. Isolation must be verified carefully; a parent-page script may still steal names, addresses, account details, or manipulate the user experience.
- Remove unnecessary tags. Advertising pixels, session replay, A/B testing, chat widgets, and broad analytics rarely need direct access to card-entry pages. Maintain a short allowlist based on a documented business requirement.
- Harden script-src. Use nonces or hashes, avoid broad host wildcards, disable unsafe inline execution, and apply Trusted Types where suitable. A strict policy is more useful than one that trusts entire CDNs or large vendor domains.
- Apply Subresource Integrity where applicable. SRI can prevent a browser from executing an externally hosted static file when its contents no longer match an approved hash. It is less suitable for scripts that change frequently or are injected dynamically, so it cannot replace vendor governance.
- Control tag and consent platforms. Require multifactor authentication, least-privilege roles, approval workflows, change notifications, and periodic access reviews. Treat configuration as production code.
- Continuously assess vendors. Track script ownership, update behavior, incident contacts, and data access. Monitor both the vendor URL and the code it causes the browser to load later.
- Test checkout security after every material change. Include mobile paths, guest checkout, saved cards, regional sites, consent choices, and failed transactions. Validate the final browser environment, not merely source repositories.
What shoppers should do
Consumers cannot inspect every checkout script, but they can enable transaction alerts, use credit cards or tokenized wallets where available, review statements, and report unfamiliar charges promptly. Anyone who shopped on a named site should avoid assuming their card was stolen: the actual victim count is unknown, and public findings have not established that every visitor was exposed.
Frequently asked questions
Is WebRTC itself malicious?
No. WebRTC is a legitimate standard for real-time browser communication. The attack became possible because unauthorized JavaScript ran in a trusted checkout context and misused WebRTC as an exfiltration channel.
Did all five retailers confirm stolen payment records?
Public reporting identified malicious scripts or behavior on the online stores associated with Lascana, Samsonite, American Tourister, Revolve, and FWRD. The number of actual victims and stolen payment records remains unknown. The identified scripts were removed after disclosure.
Would blocking Cloudflare stop the attack?
Not reliably. Cloudflare operates legitimate shared infrastructure used by many services. Broad blocking could disrupt normal applications, while attackers could move to another TURN provider or exfiltration method. Retailers should prevent unauthorized script execution and restrict checkout dependencies instead.
Can a strict Content Security Policy prevent Magecart attacks?
A well-designed CSP can substantially reduce risk, especially when strict script-src rules block unapproved code. It is not a standalone guarantee, particularly when an approved script, trusted vendor, or same-origin file is compromised. Payment isolation, integrity monitoring, vendor controls, and browser-based testing remain necessary.
The lesson for online shopping security
This WebRTC skimming attack was not a failure of real-time communication technology alone. It was a supply-chain and browser-trust problem: code admitted for marketing or consent purposes gained access to a sensitive checkout and found an unconventional route out. Retailers that minimize third-party code, isolate payment fields, monitor browser behavior, and test mobile checkout paths are far better positioned to detect the next variation.