Unofficial Hacker News companion — get notified on comment replies, and more.

Credit card skimming scripts using WebRTC found on popular shopping sites (opens external site)

623 points by scanr 4 days ago | www.infohawk.com | 387 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (7)

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

    Replies (3)
    1. 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.

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

      Replies (1)
      1. How would you handle something that needs real-time sync? Constantly poll the server for updates and resend the entire page?
        Replies (1)
        1. I'm not sure I understand all the contrived examples.

          Yes, you could do that. Works fine. How often should it need to be?

          Or it could resend a diff of the page. We have remotely rendered AAA game platforms, where you just get some video back at 60fps, we can surely send commerce changes too even at 1/1000 the bandwidth.

          Or you could have something like Ajax/XHR/messaging, or pub/sub push of plain data, no need to "the browser can be send any arbitrary code to execute".

          Replies (1)
          1. Yeah, server-sent partial page updates seem like a fairly trivial thing for a browser to implement. That they don't currently says nothing about the feasibility, especially when we're already talking about a hypothetical world where browsers don't execute JavaScript.

            Browsers supporting 3D model editing in N formats that constantly change and add features? Quite a bit less likely.

    3. >How would you handle items with customization such as custom engravings?

      Is this supposed to be a generally applicable example, or that we should base the design of web commerce moving trillions of dollars to the needs of such niche areas?

      Let's do "limit the long tail of features" for 80% of things that don't need it, so that my grandma can buy sweaters without needed a degree in cybersecurity.

      We can have a special laxer renderer for that that comes up with red blinking alerts when you visit those pages.

      Nothing about an example like custom engraving requires the current everything-available web model anyway. As an example we have remotely rendered 3d gaming GeForce NOW, xCloud, etc. We surely can support something like placing an engraving text on a product.

      >How to 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?

      You know we can have server side logic since the 90s, right?