133 comments

  • jszymborski 4 hours ago

    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.

    • hibikir an hour ago

      This has been a standard cybersecurity stance for decades. I have had corporate laptops where the ad block came included precisely because of this risk.

    • godwinson__4-8 an hour ago

      Ads are just one particular case of the problem.

      Sites everywhere are fat with JavaScript doing all sorts of unnecessary things. Why trust anyone's JavaScript at all?

      Everything should be API first and ship with a JavaScript less default. Your local AI agent who you engineer your trust model around builds any desired runtime scripting for you at runtime, dynamically the first time and iteratively tuned to you thereafter. For many sites you won't care and will accept defaults or a buddy's template.

      We need legislation to enforce API only access to any public website. Any public frontend must be rebuildable with data from a public API.

      The problem with AI is the incentives of people shoving JavaScript in your face (or useless exposition when trying to divine a Thanksgiving recipe vs the ease of AI mode, for instance) undermine the promise of the entire AI technology - every frontend for every person can be entirely unique and yet entirely coherent. No gatekeepers. Instead of ads send a microtransaction if need be to every API, or the government can subsidize.

      Focusing on ads is missing the point. The real issue is your client running scripts you did not explicitly ask or delegate it to. The entire Internet is adversarial in this way, not because of ads but because people expect access and no one wants to pay for anything. People who block ads simply contribute to this problem, they don't offer a solution.

      AI offers a way out. AI belongs to all of us given its broad corpus. Let it be the client and leave government or some regulated utility as little more than the clearing house.

      • hathawsh an hour ago

        You find AI more trustworthy than JS? JS isn't perfect, but at least it's deterministic.

        • mathplebe 2 minutes ago

          Banks removed AI too so there you go. I use Claude code a lot but I noticed the remote control kind of cross-device capability by default creeps me out. My Claude on browser can suddenly control Claude code on my Mac, and thereby all its files?

        • godwinson__4-8 37 minutes ago

          I find JS my AI writes more trustworthy than JS someone else (likely also an AI at this point) writes.

          Why this would be controversial I don't know. It would iterate on results. AI is fairly reliable for simple tasks at this point. Most front ends fall well within this category. The problem with software is the misaligned incentives, not AI hallucinations. When it comes to prompt injection attacks, that will have to be engineered around, just as the browser already engineers around a whole suite of dangers before any JavaScript ever runs.

          But we have to get to the point first where the adversarial incentives are eliminated. The fundamental tension is not technical at all, but political - no one wants to pay for anything, rent seeking behaviors are encouraged. Everyone wants ease and expects someone else to pay the cost. Meanwhile a handful of people whose behavior resembles that of sociopaths horde wealth derived from the commons.

          Instead of a 2028 backlash that seeks to demonize AI the correct answer would be changing the economic model so that rather than becoming an even more insidious ad delivery mechanism it ends the prevailing model entirely, which is not desirable to begin with anyway.

          • hathawsh 28 minutes ago

            We should expect some AI companies to have misaligned incentives also. Your AI might not inject malware, but someone else's might.

            I can see what you're saying. I think you're saying that not only is it ridiculous that companies allow ad providers to modify their page in arbitrary ways, it's wrong that we ever got into this situation by making JS so powerful. Yeah, I'm with you there. I just don't think that asking everyone to figure out how to solve this on their own (using AI) is a viable solution.

      • radlad an hour ago

        Not sure I understand the connection between Javascript, AI and APIs. I've found Javascript SPAs often have the best APIs.

      • philipallstar 2 minutes ago

        > We need legislation to enforce API only access to any public website.

        This is the most parochial and regulation-brained statement I've ever seen.

    • techjamie 3 hours ago

      It amazes me that ad companies are allowed to let anyone with a few dollars shove arbitrary JavaScript/assets down the throats of the wider internet. Not only that, but the operators are financially incentivized to allow malvertising to continue operating because they're amazing repeat customers.

      • amluto 3 hours ago

        It amazes me that site operators are willing to include ad networks in a way that gives them code execution.

        • cowlevel 3 hours ago

          There is no other way. Ad buyers don't trust you, so they run their own invisible captchas to verify the ad is displayed in a real browser.

          You can declare that your own site is only going to run static image ads but then you lock yourself out of all ad marketplaces, which require arbitrary JavaScript, so how are you going to actually get ads.

          • amluto an hour ago

            > There is no other way.

            Of course there is. It’s called sandboxing.

            This would be solved by an extremely straightforward regulation. I would propose:

            If a website operator grants another company the ability to modify their website, they are liable for any effects of such a grant of control as though they had done it themselves. Additionally, to the extent that any law, regulation or contract requires a website operator to maintain confidentiality or privacy of user data, granting a third party the ability to violate the requirement is deemed violated even if the third party did not exercise that ability.

            So, for example, a healthcare company that includes an ad script violates HIPPA if the provider is not itself HIPPA compliant regardless of whether the ad script read any data. If your chatbot said they would not train on your data but they included an unprotected ad script, then they presumptively sold your data and trained on it.

            Grant some small defense if the side operator credibly attempted to ensure security.

            • vladms 11 minutes ago

              Isn't someone liable today? Not sure why shifting liability around solves much.

              And how about fixing the actual credit card system directly? There are some banking systems (ex: IDEAL - now I think rebranded as Wero - in the Netherlands) that just ask for authentication with a trusted device when you want to do a transaction, so there is no problem from people knowing your card number. The idea that in 2026 there is a "security code" written on a card is mind-boggling. Would you recommend writing your password on the monitor?

          • struant an hour ago

            We could just go the source of the problem and ban advertising completely.

            • Refreeze5224 an hour ago

              The fact that the surveillance-based targeting of individuals to influence behavior, enabled by cutting edge psychological persuasion techniques developed intentionally by psychologists, and deployed on a global scale, is considered completely benign and even defended by many on this site, is disgusting.

              I don't care if your business model is untenable if you don't use ads. You can join the rest of the economy and charge money for your product or service, instead of relying on exploitation to peddle likely worthless junk, if it has so little value that no one will pay for it otherwise.

              "But I like targeted ads, how else would people find stuff?" This is where ad defenders usually act like their manipulative surveillance is somehow similar to a print ad in a newspaper. If your product actually has value to people, then they will find you, the same way they have throughout the history of markets.

      • AlexandrB 3 hours ago

        The problem is there's no liability for doing so. If the arbitrary JavaScript would make the ad company liable for tens of thousands in damages per user there would be a lot of innovation around making ad delivery safe.

        • dpkirchner 3 hours ago

          The advertising company should be ultimately responsible, however the ad network and especially the site showing the ads needs to face repercussions as well. Until we start prosecuting publishers for hosting malware the ad blocker will stay up.

          • wat10000 2 hours ago

            The side showing the ads should be fully responsible. It’s their site, after all. If they want to pin the blame on someone else then they can sue to recover damages afterwards, but that should be a separate issue. Ford doesn’t get to say “oh, our faulty brakes were made by Bosch, go after them, we have no responsibility.” Why should web sites be any different?

            • derektank 2 hours ago

              The website owners are more similar to dealerships in this analogy I think, and (I could be wrong) but I don’t think dealerships are held liable if cars they’ve sold are faulty.

              • sam1714 19 minutes ago

                The seller of a good generally is liable in the US. It's due to common law in torts. The traditional reference is the Second Restatement of Torts, section 402A which says

                > One who sells any product in a defective condition unreasonably dangerous to the user or consumer or to his property is subject to liability for physical harm thereby caused to the ultimate user or consumer, or to his property, if

                > (a) the seller is engaged in the business of selling such a product, and

                > (b) it is expected to and does reach the user or consumer without substantial change in the condition in which it is sold.

                Some states have laws that exclude the seller if the manufacturer can be sued [1], but note exceptions of manufacturer bankrupt or can't be reached.

                [1] https://law.justia.com/codes/tennessee/title-29/chapter-28/s...

              • consp 2 hours ago

                Don't know about the US, but here the dealer is liable for the sales price. If it's faulty beyond reasonably fixable you get your original money back from them and they can deal with the manufacturer about damages. Criminal negligence in case of faulty equipment causing damages is on the manufacturer though.

              • wat10000 2 hours ago

                If you go to a shopping site and you buy something and it’s defective, that’s like a dealership selling you a faulty car. If you go to a shopping site and the site itself is defective and defrauds you, that’s more like a dealership having a crooked salesperson who rips you off. The dealership would be responsible for that.

            • staplers 2 hours ago

              "Privatize profits, socialize losses" will remain modus operandi for business until the justice system enforces sensible consequences.

        • BobbyTables2 2 hours ago

          Sure seems like in any other context, there would be liability.

          We just never moved past the 1980s mindset of computers being mysterious black boxes.

          Imagine if pharmaceutical companies knowingly purchased ingredients from suppliers that were known to randomly include toxic materials in their product.

          Would we hold everyone in the chain completely blameless?

    • ModernTimes 2 hours ago

      Google Adsense is completely infested with malware ads, and they refuse to provide tools so website publishers can prevent the scams.

      Therefore Google Adsense is indistinguishable from a malware company, even if they didn't set out to be.

      I don't understand why these people are not in prison.

      • WarmWash an hour ago

        Ironically this is only true for people who use privacy tools (or have a penchant for clicking on scammy ads).

        At auction it's only the sleeziest bidders who bid on blank profiles.

        This is why when you turn off ad-block to "see what it's like" it's all the worst stuff. Nobody wants to pay to show you their ad, they already know you don't look at ads.

        Google doesn't care much either because they too know you don't do ads. So they'll take the $0.00001 and not worry much about how the internet looks for people using ad block anyway.

      • plasticchris 2 hours ago

        It’s been this way for decades. They used to tell you the ethical or legal way “doesn’t scale” when you would challenge it.

        • consp 2 hours ago

          Prison sentences also don't scale well, maybe that is a solution. Or an exponential fine increase on repeat offenders. Also doesn't scale well for them.

    • eddythompson80 3 hours ago

      I do feel some of the sanctimony is warranted because saying you block ads for security of privacy reasons, to me, is like saying you put a no solicitations sign in your front because you’re worried about potential intruders or robbers . It’s possible that some robbers might pretend to be solicitors to learn more about the place and what not, but ultimately the sign is there to stop annoying people who are trying to sell you some bs from wasting your time.

      If you’re actual concern is security or privacy, then block all JS, especially 3P JS but even 1P too, and allow it only as needed. If you use ublock origin, it’s very straight forward to do and manager per domain.

      • jszymborski 3 hours ago

        If door-to-door sales people were disproportionately committing crimes that would be a good analogy, but it's just not the case.

        We all have our threat models, but I can guarantee you that simply installing uBlock Origin on a non-technical persons' PC will go much, much further than install an anti-virus towards securing their PC.

        And FWIW I do use NoScript to block all third party scripts (and I used to block first party scripts).

        • eddythompson80 2 hours ago

          I guarantee you it won't. Actual malware (though I guess the disagreement might be on how we define malware) served through known ad networks that have been included in uBlock Origin's default ad block lists happens, but is rare. It can hardly be described as "disproportionately committing crimes".

          Again, if you don't do some create redefining of "committing crimes" as "well, they noted down the profile of the person who answered the door, a quick survey of everything they could see and hear in the house, conducted a quick psychological assessment on the personality of the person answering and determined that they are more likely to buy a toilet plunger in the next 2 months" and that's a crime.

          • pavel_lishin 2 hours ago

            It's not just malware - it's also flagrantly scammy ads, banners that pretend to be download buttons, etc.

            I don't particularly care what people think of me blocking ads. To me, it's morally equivalent to putting on my headphones and not making eye contact with the Salvation Army Santa ring-a-dinging his bell.

            • eddythompson80 2 hours ago

              I think you're replying to the wrong comment?

      • hysan 3 hours ago

        Unrealistic in today’s world. I ran noscript by default and did exactly as you described from 2007(?) to around 2013. I eventually gave up because those js scripts grew faster than you could manage. Sites also caught on and would chunk required js into js that is meant primarily for serving third party ads. Those ads don’t load, those js chunks would fail and content won’t load. Sure I stopped reading some sites because of that but this practice spread to the point where the internet became unusable. What you say sounds doable but isn’t in practice.

        • eddythompson80 3 hours ago

          I do it. It's not unrealistic or even really that bothersome. You just have to be willing to walk away from a page that asks you to load 40 scrips from 17 different domains to read an article. Worst case scenario, you drop down to "just ad blocking" in a glassbreak type scenairo but at least you're aware that this random page pinged 17 different domains and loaded 40 scripts. It's an extra click or 2 on ublock origin (if you must have it)

      • trashcan_man 3 hours ago

        That's two very different tiers of threats. Blocking JS is the equivalent of bricking up all your windows, blocking ads is closing the blinds so somebody is less likely to hit you from the bushes. There are plenty of legitimate threat mitigations by blocking ads beyond the cosmetic improvements.

        They each have a place, but to compare blocking ads to a "no solicitations sign" is inaccurate. We'll reserve that for the DNT header field.

      • rsync an hour ago

        There is no sanctimony.

        No serious person is sanctimonious about ad blockers.

        In your analogy, I put the sign in front of my house because fuck you, that’s why.

        Same with my web browser.

        • eddythompson80 28 minutes ago

          There is something that describes this "No serious person is .." type argument, but it's escaping me.

      • wat10000 2 hours ago

        Signs get ignored. Ad blockers actually block things without their cooperation. It’s more like a locked gate which keeps out both bad guys (sometimes) and salespeople. Which is something people frequently do.

        • JoshTriplett 34 minutes ago

          > Signs get ignored.

          In many jurisdictions, it is illegal to do so, and companies whose door-to-door salespeople do that can get fined. Report them.

        • eddythompson80 26 minutes ago

          If it's a gate, it's a gate to keep your dog in the yard with a pull tab to let the UPS guys in.

      • thaumasiotes 3 hours ago

        > If you’re actual concern is security or privacy, then block all JS

        Fun fact: Google will no longer let you search if you have javascript off.

        • eddythompson80 3 hours ago

          Not strictly speaking true. You can search fine blocking all 3P (i.e: non www.google.com) scripts.

          However, even if, sure. You might allow (or need or want) google.com domain to run JS, but that doesn't mean all the world wide web gets the same escalation of privileges. That sounds insane to me.

        • cowlevel 3 hours ago

          Fun fact: a SearX-NG proxy server works around this

  • afavour 4 hours ago

    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.

    • sufianrhazi an hour ago

      Also, WebRTC is really hard to inspect even with devtools. Chrome DevTools just doesn't surface WebRTC connections or data transfer at all. There's just chrome://webrtc-internals/ and chrome://webrtc-logs/ which are very hard to use.

    • edoceo 4 hours ago

      Would CSP mitigate this?

      • deathanatos 3 hours ago

        From TFA:

        > On every page that takes payment, set a connect-src rule that lists only the hosts you use.

        (Though you should really be setting a default-src that only lists `self`.)

        • TazeTSchnitzel 3 hours ago

          The article says that can only block the part of the WebRTC setup process that requires an HTTP request, though? So I wonder if it is possible for a WebRTC request to be set up with no external HTTP request at all.

          • K0nserv 3 hours ago

            I think it might. With a cooperating peer on an internet-routable IP address using ICE-lite you can use a static answer and it should still be possible for ICE to establish.

            Haven't tried but in theory it should work.

            You can apparently block WebRTC with `Content-Security-Policy: webrtc 'block'`

    • fidotron 4 hours ago

      I do think it's fair to say if you were inventing WebRTC today the entire P2P and STUN/TURN aspect of it would need to go. (mdns also seems like a technology from a more naive time).

      The MoQ people are annoying, but in one respect they are right, and that is that having browsers have channels of communication outside of the usually expected HTTP is a recipe for trouble.

      • cowlevel 3 hours ago

        No, you still need P2P for reasonably efficient video chat. Your options are P2P or millions of dollars and god knows the internet doesn't need more centralisation.

        • fidotron 3 hours ago

          The moment you have more than two participants in a video chat it makes sense to use a relay node to reduce the bandwidth needed at each node. (See https://github.com/atomirex/umbrella <- shameless pre AI code).

          P2P does things like exposes both participants IP straight to the other which are not desirable in the modern world. (Also the amount of networking metadata generated during connection negotiation is terrifying).

          Once you're over those then the entire P2P side of the API looks like an anti feature. (But I am strongly in the camp of believing we need better unreliable network protocol support within HTTP channels).

          • cowlevel 2 hours ago

            Video chat is always more than 2 people is it

            • mjochim 2 hours ago

              It really isn't. I frequently do 1 on 1 video calls with someone.

  • snickerer 2 hours ago

    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.

    • streetfighter64 a minute ago

      > allow strangers to run random code on your computer

      > deliver just data and my browser decides what to do with it

      Code is data and your browser decides to execute it. A toy example, but HTML+CSS is Turing complete. The problem thus isn't that it's "code", but rather that it's not properly sandboxed.

      > my shop browser decides how to operate with the catalogue in a way I want

      Are you making a case for built-in components for e.g. sorting and filtering and what have you? To me that's just way more clunky than having an actual programming language. Even PDF, a static document format with no real user interaction, has a programming language (PostScript) embedded.

      So in my view, the problem with JS isn't the features of the language itself, rather that the standard library has too much power, to make requests and access your microphone and stuff like that.

      But even then, people want to use their computer to do video calls, and whatnot. And I for one much prefer using Zoom or Teams or such in the web app, instead of downloading the app version. Precisely because the web app is more tightly sandboxed.

    • IgorPartola 2 hours ago

      How would you handle items with customization such as custom engravings? This would be both simple customizations as well as things requiring a full graphic or 3d editor? Previews of your items? How avoid discounts based on item combinations that are store-specific? Is your browser smart enough to do complex searches and filters for things like photo gear where some values have ranges? What will your browser do for builders such as putting together kits of equipment or supplies that may or may not all go together?

      Like yes designing a generalized shopping experience is possible. It is also going to limit the long tail of features OR become such a huge and bloated spec that it will make things way worse. Imagine Temu but for all the shops.

      Besides, doesn’t your browser and OS come from some third party? How much do you trust them to be bug and backdoor free? Or do you have your own browser and OS that you know for sure can do all this and you have verified?

      • Groxx an hour ago

        With an exception for thing-editors that are not built into the browser (but could be, e.g. text is built in), all of those are rather easily covered by "the server sends that information". E.g. add something to your cart -> that loads the next page which has updated discount availability.

        They weren't saying websites should be completely static, just maybe they shouldn't run attacker-controlled code.

      • ebertucc an hour ago

        An optimistic path I see is LLMs making browsers smart enough to whip up personalized, ad hoc UIs for everything you suggest while every server becomes a glorified data provider as per the GP comment.

        You'd still have to trust the hardware, OS, browser, and now an LLM too, but that threat model could be preferable to running arbitrary (especially 3rd party) Javascript.

  • kevsamuel 17 minutes ago

    I don't see what this has anything to do with Web RTC, a normal ajax requests would have worked if the server define CORS, and even without, you can push a POST form button cross domains anyway.

    Unless the site just forgot to add Web RTC in their connect-src CSP?

    In which case it's not about WebRTC, it's about the site owner not securing their website.

  • __MatrixMan__ 4 hours ago

    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.

    • pcthrowaway 44 minutes ago

      > It's crazy that we have had asymmetric cryptography since the 70s and we're still using symmetric secrets for payments

      This is one of the actual things cryptocurrency payments get right (ignoring other problems)

    • TheRealPomax 4 hours ago

      I don't know about your banks, but if I use my credit card to pay for something online, I have to entire an MFA code before that payment goes through.

      • geetee 4 hours ago

        I can count on one hand the times I've had to do any extra step like this

        • xnorswap 4 hours ago

          It seems completely standard in the UK, at least with the banks I've used, anything that looks expensive or out of the ordinary flags it for an MFA check. That can be of different forms, some use "Confirm in <app>", some use TOTP codes.

          • michaelt 3 hours ago

            All UK banks implement the mechanism, but the confirm-in-app signals and risk thresholds seem to be at each bank's discretion.

        • TazeTSchnitzel 3 hours ago

          It's a legal requirement in the EU specifically (PSD2 Strong Customer Authentication). Alas, it is not in the US.

        • bonzini 3 hours ago

          Even ignoring bank-issued credit cards, PayPal does it in the EU even for small payments.

        • brewdad 3 hours ago

          I have only ever had to do it while making an online purchase from overseas with my US card, like museum tickets while on vacation.

          One time, I couldn’t receive the 2FA code, so had to try a different card until I didn’t need such a code. Two of the other three times I can recall, the entire transaction was declined before I received the code. One I was able to try again after submitting the code. The other time I simply abandoned the transaction.

      • SoftTalker an hour ago

        Not common or really done at all in the USA from what I've seen.

        • SkiFire13 17 minutes ago

          Merchants don't even bother enabling it for USA issued cards because it's more risky.

          https://stripe.com/blog/surprising-findings-from-our-analysi...

          > Our analysis suggests that issuers in the US perceived transactions requesting 3DS to be particularly high-risk, often declining these transactions more aggressively rather than putting US users through an unfamiliar 3DS challenge flow.

        • Groxx an hour ago

          As a USAian: I would much prefer to have this, but I've literally never seen it. Purchases either work with just a CVV or they fail for invisible reasons and basically nothing works around it when that happens so you just use PayPal instead.

      • ranger_danger 4 hours ago

        Credit cards in the US are stuck in the past. NFC/MFA/PIN are not required (in a legal sense) at all, and every bank handles things slightly differently. Chip+PIN is rare compared to other countries. Traditional bank apps here also do not support direct NFC payments like they do in Europe, and many banks still rely on insecure SMS-based 2FA.

        • zeroonetwothree 4 hours ago

          We have zero liability for customers for fraud so no one cares that much.

          • techjamie 3 hours ago

            That's part of why I don't typically use a debit card. A bad transaction on a debit card can still be your problem and take some doing to fight. If I get defrauded on my credit card, a chargeback is a click away, and Mastercard will make the money the vendor's problem to work out.

            Fortunately I've never been defrauded, but my dad was once via his debit and it was a pain.

            • CookieCrisp 3 hours ago

              They make it look one click away, but, the one time I had to use it with a Discover card I had to do a lot of legwork to get it refunded and it took nearly three months. If I hadn't been so annoyed at the fraud I would have just eaten it

          • __MatrixMan__ 3 hours ago

            We pay for this with higher prices, which the merchant uses to pay the various payment gatekeepers, which is why those gatekeepers don't care to prevent the fraud. They also recoup the cost of fraud by aggregating data on our spending habits into various data products (inevitably used by scammers), and by making deals with people who want to shut payments off for people they don't like (e.g. this happened to wikileaks).

            I'd prefer to have good tools for preventing fraud, and then take on the liability. This whole subscription-model economy isn't exactly working out. We just end up with consequences that are hard to see.

      • thaumasiotes 3 hours ago

        I have had that happen (two relevant banks: Bank of America / Capital One), but it's very rare. The normal case is that you put in your card information and you're done.

        Long ago, I had payment denied for an in-person transaction, after which my card was locked for any purpose, and I had to make a phone call to Bank of America to (1) process the original transaction and (2) unlock my card. The in-person transaction was in China, which I guess freaked out their system.

        But having done that once, I never had a problem in China again. I opened the Capital One account mainly so that I could use it in China ("no foreign transaction fee", though in fact the foreign transaction fee is a very reliable 1%), and it didn't even raise an objection the first time like BofA did.

    • SoftTalker an hour ago

      THe ideal amount of fraud is not zero. The rates of fraud are evidently managable/acceptable by the major payment processors, or else they would change their methods.

      • __MatrixMan__ 19 minutes ago

        Sure, ideal for the payment processors. What's the ideal amount of fraud for the consumer?

        • SoftTalker a minute ago

          Whatever amount is worth dealing with to have a smooth and easy online purchasing experience, since a fraud-free one would have more friction.

      • eli an hour ago

        Of course they are. They mostly make the merchants eat it.

    • tialaramex 3 hours ago

      One important thing to understand about payment cards in particular is the distinction between "Settlement" and "Authorisation"

      Settlement is the process by which Bank A with your money, or possibly your debt if it's a credit card, gives money to Bank B representing a merchant where ostensibly you paid with the payment card.

      Settlement is basically still the same "Honour System" process as it was last century, it's probably no longer literally magnetic tapes or punched cards, but cryptography has no real role here. Because this relies on that Honour System, mere accidents can result in transactions which should not exist. At a societal level e.g. a big bank mistakenly runs MAIN1 MAIN2 MAIN2 MAIN4 files through their settlement process one night, and the next morning people whose transactions were in MAIN2 realise they've been charged twice! Meanwhile retailers relying on MAIN3 being processed are distraught to find that magically they got nothing. Oops, fat finger. e.g.

      https://www.bbc.co.uk/news/uk-england-45400234 https://www.bbc.co.uk/news/business-41061781

      Authorization is the step where there's something resembling modern security. This step is there to protect Banks and Merchants from Customers, who they don't trust as far as they could throw you. Although Banks and Merchants are so often involved in fraud, they both love blaming Customers and so hence they require Authorization. The EMV technology (most familiar as "Chip and PIN" but the same technology makes Contactless including paying with your iPhone work in most countries) is the most "high tech" this ever got.

      EMV could be fairly good. It's not really well designed, crypto people have found some serious holes in it, but they're at the scale of "Skilled people could break this" or "This is needlessly worse than it should be" not at the "A bored teenager can steal your money" level where the magnetic stripes were. However, the bank cares a lot about price, a best-in-class EMV card might cost $1 more, if it reduces the bank's fraud costs by 50 cents they are losing money on that, so the crap EMV card they gave you is the right choice for their bottom line even if you also lose on average $2.50 from the fraud, the bank doesn't care about you, your benefit does not appear on their bottom line.

      Understanding, as so often, Cui Bono (who benefits) from Authorization clarifies where the incentives are.

    • cowlevel 3 hours ago

      We have asymmetric-key payment systems. Google Pay, Apple Pay, physical credit cards... notice one thing in common. They're hard to use and not available in all scenarios.

      • kenferry 2 hours ago

        Do you mean hard to use for the merchant? I use Apple Pay whenever possible, and it’s easier than entering credit card details.

    • forgetfreeman 3 hours ago

      Is that the crazy part here? Global annual losses from online fraud and cybercrime is north of a trillion USD, or if you prefer the GDP of Saudi Arabia. What seems in need of justification is the broad availability of electronic funds transfers.

      • __MatrixMan__ an hour ago

        Yeah I think there's quite a lot of craziness to go around. It's dumb on so many levels. To zoom out a bit further, It's also crazy that I can get a business loan for some endeavor that would hurt somebody, and then take the money from that loan, and expect that person to value that money--fungibility obfuscates moral hazards and makes us work against our own interests, and I'd love to do away with it also.

        But whether or not we agree about how we might restructure the bigger picture, at some point somebody has to say yes or no to a candidate transaction, somebody whose answer makes it a real transaction. It seems very obvious to me that:

        1. that person should be a party to the transaction, not a middle man

        2. The secret they use to do so should not leave their device. (A modern credit card is a device, complete with an OS and a secure enclave for keys)

      • thaumasiotes 3 hours ago

        > What seems in need of justification is the broad availability of electronic funds transfers.

        Well, that's trivial. They make it easier to transact.

        • forgetfreeman 2 hours ago

          It's trivial only and solely if you are so hopelessly inured to that level of weaponized convenience that you're literally incapable of conceiving of an alternative. For those of us that still remember how to balance a checkbook the juice has not proven worth the squeeze.

  • miniwark 4 hours ago

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

    • thinkling 4 hours ago

      It appears to vary. The table early in the article lists a few paths used on different e-commerce sites:

      - “Altered Quorum* marketing pixel”

      - “Edited Seers† cookie-banner setting”

      - “Altered file on Revolve's own CDN”

      The former two might be blocked by an ad blocker or JS blocker; the latter sounds trickier when the script comes from the vendor’s own compromised site.

    • moi2388 4 hours ago

      Ad tracking pixel provider. Their solution was compromised

    • dboreham 3 hours ago

      To make more money, the site owner allowed mystery-meat code to be loaded onto their payment page. Normally that code is effectively sandboxed, but the attacker figured out how to evade the sandboxing. The attacker only had to pay (via an intermediary) to get their payload onto the page.

  • theturtletalks 3 hours ago

    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.

  • kragen 2 hours ago

    I was surprised to learn recently that browsers support iframe attributes to prevent almost all of the possible ways an iframe can exfiltrate information—navigating the iframe, navigating the top frame, loading images, loading scripts, using Fetch or XHR, etc.—but not WebRTC. In this case, though, it looks like the ads had lots of exfiltration avenues available, so I wonder why they went to the extra trouble of using WebRTC?

    • ebertucc an hour ago

      From afavour's comment[0]:

      > 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.

      [0]:https://news.ycombinator.com/item?id=50668592

  • robin_reala 4 hours ago

    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.

  • nout 3 hours ago

    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.

    • francescovv 2 hours ago

      My bank forces a yes/no confirmation in the app (with merchant name and euro amount) for each transaction.

      Not the greatest UX (can't pay with a card on a plane for example), but this does entirely solve skimming problem.

    • adellsworth 3 hours ago

      Where does "meatlife" come from? is it the replacement of "IRL"? IRL was benign (yet a bit of a misnomer — the web is real), whereas meatlife categorizes things more cleanly though more crudely. I've never heard it before and was wondering: are there other trends of denigrating "oldspeak" web terms to raw, visceral descriptors?

      • grandfunction 2 hours ago

        I don't recognise "meat-life" myself, but we were definitely using "meat space" in the late 1990s. Same meaning as IRL, but used more often IRL :-)

        • Terr_ 34 minutes ago

          My vague sense of when to use one or the other:

          * "IRL" is to describe a separate process, like an "IRL purchase at the store", distinct from an online purchase.

          * "Meat-space" when it's a combined process and you need to distinguish between phases which occur in different contexts, like "this API call causes X to happen in meat-space."

        • nout an hour ago

          I think I meant to use meat space, but I was too sleep deprived from children to remember the right lingo.

  • 07_ajax_ 3 hours ago

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

  • amaringo234 2 hours ago

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

  • javcasas 4 hours ago

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

  • stryan 4 hours ago

    > 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.

    • afavour 4 hours ago

      IMO likely simply that automated testing runs on desktop browsers far more often. Plus dev tools is way more accessible on desktop. If you hide it there the devs working on the site are much less likely to notice.

    • teqsun 4 hours ago

      Less likely to have ad-blockers would be my guess.

    • coldfloor 4 hours ago

      Ironically the same reason businesses keep pushing you to go mobile and download the app, please: Far harder for users to audit, far less likely for users to have content blockers in place.

      • slfnflctd 3 hours ago

        This has never felt right to me. Being required to use a new opaque app for every little thing, and take my time to enter a bunch of (often the same set of) data by hand on an awful keyboard, so they can harvest it and try to find a way to monetize it... always seemed utterly absurd.

        Every time I have to do it, it's under protest, and it gets increasingly irritating with time. My partner is tired of hearing me complain about it but I can't help myself.

  • mitchweaver 3 hours ago

    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?

    • cowlevel 3 hours ago

      This has nothing to do with WebRTC or TLS lock icons

  • mzmzmzm 4 hours ago

    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.

  • tclancy 2 hours ago

    This is horrifying. The file paths seem to suggest someone is still using ColdFusion.

    I kid because I loathe.

  • 0xmattf 4 hours ago

    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.

    • luqzirafir 3 hours ago

      I thought it's crazy that the "Build and Backed by People from..." section seems so stacked with lots of top tech companies, or maybe it's just a hallucination from their AI? Idk Lmao.

      • 0xmattf an hour ago

        I thought the same, but on their about page, their bios say they've worked for Meta/Google, so maybe it's true.

  • eptcyka 2 hours ago

    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?

  • superkuh 2 hours ago

    It's amazing to me that we as society have become disdainful of anyone that doesn't automatically execute computer programs sent by unknown arbitrary third parties from random domain names.

    20 years ago everyone knew not to open and execute any program sent to you by someone you don't know. Or even someone you do. Now this wisdom has been lost and even flipped on it's head.

  • gib444 4 hours ago

    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?

    • tialaramex 4 hours ago

      I never loved those pages (typically from some middle men not my actual provider) because they usually looked like crap web sites bad guys would knock together, suspicious DNS names, poor site design, vague wording - it was like somebody attended a conference talk which said "High quality does not mean it's legitimate" and their take away was "Do a terrible job and that will seem authentic somehow".

      For months (years?) now when I buy something on a web site the payment process tickles the bank's app on my phone and I have to confirm the purchase in that app, so you can't meaningfully "steal" or "skim" that step. The app was designed by somebody who has apparently at least skim read a book about UX, and I rarely scream and want to throw my phone at a wall while using it unlike those old web sites.

      If I'm buying a $10 Christmas bauble on MyFunXmasGifts.present or whatever stupid URL and then my phone wants a confirmation for a $50 UberEats transaction, that's a "No" and you just got yourself flagged for attempted fraud.

      I wonder how many people this works for though.

      • gib444 3 hours ago

        > because they usually looked like crap web sites bad guys would knock together, suspicious DNS names, poor site design, vague wording - it was like somebody attended a conference talk which said "High quality does not mean it's legitimate" and their take away was "Do a terrible job and that will seem authentic somehow".

        Totally agree! I love me some 'www4.argot4.pci-barclays.com' .. not !

        But it was more feeling it was still better than the alternative overall.

        (While we're ranting: my bank's OTP page has tiny, crap fonts and badly sized inputs. It's inexplicable and I shake my head every time. Probably the same idiots who did the payment pages! They're an amazing bank in every other regard, so I don't think they have much control over it - probably it's VISA or something.)

  • gigatexal 2 hours ago

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

  • ltbarcly3 2 hours ago

    These are all obscure sites, misleading title

  • ljubomirsinadin 23 minutes ago

    LoL

  • barbaudue710 5 hours ago

    WebRTC is wild

    • deathanatos 3 hours ago

      WebRTC is just the exfiltration mechanism. The attack could have used a JSON/AJAX call, or even an img tag.

      • mlhpdx 2 hours ago

        Or DNS lookups.