The skimmer did not need your connect-src rule. It came in through a cookie banner, a marketing pixel or a CDN file, and it took card data out over the same kind of channel a browser uses for video calls.
On November 27, 2026, the security firm InfoHawk published a report on a card-skimming script that it found on the online stores of Lascana, Samsonite, American Tourister, Revolve and FWRD in the week before Black Friday. The Hacker News thread passed 440 points and 230 comments in about 12 hours.
Two details make this one worth a closer look than the usual "third-party script went bad" story. The script loaded its real code and sent stolen data over a WebRTC data channel, which most Content Security Policy (CSP) setups do not control. And it ran only on phones and touch screens, so a desktop check of the checkout page would see nothing.
This article walks through what InfoHawk reported, which parts of a CSP still stop this kind of kit, and a small mobile-emulated test you can point at a staging checkout. It is built from InfoHawk's report, the W3C CSP draft, MDN's documentation and a local test page. It does not describe any real store's setup beyond what the report says.
What InfoHawk found
From the report:
- The script was planted on five stores and delivered in three different ways: an altered Quorum ad-attribution pixel (Lascana), an edited Seers cookie-banner setting (Samsonite and American Tourister), and an altered file on Revolve's own CDN (Revolve and FWRD).
- InfoHawk notified the named parties on November 24. All five stores had the script removed on November 24 or 25, ahead of Black Friday. Revolve said it "resolved the same day" an issue "impacting mobile and tablet versions of our websites."
- InfoHawk watched it work on one site. At Lascana's checkout, the script sent InfoHawk's test card details to a third party.
- InfoHawk believes the script was built to take the card number, expiry date and security code, along with the shopper's name, address, phone and email. It sent them out before the store checked the payment. A declined or cancelled order would still leak the card, and nothing would look wrong to the shopper.
- InfoHawk says it does not know how many, if any, real shoppers' details were captured.
The three delivery paths appear to share one attacker infrastructure, which is why InfoHawk thinks other sites may be affected too.
How the kit works, step by step
InfoHawk describes seven steps. In short:
- A loader gets onto the page through a consent-banner setting, a retailer CDN file, a shared marketing pixel or the store's own HTML.
- The loader pulls
Insds.jsorgtage.jsfrom an Amazon S3 bucket with a brand-style name (<brand>-static.s3.amazonaws[.]com). - It checks the device. It runs only on small or touch screens. The Samsonite version ran on
/checkoutonly. - It makes two ordinary web requests to a brand-named host under
northbridgeads[.]com:GET /_cf/icefetches relay details andPOST /_cf/relsends the WebRTC offer (the message that starts a peer connection). - A WebRTC data channel opens through a TURN relay (a server that forwards WebRTC traffic when a direct connection is not possible). Every exchange InfoHawk saw used
turn.cloudflare.com. - The skimmer code arrives over that channel in chunks. It is checked against a SHA-256 digest and then run with
eval. - Card data goes back out over the same channel.
Only step 4 is a normal HTTP request. In InfoHawk's words, it is "an ordinary web request, which a connect-src rule can block." Steps 5 to 7 run "outside connect-src": they never touch the network APIs that CSP's connect-src controls.
Using Cloudflare's relay also hides the real endpoint. Cloudflare's TURN service documentation describes turn.cloudflare.com as a public relay for WebRTC clients, and its TURN FAQ says WebRTC encrypts data channel traffic with DTLS before it reaches the relay, so Cloudflare "only relays encrypted packets." A network monitor sees encrypted packets going to a well-known Cloudflare host, which is also what a normal video call looks like.
Why connect-src does not see it
MDN's page on connect-src lists the APIs the directive controls: fetch(), XMLHttpRequest, WebSocket, EventSource, navigator.sendBeacon(), fetchLater() and the ping attribute on links. RTCPeerConnection is not on the list.
The CSP Level 3 editor's draft does define a separate directive for this: webrtc 'block'. Under that directive, the draft says, no local ICE candidates will be surfaced and no STUN checks will be made, so no peer connection can form. (ICE is the process WebRTC uses to find a network path. STUN is the small request a browser sends to learn its public address.)
The problem is support. MDN has no reference page for the webrtc directive, and MDN's browser compatibility data for CSP has no entry for it either.
A small local test page shows the gap. The page was served with a CSP header and ran a probe script that tried a cross-origin fetch(), called eval(), and opened a peer connection to Cloudflare's public STUN server:
// probe.js (served from the same origin as the page) try { await fetch('https://example.com/', { mode: 'no-cors' }); out.fetch = 'allowed'; } catch (e) { out.fetch = 'blocked'; } try { eval('1 + 1'); out.eval = 'allowed'; } // constant string, only probing CSP catch (e) { out.eval = 'blocked (' + e.name + ')'; } const pc = new RTCPeerConnection({ iceServers: [{ urls: 'stun:stun.cloudflare.com:3478' }] }); pc.createDataChannel('probe'); const types = []; pc.onicecandidate = (e) => { if (e.candidate) types.push(e.candidate.type); }; await pc.setLocalDescription(await pc.createOffer()); Results in headless Chrome 156:
- With
default-src 'self'(the fallback for bothconnect-srcandscript-src): the fetch was blocked,evalwas blocked with anEvalError, and the peer connection still gatheredsrflxcandidates. Asrflx(server-reflexive) candidate only appears after the STUN server answers, so the page reached an outside server whileconnect-srcsaid'self'. - With
default-src 'self'; webrtc 'block': exactly the same result. The STUN traffic still went out, so this Chrome build did not enforce the draft directive.
A newer proposal, tracked by Chrome, aims at this gap. The Connection Allowlists explainer lists "connections to TURN/STUN servers via WebRTC" as in scope and says plainly that "CSP's coverage is incomplete." Its Chrome Platform Status entry shows it as "Proposed." It is not something you can deploy for shoppers today.
A fair point from the thread: WebRTC is not magic here. One commenter noted that the choice is mostly about what gets monitored less, and that "no reason this approach couldn't be taken with simple HTTP requests." Another argued that a site with a weak CSP is the real problem. Both are right in part. A lax connect-src would have let a plain fetch() out too. The WebRTC choice matters for sites that did lock down connect-src, because it walks around that lock.
What a strict CSP still stops
The draft directive is not shipped, but the kit still had to get past four ordinary CSP checks. Only the WebRTC channel itself sits outside CSP. This section is analysis of InfoHawk's description against MDN's rules, not something InfoHawk tested.
The setup requests. InfoHawk's main advice for site owners is one line: on every page that takes payment, set a connect-src rule that lists only the hosts you use. In their words, "That blocks the two web requests the script needs before WebRTC opens. Without them the skimmer never arrives, whichever file was tampered with." The /_cf/ice and /_cf/rel calls in step 4 are plain HTTP. If northbridgeads[.]com is not on the list, the offer never reaches the attacker and no channel forms.
The loader. Step 2 loads a script from an S3 bucket. A payment-page script-src that lists exact hosts, and not a wildcard such as *.s3.amazonaws.com, would refuse it. Wildcards for shared cloud storage hosts let anyone with a bucket on that service into your page.
The onerror trick. In the Seers case, InfoHawk says the privacy-policy link field in the banner config "also held a hidden image, whose onerror event handler loaded the malicious code." That reads as an inline event handler. MDN's script-src page says inline event handlers are blocked when a policy restricts scripts, unless you add 'unsafe-inline' or a matching hash with 'unsafe-hashes'.
The eval. Step 6 runs the downloaded code with eval. The same MDN page says eval() and Function() are blocked unless script-src includes 'unsafe-eval'. The test above confirmed that.
The catch is that many tag managers and marketing tools ask for 'unsafe-inline' and 'unsafe-eval' to work. That is the strongest argument for InfoHawk's other recommendation: keep third-party tags off payment pages entirely, so the payment-page policy can be strict even if the rest of the site cannot.
The audit: five steps for a checkout page
1. List every script that runs on the payment step
PCI DSS v4.x already asks for this. Requirements 6.4.3 and 11.6.1 focus on making sure "payment page scripts are properly authorized, checked for integrity, and monitored for tampering," according to the PCI Security Standards Council's blog post on its e-skimming guidance. A commenter in the thread made the same point about 11.6.1.
Include the indirect sources this incident used: tag manager containers, consent-banner configs, pixels, and files your own CDN serves that a build or vendor can change. If a script does not need to run on the payment step, remove it from that page.
2. Ship a payment-page CSP in report-only mode first
Start with Content-Security-Policy-Report-Only so nothing breaks while you find what the page really needs. Replace the example hosts with your own and with the hosts your payment provider documents:
Reporting-Endpoints: csp="https://shop.example.com/csp-reports" Content-Security-Policy-Report-Only: default-src 'self'; script-src 'self' https://js.payments.example; connect-src 'self' https://api.payments.example; frame-src https://js.payments.example; img-src 'self' data:; form-action 'self'; report-to csp The policy is split across lines for reading; send it as one header line. There is no 'unsafe-inline' and no 'unsafe-eval' in it. Per MDN's report-to page, the endpoint name must be defined in the Reporting-Endpoints header, and the directive does not work in a <meta> tag. Once the reports go quiet, switch the header name to Content-Security-Policy. Any request from the page to a host not on the connect-src list then fails, including setup calls like /_cf/ice and /_cf/rel.
3. Test the checkout as a phone, and log every peer connection
Desktop tests miss this kit by design. The fix is to run the payment step in mobile emulation and to watch for RTCPeerConnection, which never shows up in the HTTP request log.
First, a hook that records every peer connection the page creates. It wraps the constructor, keeps the ICE server list and the iceTransportPolicy (InfoHawk saw a relay-only connection), and prints a stack trace so you can find the script that made it:
// rtc-hook.js: record every RTCPeerConnection the page creates. // Load it before any page script (Playwright: page.addInitScript). (() => { const Native = window.RTCPeerConnection; if (!Native) return; window.__rtcLog = []; window.RTCPeerConnection = function (config = {}, ...rest) { const urls = (config.iceServers || []).flatMap((s) => [].concat(s.urls)); const entry = 'ice=' + urls.join(',') + ' policy=' + (config.iceTransportPolicy || 'all'); window.__rtcLog.push(entry); console.warn('[rtc-audit] ' + entry + '\n' + new Error().stack); return new Native(config, ...rest); }; window.RTCPeerConnection.prototype = Native.prototype; })(); Then run the checkout with Playwright's device emulation. The devices['iPhone 13'] preset sets a phone viewport, user agent and touch support. page.addInitScript runs the hook "after the document was created but before any of its scripts were run":
// rtc-audit.mjs: run the payment step as a phone and report surprises. import { chromium, devices } from 'playwright'; const CHECKOUT = process.env.CHECKOUT_URL; // staging payment step const ALLOWED = new Set(['shop.example.com', 'js.payments.example', 'api.payments.example']); const browser = await chromium.launch(); const context = await browser.newContext({ ...devices['iPhone 13'] }); const page = await context.newPage(); await page.addInitScript({ path: './rtc-hook.js' }); page.on('console', (msg) => { if (msg.text().startsWith('[rtc-audit]')) console.log(msg.text()); }); page.on('request', (req) => { if (!req.url().startsWith('http')) return; const host = new URL(req.url()).hostname; if (!ALLOWED.has(host)) console.log('[off-list host]', req.method(), req.url()); }); await page.goto(CHECKOUT, { waitUntil: 'networkidle' }); await page.waitForTimeout(5000); console.log('peer connections:', await page.evaluate(() => window.__rtcLog || [])); await browser.close(); Run it twice: once with the iPhone preset and once with devices['Desktop Chrome']. Any peer connection that appears only in the phone run deserves a close look, and on a checkout page any peer connection at all is unusual unless you ship a chat or video feature there.
The same hook was checked on a local test page that opened a peer connection only when matchMedia('(pointer: coarse)') matched (a stand-in for "touch screen," not the kit's actual check). In a desktop run the log stayed empty. With phone-sized touch emulation it recorded ice=stun:stun.cloudflare.com:3478 policy=all.
Two practical notes. InfoHawk only saw the server enable the skimmer on checkout pages, so point the script at the payment step itself, which on most stores means scripting add-to-cart and the address form first. And a determined script could detect the wrapped constructor, so treat a clean run as "nothing found," not as proof.
4. Grep for the published indicators
InfoHawk lists signs to look for. Search page source, tag manager containers, consent-banner settings and CDN files for:
- Scripts from
<brand>-static.s3.amazonaws[.]com, especially files namedInsds.jsorgtage.js. -
qscripts.s3.amazonaws[.]com/pscript.jswith one of those buckets on its last line. If present, InfoHawk says to remove the pixel. - The strings
KghRtc,rtc-signal-v1andquickfetch. - On a phone-sized touch screen at the payment step:
/_cf/iceand/_cf/relrequests to*.northbridgeads[.]com, and a relay-only WebRTC connection.
5. Treat banner configs and pixels as code
The Samsonite and American Tourister path was not a change to the store's own code. It was a settings field in a consent banner. InfoHawk's advice for Seers users is to open the banner config (cdn.seersco.com/banners/<account>/<domain>/cb.js) and check that every URL field holds only a URL.
The general lesson: anything a vendor dashboard can change and that ends up as HTML or JavaScript on your page belongs in the same review and monitoring loop as your own scripts. That includes who has dashboard access. InfoHawk also recommends keeping card fields in an isolated payment frame, so scripts on the store page cannot simply read them.
What this does not fix
A strict CSP is a good wall, but it has limits here:
- No shipped way to block WebRTC through CSP. If an attacker can reach an allowed host for the signaling step (for example, a broad
connect-srcentry or a compromised first-party endpoint), the WebRTC part still works. - Sandboxing third-party code in an iframe does not close it either. One commenter wrote that browsers offer iframe attributes to block almost every way an iframe can leak data, "but not WebRTC."
- Reports and tests are samples. The kit chose its targets by device and page. A test that does not reach the same page in the same shape will not see it.
WebRTC misuse is also not new. A June 2026 Radboud University master's thesis crawled 7,884 sites that use WebRTC and found that nine of the top ten WebRTC script initiators focused on user tracking, not communication.
On the shopper side, InfoHawk's report suggests checking statements for unknown charges, calling the card issuer, and asking for a new card number. It notes that debit cards have weaker protections than credit cards, so speed matters.
The setup requests, the loader host, the inline handler and the eval were all places where a strict payment-page policy had a chance to stop this kit. The WebRTC channel was the one place it did not. Which of those four gates does your checkout page actually close today?
