Credit card skimming scripts using WebRTC found on popular shopping sites(infohawk.com)
620 points by scanr 2 days ago | 379 comments
tl;dr: Researchers found card-skimming scripts planted on Lascana, Samsonite, American Tourister, Revolve, and FWRD before Black Friday, delivered via tampered marketing pixels, consent-banner configs, and CDN files. The skimmer uniquely abused WebRTC (relayed through Cloudflare's TURN service) to load attack code and exfiltrate card data, bypassing typical `connect-src` CSP rules and monitoring. It targeted mobile checkouts only, and all affected sites have since removed the code; the authors recommend strict CSP rules and keeping third-party tags off payment pages.
HN Discussion:
  • ~WebRTC is incidental; the real issue is third-party scripts and weak CSP configuration
  • ↑Browsers should lock down rarely-used APIs like WebRTC by default
  • •Payment systems should use asymmetric cryptography instead of shareable card data
  • ↑The web's model of running arbitrary third-party code is fundamentally broken
  • ↑Ad blocking and strict CSPs are validated as necessary defenses by this attack