An unofficial, read-only Hacker News reader.

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

605 points by scanr 1 day ago | www.infohawk.com | 346 comments on HN

View full thread · View on Hacker News

Comment thread (4)

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