← Fri, Nov 27 digest

Credit card skimming scripts using WebRTC found on popular shopping sites

read article ↗ hn thread ↗

Security researchers discovered card-skimming scripts leveraging WebRTC data channels on major e-commerce sites like Samsonite and Revolve right before Black Friday.

read it The piece details a novel supply-chain attack vector using WebRTC to bypass checkout monitoring and offers concrete indicators for defenders.

summary

Security researchers uncovered card-skimming malware planted on several major e-commerce websites ahead of Black Friday. Attackers injected loaders via third-party marketing pixels and cookie banners, then established WebRTC data channel connections through cloud relays to exfiltrate payment details while evading standard content security policies. Although the scripts were removed following notification, the incident exposes severe risks in loading unverified third-party vendor code on payment pages. Retailers are advised to audit script sources and restrict network connections on checkout pages.

key points

  1. Skimming scripts targeted Lascana, Samsonite, American Tourister, Revolve, and FWRD through compromised marketing pixels, cookie banners, and CDN files.
  2. The malware executed exclusively on mobile checkout pages to evade desktop-based developer inspection and automated scans.
  3. Attackers bypassed standard connect-src CSP rules by leveraging WebRTC and cloud relays to exfiltrate payment details.
  4. Mitigation requires stripping unverified third-party scripts from payment pages and monitoring checkout traffic for rogue relay connections.

who should read it

E-commerce security engineers, web developers, and incident responders.

discussion skeptical

consensus

Commenters emphasize that the root vulnerability is the widespread practice of running arbitrary third-party JavaScript on sensitive checkout pages, noting that WebRTC was chosen merely to evade standard monitoring.

pushback

A minority argue that WebRTC's complex P2P features unnecessarily expand the browser attack surface and should be restricted or disabled by default.

best comment by afavour ↗

Worth noting that this isn’t really anything to do with the technical capabilities of WebRTC, it’s just that it’s less frequently monitored for nefarious behavior. Same reason they’re only targeting mobile devices: harder to detect.

No reason this approach couldn’t be taken with simple HTTP requests. If you’re embedding third party scripts on your site you’re always vulnerable.

It clarifies that WebRTC's choice as an exfiltration channel was motivated by lack of monitoring rather than unique technical capabilities.

Generated by an LLM from the article and thread. Check the sources before relying on it.