Credit card skimming scripts using WebRTC found on popular shopping sites

scanr 484 points 250 comments November 27, 2026
www.infohawk.com · View on Hacker News

Discussion Highlights (20 comments)

barbaudue710

WebRTC is wild

javcasas

And another case of a tracking pixel or a third party ad/tracker injecting malicious code.

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.

stryan

> This form of attack appears to target mobile devices, and we only saw the server enable the skimmer on checkout pages, so desktop checks and homepage scans would likely not see it Finally, the millennial habit of making certain purchase from a desktop computer only pays off. I am actually curious why this specifically targets small screens though. Are mobile browsers more likely to allow the WebRTC connection? Or is this just to bypass vendor testing.

robin_reala

If you work on / run an e-com site and you don’t have an enthusiastically locked down CSP in place, this is your very next project.

gib444

I've never liked those in-page credit card forms, and always preferred redirects to payment-provider hosted pages. I'm guessing conversion is higher when there is no redirect flow, so the sales team won the battle with the security teams?

miniwark

I did not understand all: How did this land on the affected websites in the first place ?

jszymborski

People like to get sanctimonious about blocking ads, but this is one of the many good reasons why I'll never feel bad about it.

__MatrixMan__

It's crazy that we have had asymmetric cryptography since the 70s and we're still using symmetric secrets for payment. I suspect that the people who could change this are more interested in continued treatment than cure. They like being the arbiters of which transactions get reversed. It let's them justify their otherwise parasitic position.

mzmzmzm

Sadly the web is unusable without ad blockers, in terms of usability, accessibility, and clearly security as well. Things that make content blocking harder (iOS locking down the browser engine, manifest v3, cloudflare turnstile, etc) are often just punishing users.

0xmattf

I'm honestly stumped. I checked the homepage of InfoHawk, and see a one-shot prompt to Claude landing page. Then I googled InfoHawk, and see they raised $2.25 million. Impressive. I really want to redesign their landing page.

07_ajax_

That's why you redirect to an authorised payment service provider instead.

mitchweaver

Google and Mozilla were still busy high-fiving each other after removing the TLS "lock" icon from their browsers to notice that WebRTC could be an attack vector. Why would those features need to be enabled in an e-commerce checkout cart?

nout

This is where architecturally credit cards are bad for online (and even meatlife) purchases. If the same "numbers" can be used again for another purchase, then skimming is just bound to happen. There are ways to mitigate with one time use cards, but generally this just works better with Bitcoin. E.g. when I'm paying at the Square terminals and use bitcoin, they can't "store" my information to pay again. Or when I'm buying stuff online, it's also only generating code/invoice for that specific purchase.

theturtletalks

I’m building an e-commerce SaaS and was originally going to have an App Store model like Shopify. But with agents, I don’t think SaaS need this anymore. You are trusting your store and business to these 3rd party apps that can switch hands and add malware. Shopify tightened its App Store and even made it harder to install custom apps because of this very issue. My solution is to just ship an agent with each SaaS and it can ask it to add any feature. Maybe my App Store will just be skill files you feed to your agent.

amaringo234

But with 3ds in place, what can they actually do with these skimmed credit cards?

eptcyka

Isn’t iframe isolation supposed to solve this? Oh wait, isolation. I nominally put a lot of trust in KVM to isolate guests, but if we can’t isolate web contexts from one another, what hope can we have for whole simulated CPUs?

tclancy

This is horrifying. The file paths seem to suggest someone is still using ColdFusion. I kid because I loathe.

gigatexal

apple pay and similar payment/auth methods should be immune to this, no?

snickerer

One basic design no-go of the www is to allow strangers to run random code on your computer. It is just not acceptable. Servers should deliver just data and my browser decides what to do with it. A shop should deliver lists of items and prizes and my shop browser decides how to operate with the catalogue in a way I want. Everying else is nuts.

Semantic search powered by Rivestack pgvector
4,908 stories · 45,036 chunks indexed