Card skimmers hid inside a cookie banner and a marketing pixel before Black Friday. One CSP rule would have stopped them
Five big retailers had card skimmers on their mobile checkouts in the week before Black Friday 2026. They came in through a tracking pixel, a cookie-banner setting and a CDN file, then sent card data over WebRTC. How the attack worked, the connect-src rule that blocks it, and a Next.js example.
Vishal Solanki · Full-stack developer, Noida
In the week before Black Friday 2026, security researchers at InfoHawk found card-stealing code on the checkout pages of Lascana, Samsonite, American Tourister, Revolve and FWRD.
None of these sites was hacked in the usual sense. The skimmer came in through things store owners add without a second thought: a marketing pixel, a cookie-consent banner setting, and a file on the store's own CDN.
Then it did something most security tools don't watch: it sent the stolen card details over WebRTC, the same browser technology used for video calls.
Short version: the attackers tampered with third-party code that already ran on checkout pages. The skimmer only ran on phones, collected card number, expiry, CVV, name, address, phone and email, and sent them out over a WebRTC data channel relayed through Cloudflare. InfoHawk says a strict
connect-srcContent Security Policy on payment pages would have blocked the skimmer from loading at all. If you run a store, keep third-party tags off checkout and add that rule this week.
Last checked: 29 November 2026, against InfoHawk's report of 27 November. The sources are at the end.
What happened, store by store
| Store | How the skimmer got in | Removed |
|---|---|---|
| Lascana | A tampered Quorum marketing pixel | 24 November |
| Samsonite and American Tourister | An edited Seers cookie-banner setting | 24 November |
| Revolve and FWRD | A changed file on Revolve's own CDN | 25 November |
InfoHawk says all three routes used the same attacker infrastructure. The cookie-banner one is the cleverest: a field meant to hold the privacy-policy link held a hidden image instead, and that image's error handler loaded the skimmer.
It's not known how many shoppers' details were taken. InfoHawk captured live card data being sent from one site, using a test card.
How the skimmer worked
In plain steps:
- A small loader, hidden in the pixel, the banner config or the CDN file, fetched the main script from an Amazon S3 bucket named to look like the brand's own.
- It only woke up on phones and touch screens. On Samsonite, it only ran on the checkout page. Someone checking the site on a laptop would see nothing.
- It made two ordinary web requests to set up a connection:
GET /_cf/iceandPOST /_cf/rel, on a brand-named host atnorthbridgeads[.]com. - After that, everything went over a WebRTC data channel, relayed through Cloudflare's TURN service. To most monitoring, that looks like normal video-call traffic.
- It read the payment form before the payment was checked, so even declined or cancelled orders could leak card details.
Why WebRTC makes this harder to catch
Most skimmers send stolen data with a normal web request, which a Content Security Policy (CSP) can block. The connect-src directive lists the only servers your page is allowed to talk to.
WebRTC traffic doesn't go through connect-src. Once the data channel is open, the browser lets it through. That's why the attackers used it.
But they still needed those two setup requests first. That's the weak point.
The one rule that blocks it
InfoHawk's main advice: on every payment page, set a connect-src CSP that lists only the hosts your checkout really needs. Then the setup requests to the attacker's server are blocked, the WebRTC channel never opens, and the skimmer never arrives. It doesn't matter which file was tampered with.
A strict policy for a checkout page that uses Stripe might look like this:
Content-Security-Policy: connect-src 'self' https://api.stripe.com
Your list will be different. It should contain your own domain, the hosts your payment provider lists in its CSP documentation, and nothing else.
Adding it in Next.js
You can set it only for checkout routes in next.config.ts:
// next.config.ts
import type { NextConfig } from "next";
const checkoutCsp = [
// Add your payment provider's hosts from its CSP docs.
"connect-src 'self' https://api.stripe.com",
].join("; ");
const nextConfig: NextConfig = {
async headers() {
return [
{
source: "/checkout/:path*",
headers: [{ key: "Content-Security-Policy", value: checkoutCsp }],
},
];
},
};
export default nextConfig;
Test it before you enforce it. Use Content-Security-Policy-Report-Only as the header name first, go through a full test checkout on a phone, and fix anything the browser console reports as blocked. Then switch to the real header.
On Shopify, WooCommerce or another platform, ask your developer or host to add the same header for checkout and payment pages only.
Four more things to do this week
1. Take third-party tags off checkout, payment and login pages. Analytics, heatmaps, chat widgets and marketing pixels don't need to run while someone types a card number. Every extra script is code you don't control on your most sensitive page.
2. Use your payment provider's hosted fields or payment page. With Stripe Elements, Razorpay Checkout or similar, the card fields live in a frame on the provider's domain. Your page's scripts can't read them.
3. Audit who can change the code on your checkout. Your tag manager, your cookie-banner dashboard and your CDN are all ways into your checkout. Check who has access, turn on two-factor login, and remove accounts you no longer use.
4. Test on a phone, not just a laptop. This skimmer only ran on small, touch screens. Open your checkout on a real phone with remote debugging, or in your browser's mobile emulation, and watch the network tab while you fill in the form.
How to check if you were hit
InfoHawk published these signs. Look for them in your tag manager, cookie-banner config and CDN files, or in the network tab on a phone-sized checkout:
- Requests to
/_cf/iceor/_cf/rel - Scripts named
Insds.jsorgtage.jsloaded from an S3 bucket named like<your-brand>-static.s3.amazonaws[.]com - The strings
KghRtc,rtc-signal-v1orquickfetchin any script - A WebRTC connection that only uses a relay, during checkout
- If you use Seers: any field in your banner config that should hold a URL but holds something else
If you find any of these, remove the code, rotate access to the account it came through, and talk to your payment provider about next steps.
FAQ
My store isn't one of these five. Should I worry?
The list may not be complete, and the same methods work on any store. If your checkout runs third-party scripts, you have the same risk.
Will a CSP break my site?
A connect-src rule on checkout pages only blocks connections to servers you didn't list. Test with Report-Only first, and you'll see exactly what would break before anything does.
Does HTTPS protect against this?
No. HTTPS protects data between the shopper and your server. A skimmer runs inside the page, in the shopper's own browser, and reads the form before anything is sent.
Related
- Built your app with AI? 10 security checks before real users sign up
- Securing Next.js Server Actions
Sources
- InfoHawk: Credit card skimming scripts using WebRTC found on popular shopping sites (opens in a new tab) (27 November 2026: stores, dates, how it worked, indicators, advice)
- MDN: Content-Security-Policy connect-src (opens in a new tab)
- Stripe docs: Content Security Policy (opens in a new tab)
- Next.js docs: headers in next.config.js (opens in a new tab)
Run an online store and want your checkout checked for third-party scripts and a missing CSP? Get in touch and I'll go through it with you.