An unofficial, read-only Hacker News reader.

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

604 points by scanr 1 day ago | www.infohawk.com | 345 comments on HN

View full thread · View on Hacker News

Comment thread (13)

  1. It amazes me that site operators are willing to include ad networks in a way that gives them code execution.
    Replies (1)
    1. 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.

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

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

          Replies (2)
          1. Right now I think no one is liable if no data was actually exfiltrated and no systems were actually accessed without permission.

            I’m suggesting that negligently leaving one’s digital door open be treated as if someone went in and robbed someone regardless of whether this actually occurred. And that the entity leaving the door open be jointly liable with the robber.

          2. Making everyone in the chain jointly liable in regards to end user solves the issue of figuring out who exactly you need to sue and being able to show they were precisely the ones who caused it. It also protects against the currently liable party from being judgement-proof, like if currently the advertiser is the liable party and that advertiser didn't truly even exist, the end user would need to sue the criminal who is in country which doesn't care (and would need to figure out who it actually even is).

            GDPR and EU261 (flight compensation) has similar provisions. Essentially end user can choose who to sue (within the "chain" defined by the law), get the compensation and the companies are free to fight out who is responsible for it. Now companies suddenly have interest on making sure they are not the ones who are left holding the bag (contractually & making sure they can actually recover money from ultimately liable party).

        2. You put the ad in a sandbox, you consistently fail the captcha, you don't get paid and you get kicked off your ad marketplace for ad fraud.
      2. We could just go the source of the problem and ban advertising completely.
        Replies (1)
        1. 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.

          Replies (1)
          1. Can we please acknowledge that not all ads are surveillance based?

            I’m fine with companies paying a podcast host to mention their products (as long as the payment is acknowledged). I’m fine with companies paying to be shown on billboards (but I’m maybe not fine with permitting the billboards in the first place). I’m fine with print ads. I’m fine with conventional TV ads. I’d be fine with ads in online videos if (a) it was just content and not script and (b) the ad shown was purely a function of the video, possibly the time, and possibly the coarse geography of the viewer.

            Replies (1)
            1. No one needs to acknowledge this, it's obvious to everyone. What is intentionally obscured is the point I made, and people are intentionally led to conflate one with the other.

              Billboards and print ads and podcast product mentions, despite being annoying and wasteful, are not the same issue, and hardly worth discussing.

      3. > There is no other way. Ad buyers don't trust you [...]

        You actually described the other way perfectly fine, and when I grew up, this was the way the WWW functioned. There were actually annoying, flashing ads back then, too, but I mean this was the dotcom boom baby, the sky was the limit. Then came a company which went back to the old way: they came with text ads. That company is now one of the largest in the world. There absolutely is another way, but it requires some trust by advertisers, and as long as they don't want such, we'll get this one where they have free rein over websites while they should not have such power. Because they have proven over, and over, and over again they cannot keep such power responsively. So what do you do then as responsible site owner? You demote them.

        Replies (1)
        1. The text ads were viable because they came with the pile of JavaScript to track you and to validate your browser. The text format is not what made Google rich.