16 comments

  • theturtletalks 2 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.

  • nout 3 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.
  • jszymborski 55 minutes 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.
    • eddythompson80 5 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.

    • techjamie 28 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 26 minutes ago
        It amazes me that site operators are willing to include ad networks in a way that gives them code execution.
      • AlexandrB 12 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.
    • jeremyjh 17 minutes ago
      The world is full of bootlickers.
      • elmer2 14 minutes ago
        Lol. Ads essentially pay the salaries of most people in the tech industry.
        • pluralmonad 4 minutes ago
          Only if you perceive little beyond FAANG.
  • 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 29 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 25 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 12 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 34 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.

  • __MatrixMan__ 54 minutes 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 52 minutes 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 47 minutes ago
        I can count on one hand the times I've had to do any extra step like this
        • xnorswap 33 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.
        • TazeTSchnitzel 24 minutes ago
          It's a legal requirement in the EU specifically (PSD2 Strong Customer Authentication). Alas, it is not in the US.
        • bonzini 11 minutes ago
          Even ignoring bank-issued credit cards, PayPal does it in the EU even for small payments.
      • ranger_danger 48 minutes 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 37 minutes ago
          We have zero liability for customers for fraud so no one cares that much.
          • techjamie 23 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.

    • tialaramex 21 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 55 minutes ago
    I did not understand all: How did this land on the affected websites in the first place ?
    • thinkling 37 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 37 minutes ago
      Ad tracking pixel provider. Their solution was compromised
  • 07_ajax_ 20 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 43 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.
  • mitchweaver 13 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 44 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 41 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 45 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.

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