16 comments

  • jszymborski 1 hour 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.
    • techjamie 40 minutes 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 37 minutes ago
        It amazes me that site operators are willing to include ad networks in a way that gives them code execution.
      • AlexandrB 24 minutes 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 0 minutes 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.
    • eddythompson80 17 minutes 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.

      • hysan 1 minute ago
        Unrealistic in today’s world. I ran noscript by default and did exactly as you described from 2006 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.
      • trashcan_man 4 minutes 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.

      • thaumasiotes 0 minutes 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.

    • jeremyjh 29 minutes ago
      The world is full of bootlickers.
      • elmer2 26 minutes ago
        Lol. Ads essentially pay the salaries of most people in the tech industry.
        • pluralmonad 16 minutes ago
          Only if you perceive little beyond FAANG.
          • elmer2 5 minutes ago
            There are around 5.8 million tech roles in the us. 2 million are faang.

            This accounts for a large portion of the tech industry.

            I also find it funny that if ads went away, people like you would complain when everything goes up by 3x and it's unaffordable.

            Ads are the main reason people without money can still use many of the same services as the people that can afford to pay it.

        • forgetfreeman 6 minutes ago
          You make a pretty compelling case for dismantling the bulk of the tech industry.
  • theturtletalks 14 minutes 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.

  • afavour 1 hour 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.

    • edoceo 1 hour ago
      Would CSP mitigate this?
      • deathanatos 40 minutes 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 37 minutes 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 24 minutes 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 46 minutes 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.

  • nout 15 minutes 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.
    • adellsworth 2 minutes 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?
  • __MatrixMan__ 1 hour 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.

    • TheRealPomax 1 hour 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 59 minutes ago
        I can count on one hand the times I've had to do any extra step like this
        • xnorswap 45 minutes 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 11 minutes 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 35 minutes ago
          It's a legal requirement in the EU specifically (PSD2 Strong Customer Authentication). Alas, it is not in the US.
        • bonzini 23 minutes ago
          Even ignoring bank-issued credit cards, PayPal does it in the EU even for small payments.
        • brewdad 10 minutes 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.

      • ranger_danger 1 hour 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 49 minutes ago
          We have zero liability for customers for fraud so no one cares that much.
          • techjamie 35 minutes 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.

    • forgetfreeman 2 minutes 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.
    • tialaramex 32 minutes 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.

  • robin_reala 1 hour 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.
  • miniwark 1 hour ago
    I did not understand all: How did this land on the affected websites in the first place ?
    • thinkling 49 minutes 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 49 minutes ago
      Ad tracking pixel provider. Their solution was compromised
  • 07_ajax_ 31 minutes ago
    That's why you redirect to an authorised payment service provider instead.
  • stryan 1 hour 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 1 hour 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 1 hour ago
      Less likely to have ad-blockers would be my guess.
    • coldfloor 55 minutes 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 6 minutes 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 24 minutes 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?

  • mzmzmzm 56 minutes 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.
  • 0xmattf 52 minutes 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.

  • javcasas 1 hour ago
    And another case of a tracking pixel or a third party ad/tracker injecting malicious code.
  • gib444 1 hour 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 56 minutes 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 6 minutes 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.)

  • barbaudue710 2 hours ago
    WebRTC is wild
    • deathanatos 39 minutes ago
      WebRTC is just the exfiltration mechanism. The attack could have used a JSON/AJAX call, or even an img tag.
  • yesbo 48 minutes ago
    [dead]