32 comments

  • jszymborski 9 hours 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.

    • hibikir 6 hours ago

      This has been a standard cybersecurity stance for decades. I have had corporate laptops where the ad block came included precisely because of this risk.

      • halJordan 5 hours ago

        It's just another example of how the powers that be recognize a harm exists and protect themselves and their buddies, but expect you and me to shoulder the harm without complaint

        • kevin_thibedeau 5 minutes ago

          The FBI did put out a recommendation for using ad blockers.

          • 59percentmore 2 hours ago

            White collar crime needs to be punished more harshly. It's a culture of lawlessness that leads to this kind of hubris. Officials need to take a "broken windows" approach, and once executives are going to prison for data leaks and wage theft, maybe they'll start to care.

            (I can't tell how much I'm joking here.)

            • lokar 1 hour ago

              Prosecutors are either elected or appointed by office holders. The public judges them on stats. It much faster and safer to go after people who can’t afford to defend themselves.

        • allthetime 5 hours ago

          Who does? They are uninformed and not worth taking seriously. Sketchy ad servers are the number one vector for malware on the browser.

          • jszymborski 4 hours ago

            Plenty of folks arguing exactly this on HN all the time, some are even in this thread.

            • duped 2 hours ago

              Because they work jobs fueled by ads. It's difficult to get a man to understand whose salary depends on his not understanding, etc

            • joquarky 3 hours ago

              Why aren't these ad networks in fear of liability?

              • BHSPitMonkey 2 hours ago

                Why aren't more people afraid of bigfoot?

                Seriously though, why would a business worry about accountability when no similar business has ever been held accountable?

              • loloquwowndueo 4 hours ago

                “Blocking ads is theft, how else are they going to monetize their content?” is argument I’ve seen a few times. Not sure who’s pushing it but it does seem to be gaining some traction.

                • dataflow 4 hours ago

                  Note the second half of that argument doesn't need the first half. You can understand that ads are keeping your favorite service afloat without believing that blocking them amounts into theft.

                  • kibwen 3 hours ago

                    To say that a service couldn't exist without ads is equivalent to saying that that service provides so little value that nobody would be willing to pay for it. Let them die.

                    • N7lo4nl34akaoSN 3 hours ago

                      Google depends on ads. Free software depends on gifts. Love is free. Being willing to pay for something is a good measure of economic value but not necessarily human value. Unfortunately.

                      • Fnoord 2 hours ago

                        Time and attention aren't free; they're a limited and precious resource. Battles are fought for yours.

                        • kevin_thibedeau 2 minutes ago

                          The problem is that the industry has decided ads require JavaScript. Safe ads can be delivered without any untrusted code but they won't do that.

                  • chneu 46 minutes ago

                    There are always people who blindly defend capitalism and its inherently shitty behavior. They have massive sunk costs and if they criticize capitalism then they have to criticize themselves.

                  • godwinson__4-8 6 hours ago

                    Ads are just one particular case of the problem.

                    Sites everywhere are fat with JavaScript doing all sorts of unnecessary things. Why trust anyone's JavaScript at all?

                    Everything should be API first and ship with a JavaScript less default. Your local AI agent who you engineer your trust model around builds any desired runtime scripting for you at runtime, dynamically the first time and iteratively tuned to you thereafter. For many sites you won't care and will accept defaults or a buddy's template.

                    We need legislation to enforce API only access to any public website. Any public frontend must be rebuildable with data from a public API.

                    The problem with AI is the incentives of people shoving JavaScript in your face (or useless exposition when trying to divine a Thanksgiving recipe vs the ease of AI mode, for instance) undermine the promise of the entire AI technology - every frontend for every person can be entirely unique and yet entirely coherent. No gatekeepers. Instead of ads send a microtransaction if need be to every API, or the government can subsidize.

                    Focusing on ads is missing the point. The real issue is your client running scripts you did not explicitly ask or delegate it to. The entire Internet is adversarial in this way, not because of ads but because people expect access and no one wants to pay for anything. People who block ads simply contribute to this problem, they don't offer a solution.

                    AI offers a way out. AI belongs to all of us given its broad corpus. Let it be the client and leave government or some regulated utility as little more than the clearing house.

                    • hathawsh 6 hours ago

                      You find AI more trustworthy than JS? JS isn't perfect, but at least it's deterministic.

                      • mathplebe 5 hours ago

                        Banks removed AI too so there you go. I use Claude code a lot but I noticed the remote control kind of cross-device capability by default creeps me out. My Claude on browser can suddenly control Claude code on my Mac, and thereby all its files?

                        • criley2 5 hours ago

                          Your browser Claude can only get access to all of your Mac files if you practice the shockingly bad pattern of giving an agent access to all of your files on your personal computer.

                          Agents in the cloud only, coordinated from anywhere.

                          It's not dangerous to have agents with full access to an ondemand VM. Well, it's much less dangerous...

                          • MarloweG 1 hour ago

                            It's not simple to actually break this pattern, most oses don't really provide ways to handle this. Multiple user accounts can help on nix, but then you run into issues if you want to code in a gu. Even so, this "shockingly bad pattern" is probably used by 99.9% of people running agents

                            • mathplebe 2 hours ago

                              I do in fact practice that shockingly bad pattern. Haha. I’m lazy and I don’t use Docker on my Mac because I use Linux mostly.

                            • joquarky 3 hours ago

                              I would hope that you're sandboxing the Claude Code running on your Mac.

                            • godwinson__4-8 6 hours ago

                              I find JS my AI writes more trustworthy than JS someone else (likely also an AI at this point) writes.

                              Why this would be controversial I don't know. It would iterate on results. AI is fairly reliable for simple tasks at this point. Most front ends fall well within this category. The problem with software is the misaligned incentives, not AI hallucinations. When it comes to prompt injection attacks, that will have to be engineered around, just as the browser already engineers around a whole suite of dangers before any JavaScript ever runs.

                              But we have to get to the point first where the adversarial incentives are eliminated. The fundamental tension is not technical at all, but political - no one wants to pay for anything, rent seeking behaviors are encouraged. Everyone wants ease and expects someone else to pay the cost. Meanwhile a handful of people whose behavior resembles that of sociopaths horde wealth derived from the commons.

                              Instead of a 2028 backlash that seeks to demonize AI the correct answer would be changing the economic model so that rather than becoming an even more insidious ad delivery mechanism it ends the prevailing model entirely, which is not desirable to begin with anyway.

                              • hathawsh 6 hours ago

                                We should expect some AI companies to have misaligned incentives also. Your AI might not inject malware, but someone else's might.

                                I can see what you're saying. I think you're saying that not only is it ridiculous that companies allow ad providers to modify their page in arbitrary ways, it's wrong that we ever got into this situation by making JS so powerful. Yeah, I'm with you there. I just don't think that asking everyone to figure out how to solve this on their own (using AI) is a viable solution.

                                • godwinson__4-8 5 hours ago

                                  Yes. Fundamentally the wars of the future will be about AI alignment. Obviously, if you could have AI aligned to you it is desirable. As such, like any resource, control of it will be contested and will be an object and an agent of conflict.

                                  As they say, war is politics by other means.

                                  As to your last point, I disagree. I see more and more layman programming by another name with how they interact with AI. So much of the difficulty of software is artificial. So many apps are simply contrived and difficult for no good reason than obvious cost mitigation and other anti/dark patterns and bad incentives. I think if the average consumer could essentially craft their own internet merely by developing a felicity with their own personal AI agent they would be a lot happier. But corporations would be a lot poorer. Society would be on the whole more egalitarian. So yes, this is sort of predicated on the expectation these agents must eventually be ripped from private hands and owned by humanity writ large. That's where the politics (and the wars over who gets to decide who "humanity" is) comes back in.

                                  It's always been this way. The coming conflict is inevitable. Man is a political animal. Everything old is new again. To get to Nirvana you must first suffer the Earth.

                                  Thanks for the back and forth. Have a good day.

                            • radlad 6 hours ago

                              Not sure I understand the connection between Javascript, AI and APIs. I've found Javascript SPAs often have the best APIs.

                              • philipallstar 5 hours ago

                                > We need legislation to enforce API only access to any public website.

                                This is the most parochial and regulation-brained statement I've ever seen.

                                • godwinson__4-8 5 hours ago

                                  Would you care to elaborate as to engender actual discussion or is a drive by rebuke the best you can manage?

                                  Not even a very convincing insult. "Most parochial" seems an odd word choice for such a sweeping proposal. Perhaps you mean to imply I really am so small minded. There is some great obvious consequence looming which I have not foreseen?

                                  Seems ungenerous of you to not elaborate. The contents of your mind are so vast, mine so small? Care to make a point then? Or is expressing comfort in your own voluminousness your only purpose here? Perhaps you will even find we have cause to agree, if you could but manage to lower yourself to what must be the great indignity of having to actually explain the great intricacies of your mind to such a counterpart as I. Give it a try though? Let's see if you can manage it.

                              • techjamie 9 hours 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 9 hours ago

                                  It amazes me that site operators are willing to include ad networks in a way that gives them code execution.

                                  • cowlevel 8 hours ago

                                    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.

                                    • amluto 7 hours ago

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

                                      • vladms 5 hours ago

                                        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?

                                        • amluto 4 hours ago

                                          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.

                                          • buzer 4 hours ago

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

                                        • Fnoord 2 hours ago

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

                                          • struant 7 hours ago

                                            We could just go the source of the problem and ban advertising completely.

                                            • Refreeze5224 6 hours ago

                                              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.

                                              • amluto 4 hours ago

                                                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.

                                                • Refreeze5224 14 minutes ago

                                                  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.

                                        • heresie-dabord 2 hours 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.

                                          It is unclear to my why the Internet would somehow be immune to monetisation, organised crime, and the worst tendencies of human nature.

                                          Because we can see that by any measure, it is not immune.

                                          • AlexandrB 8 hours 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 8 hours 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.

                                              • wat10000 7 hours ago

                                                The side showing the ads should be fully responsible. It’s their site, after all. If they want to pin the blame on someone else then they can sue to recover damages afterwards, but that should be a separate issue. Ford doesn’t get to say “oh, our faulty brakes were made by Bosch, go after them, we have no responsibility.” Why should web sites be any different?

                                                • dpkirchner 5 hours ago

                                                  As far as making the user whole, I agree that the site should be responsible. However, criminal charges should be spread throughout due to the fraud or damage.

                                                  • derektank 7 hours ago

                                                    The website owners are more similar to dealerships in this analogy I think, and (I could be wrong) but I don’t think dealerships are held liable if cars they’ve sold are faulty.

                                                    • sam1714 6 hours ago

                                                      The seller of a good generally is liable in the US. It's due to common law in torts. The traditional reference is the Second Restatement of Torts, section 402A which says

                                                      > One who sells any product in a defective condition unreasonably dangerous to the user or consumer or to his property is subject to liability for physical harm thereby caused to the ultimate user or consumer, or to his property, if

                                                      > (a) the seller is engaged in the business of selling such a product, and

                                                      > (b) it is expected to and does reach the user or consumer without substantial change in the condition in which it is sold.

                                                      Some states have laws that exclude the seller if the manufacturer can be sued [1], but note exceptions of manufacturer bankrupt or can't be reached.

                                                      [1] https://law.justia.com/codes/tennessee/title-29/chapter-28/s...

                                                      • consp 7 hours ago

                                                        Don't know about the US, but here the dealer is liable for the sales price. If it's faulty beyond reasonably fixable you get your original money back from them and they can deal with the manufacturer about damages. Criminal negligence in case of faulty equipment causing damages is on the manufacturer though.

                                                        • wat10000 7 hours ago

                                                          If you go to a shopping site and you buy something and it’s defective, that’s like a dealership selling you a faulty car. If you go to a shopping site and the site itself is defective and defrauds you, that’s more like a dealership having a crooked salesperson who rips you off. The dealership would be responsible for that.

                                                        • staplers 7 hours ago

                                                          "Privatize profits, socialize losses" will remain modus operandi for business until the justice system enforces sensible consequences.

                                                      • BobbyTables2 7 hours ago

                                                        Sure seems like in any other context, there would be liability.

                                                        We just never moved past the 1980s mindset of computers being mysterious black boxes.

                                                        Imagine if pharmaceutical companies knowingly purchased ingredients from suppliers that were known to randomly include toxic materials in their product.

                                                        Would we hold everyone in the chain completely blameless?

                                                    • ModernTimes 7 hours ago

                                                      Google Adsense is completely infested with malware ads, and they refuse to provide tools so website publishers can prevent the scams.

                                                      Therefore Google Adsense is indistinguishable from a malware company, even if they didn't set out to be.

                                                      I don't understand why these people are not in prison.

                                                      • WarmWash 6 hours ago

                                                        Ironically this is only true for people who use privacy tools (or have a penchant for clicking on scammy ads).

                                                        At auction it's only the sleeziest bidders who bid on blank profiles.

                                                        This is why when you turn off ad-block to "see what it's like" it's all the worst stuff. Nobody wants to pay to show you their ad, they already know you don't look at ads.

                                                        Google doesn't care much either because they too know you don't do ads. So they'll take the $0.00001 and not worry much about how the internet looks for people using ad block anyway.

                                                        • plasticchris 7 hours ago

                                                          It’s been this way for decades. They used to tell you the ethical or legal way “doesn’t scale” when you would challenge it.

                                                          • consp 7 hours ago

                                                            Prison sentences also don't scale well, maybe that is a solution. Or an exponential fine increase on repeat offenders. Also doesn't scale well for them.

                                                        • eddythompson80 8 hours 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.

                                                          • jszymborski 8 hours ago

                                                            If door-to-door sales people were disproportionately committing crimes that would be a good analogy, but it's just not the case.

                                                            We all have our threat models, but I can guarantee you that simply installing uBlock Origin on a non-technical persons' PC will go much, much further than install an anti-virus towards securing their PC.

                                                            And FWIW I do use NoScript to block all third party scripts (and I used to block first party scripts).

                                                            • eddythompson80 8 hours ago

                                                              I guarantee you it won't. Actual malware (though I guess the disagreement might be on how we define malware) served through known ad networks that have been included in uBlock Origin's default ad block lists happens, but is rare. It can hardly be described as "disproportionately committing crimes".

                                                              Again, if you don't do some create redefining of "committing crimes" as "well, they noted down the profile of the person who answered the door, a quick survey of everything they could see and hear in the house, conducted a quick psychological assessment on the personality of the person answering and determined that they are more likely to buy a toilet plunger in the next 2 months" and that's a crime.

                                                              • pavel_lishin 8 hours ago

                                                                It's not just malware - it's also flagrantly scammy ads, banners that pretend to be download buttons, etc.

                                                                I don't particularly care what people think of me blocking ads. To me, it's morally equivalent to putting on my headphones and not making eye contact with the Salvation Army Santa ring-a-dinging his bell.

                                                                • eddythompson80 7 hours ago

                                                                  I think you're replying to the wrong comment?

                                                                  • pavel_lishin 4 hours ago

                                                                    I am not.

                                                                    • eddythompson80 4 hours ago

                                                                      oh, okay. Because OP was saying that door-to-door salesmen aren't "disproportionately committing crimes", they are disproportionately promoting scams though. So I'm not sure why you're arguing something unrelated to what we were discussing.

                                                            • hysan 8 hours ago

                                                              Unrealistic in today’s world. I ran noscript by default and did exactly as you described from 2007(?) 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.

                                                              • eddythompson80 8 hours ago

                                                                I do it. It's not unrealistic or even really that bothersome. You just have to be willing to walk away from a page that asks you to load 40 scrips from 17 different domains to read an article. Worst case scenario, you drop down to "just ad blocking" in a glassbreak type scenairo but at least you're aware that this random page pinged 17 different domains and loaded 40 scripts. It's an extra click or 2 on ublock origin (if you must have it)

                                                                • hysan 5 hours ago

                                                                  I think you may have missed my point. It’s unrealistic in the sense that if you value your own time, most people are just going to default to adblocking. You’d have to be more technical than the average user and be willing to trade off a lot of time to build up that kind of curated blocklist. Your counterpoint is an unrealistic critique of the parent comment.

                                                                  • eddythompson80 4 hours ago

                                                                    Yes I agree you have to be more technical than the average user, which is why I'm writing this on HN for HN audience. At least that's my (perhaps flawed) assumption about the audience here. And no, it has nothing to do with "value your own time". That type of argument is what prompts complacency, hence my counterpoint.

                                                              • trashcan_man 8 hours 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.

                                                                • schaefer 4 hours ago

                                                                  Are you aware the FBI has issued a notice to all Americans, telling them block ads because of the unmitigated threat of malware?

                                                                  If there’s a social contract being broken, it’s the ad networks, not the ad blockers in the wrong at the moment.

                                                                  Let them clean up their act, and start rebuilding trust and the balance might change.

                                                                  • rsync 6 hours ago

                                                                    There is no sanctimony.

                                                                    No serious person is sanctimonious about ad blockers.

                                                                    In your analogy, I put the sign in front of my house because fuck you, that’s why.

                                                                    Same with my web browser.

                                                                    • eddythompson80 6 hours ago

                                                                      There is something that describes this "No serious person is .." type argument, but it's escaping me.

                                                                      • stavros 5 hours ago

                                                                        It's a well-known fallacy, actually named after this very phrase: It's called "No True Serious Person".

                                                                    • wat10000 7 hours ago

                                                                      Signs get ignored. Ad blockers actually block things without their cooperation. It’s more like a locked gate which keeps out both bad guys (sometimes) and salespeople. Which is something people frequently do.

                                                                      • JoshTriplett 6 hours ago

                                                                        > Signs get ignored.

                                                                        In many jurisdictions, it is illegal to do so, and companies whose door-to-door salespeople do that can get fined. Report them.

                                                                        • eddythompson80 6 hours ago

                                                                          If it's a gate, it's a gate to keep your dog in the yard with a pull tab to let the UPS guys in.

                                                                        • thaumasiotes 8 hours 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.

                                                                          • eddythompson80 8 hours ago

                                                                            Not strictly speaking true. You can search fine blocking all 3P (i.e: non www.google.com) scripts.

                                                                            However, even if, sure. You might allow (or need or want) google.com domain to run JS, but that doesn't mean all the world wide web gets the same escalation of privileges. That sounds insane to me.

                                                                            • cowlevel 8 hours ago

                                                                              Fun fact: a SearX-NG proxy server works around this

                                                                        • s_u_d_o 36 minutes ago

                                                                          Why don’t google adsense & other ad providers sandbox those ads? And never allow any JS to be executed at client side? Wouldn’t this solve it all? Why doesnt our browser act like a renderer of those ads, without any possible JS execution?

                                                                          • emdash 34 minutes ago

                                                                            Because then Google would make slightly less money, and we can't have that.

                                                                          • afavour 10 hours 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.

                                                                            • sufianrhazi 7 hours ago

                                                                              Also, WebRTC is really hard to inspect even with devtools. Chrome DevTools just doesn't surface WebRTC connections or data transfer at all. There's just chrome://webrtc-internals/ and chrome://webrtc-logs/ which are very hard to use.

                                                                            • everdrive 1 hour ago

                                                                              >Same reason they’re only targeting mobile devices

                                                                              No one likes it when I say this, but don't use a smart phone for anything whatsoever.

                                                                              • edoceo 9 hours ago

                                                                                Would CSP mitigate this?

                                                                                • deathanatos 9 hours 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 9 hours 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 8 hours 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 9 hours 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.

                                                                                • cowlevel 8 hours ago

                                                                                  No, you still need P2P for reasonably efficient video chat. Your options are P2P or millions of dollars and god knows the internet doesn't need more centralisation.

                                                                                  • fidotron 8 hours ago

                                                                                    The moment you have more than two participants in a video chat it makes sense to use a relay node to reduce the bandwidth needed at each node. (See https://github.com/atomirex/umbrella <- shameless pre AI code).

                                                                                    P2P does things like exposes both participants IP straight to the other which are not desirable in the modern world. (Also the amount of networking metadata generated during connection negotiation is terrifying).

                                                                                    Once you're over those then the entire P2P side of the API looks like an anti feature. (But I am strongly in the camp of believing we need better unreliable network protocol support within HTTP channels).

                                                                                    • kelnos 3 hours ago

                                                                                      > P2P does things like exposes both participants IP straight to the other which are not desirable in the modern world.

                                                                                      Is this actually a problem? I don't think it's a good security posture to consider knowledge of your IP to be a security boundary. You give out your IP to every website you visit and every service you connect to. Some of those websites are undoubtedly shipping your IP off to analytics platforms and other sketchy 3rd parties.

                                                                                      If you do need your IP to remain private, you're using a VPN, Tor, proxies, etc. But only a small minority of people really need this.

                                                                                      • judge2020 1 hour ago

                                                                                        In general the websites you visit know your IP, but not other users you interact with on social media (or chat apps etc).

                                                                                        Social media users are more likely to have a personal interest in doing you harm by doing illegal (but not often prosecuted) things, like using your IP address to find your general IP location, DDOS you, scan your network for open ports/vulnerabilities and exploit them, phish your ISP into giving up your address (which can then be used to SWAT/stalk/etc), etc.

                                                                                        Someone who is vigilant about what links they click is probably not going to click coolwebsite.netlify.app, but might be fine going to zoom.us or meet.google.com.

                                                                                      • cowlevel 8 hours ago

                                                                                        Video chat is always more than 2 people is it

                                                                                        • mjochim 7 hours ago

                                                                                          It really isn't. I frequently do 1 on 1 video calls with someone.

                                                                                    • lxgr 3 hours ago

                                                                                      Sure, skimming card details would never happen via malicious collection scripts exfiltrating their data via plain old XHR over HTTPS...

                                                                                  • snickerer 7 hours ago

                                                                                    One basic design no-go of the www is to allow strangers to run random code on your computer. It is just not acceptable. Servers should deliver just data and my browser decides what to do with it. A shop should deliver lists of items and prizes and my shop browser decides how to operate with the catalogue in a way I want. Everying else is nuts.

                                                                                    • lxgr 4 hours ago

                                                                                      This wouldn't change the fact that the site owner gets to decide which code runs on their site, whether in your browser or on their backend. In a counterfactual world in which Javascript never became a thing, I'm sure there'd now be all kinds of horribly sketchy server-side plugins causing very similar types of problems.

                                                                                      In both worlds, the problem is who a site owner decides to grant access to your shopping session, not the fact that access can be granted at all. Or how would you ban them from e.g. insecurely transmitting your card data to their payment service processor on their backend? You just wouldn't see it.

                                                                                      • streetfighter64 5 hours ago

                                                                                        > allow strangers to run random code on your computer

                                                                                        > deliver just data and my browser decides what to do with it

                                                                                        Code is data and your browser decides to execute it. A toy example, but HTML+CSS is Turing complete. The problem thus isn't that it's "code", but rather that it's not properly sandboxed.

                                                                                        > my shop browser decides how to operate with the catalogue in a way I want

                                                                                        Are you making a case for built-in components for e.g. sorting and filtering and what have you? To me that's just way more clunky than having an actual programming language. Even PDF, a static document format with no real user interaction, has a programming language (PostScript) embedded.

                                                                                        So in my view, the problem with JS isn't the features of the language itself, rather that the standard library has too much power, to make requests and access your microphone and stuff like that.

                                                                                        But even then, people want to use their computer to do video calls, and whatnot. And I for one much prefer using Zoom or Teams or such in the web app, instead of downloading the app version. Precisely because the web app is more tightly sandboxed.

                                                                                        • IgorPartola 7 hours ago

                                                                                          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?

                                                                                          • Groxx 6 hours ago

                                                                                            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.

                                                                                            • ebertucc 6 hours ago

                                                                                              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.

                                                                                          • __MatrixMan__ 9 hours 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.

                                                                                            • pcthrowaway 6 hours ago

                                                                                              > It's crazy that we have had asymmetric cryptography since the 70s and we're still using symmetric secrets for payments

                                                                                              This is one of the actual things cryptocurrency payments get right (ignoring other problems)

                                                                                              • TheRealPomax 9 hours 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 9 hours ago

                                                                                                  I can count on one hand the times I've had to do any extra step like this

                                                                                                  • xnorswap 9 hours 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 8 hours 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 9 hours ago

                                                                                                      It's a legal requirement in the EU specifically (PSD2 Strong Customer Authentication). Alas, it is not in the US.

                                                                                                      • bonzini 8 hours ago

                                                                                                        Even ignoring bank-issued credit cards, PayPal does it in the EU even for small payments.

                                                                                                        • brewdad 8 hours 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.

                                                                                                        • SoftTalker 7 hours ago

                                                                                                          Not common or really done at all in the USA from what I've seen.

                                                                                                          • h1srf 2 hours ago

                                                                                                            Some Baader-Meinhof going on here. Yesterday I got a text message with a pin from Amex when paying for a large purchase. I vaguely remember a Verified by Visa action earlier this year when purchasing European train tickets while I was still in the US. So my completely anecdotal conclusion is that they do when they deem it suspicious: out of the ordinary large purchase, online non-USD purchase(maybe travel related and not being shipped to you) etc.

                                                                                                            • SkiFire13 5 hours ago

                                                                                                              Merchants don't even bother enabling it for USA issued cards because it's more risky.

                                                                                                              https://stripe.com/blog/surprising-findings-from-our-analysi...

                                                                                                              > Our analysis suggests that issuers in the US perceived transactions requesting 3DS to be particularly high-risk, often declining these transactions more aggressively rather than putting US users through an unfamiliar 3DS challenge flow.

                                                                                                              • fc417fc802 1 hour ago

                                                                                                                How frustrating but it explains prior experience for me. Several times I've had a payment "declined" but no message from the bank and when I call they don't see it on their end.

                                                                                                                It's completely absurd. Processing payments and figuring out fraud is the payment processors responsibility - leave it to them, you aren't going to be able to do it correctly! Are vendors not able to flag suspected fraud when sending a transaction to the processor?

                                                                                                                • judge2020 1 hour ago

                                                                                                                  Probably correlation with international purchases likely being the only ones that commonly request 3DS.

                                                                                                                • Groxx 6 hours ago

                                                                                                                  As a USAian: I would much prefer to have this, but I've literally never seen it. Purchases either work with just a CVV or they fail for invisible reasons and basically nothing works around it when that happens so you just use PayPal instead.

                                                                                                                  • lxgr 4 hours ago

                                                                                                                    US issuers largely just can't be bothered to do it. They'd apparently rather take the hit on lost transactions or fraud they are liable for than do something as drastic as sending an OTP to their cardholders (and make them reach for a competitor's card next time)... Same reason PINs on credit cards are not a thing in the US.

                                                                                                                    This is a typical problem that can probably only be solved by regulator intervention, since the game theory really might make not supporting 3DS challenges the optimal move. The stick of the 3DS liability shift was apparently not painful enough.

                                                                                                                    • fc417fc802 1 hour ago

                                                                                                                      No, this is either a technical problem with the payment network or it's the vendors not doing their jobs properly. All the payment providers that I've used in the US are definitely capable of at least SMS and app based verification (if not also TOTP and various others). They can also manually nerf the fraud checks temporarily if you call customer service after having a payment declined by the processor themselves.

                                                                                                                      The problem is sometimes vendors just drop the transaction on their end and lie to you that it was declined.

                                                                                                              • vladms 5 hours ago

                                                                                                                I do to (Europe based) and would have hoped it's the only possibility, but it seems that some transactions can still go through without that. I found out when I noticed some ~5 euro suspect transactions, called the bank, they said "oh, yeah, this was without MFA (me: what?! can we you do that) will send you another card". So watch-out, just because you get asked a code for some transactions it doesn't mean it would appear for all.

                                                                                                                • SkiFire13 4 hours ago

                                                                                                                  3DS admits a frictionless flow if the bank considers the risk to be low. Merchants can also request exemptions for low value transactions, but there's a limit to how often that can skip the MFA.

                                                                                                                • flockonus 4 hours ago

                                                                                                                  Not here in Canada, i probably been asked the "3d secure" phone code about 4 times total.

                                                                                                                  • ranger_danger 9 hours 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 9 hours ago

                                                                                                                      We have zero liability for customers for fraud so no one cares that much.

                                                                                                                      • techjamie 9 hours 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.

                                                                                                                        • lxgr 4 hours ago

                                                                                                                          The dispute process is actually exactly the same for both credit and debit cards, and both enjoy very comparable legal protections.

                                                                                                                          • BenjiWiebe 1 hour ago

                                                                                                                            Then it's improved since I had money stolen via my debit card. I had to have an appointment with the banker at the bank and fill out paperwork, and got the money back a couple weeks later.

                                                                                                                            I've had my credit card number stolen once, and another time a single fraudulent transaction, and both times it was super easy and very fast to get my money back.

                                                                                                                          • CookieCrisp 8 hours ago

                                                                                                                            They make it look one click away, but, the one time I had to use it with a Discover card I had to do a lot of legwork to get it refunded and it took nearly three months. If I hadn't been so annoyed at the fraud I would have just eaten it

                                                                                                                          • lxgr 4 hours ago

                                                                                                                            Your card issuer actually cares a lot, since they end up paying for fraud on 3DS or stolen card transactions (which are vastly more likely without cards having a PIN).

                                                                                                                            However, they care even more about not losing your business to their competitors not implementing any safety measures, so they also don't. It's a classic race to the bottom.

                                                                                                                            • __MatrixMan__ 8 hours ago

                                                                                                                              We pay for this with higher prices, which the merchant uses to pay the various payment gatekeepers, which is why those gatekeepers don't care to prevent the fraud. They also recoup the cost of fraud by aggregating data on our spending habits into various data products (inevitably used by scammers), and by making deals with people who want to shut payments off for people they don't like (e.g. this happened to wikileaks).

                                                                                                                              I'd prefer to have good tools for preventing fraud, and then take on the liability. This whole subscription-model economy isn't exactly working out. We just end up with consequences that are hard to see.

                                                                                                                        • thaumasiotes 8 hours ago

                                                                                                                          I have had that happen (two relevant banks: Bank of America / Capital One), but it's very rare. The normal case is that you put in your card information and you're done.

                                                                                                                          Long ago, I had payment denied for an in-person transaction, after which my card was locked for any purpose, and I had to make a phone call to Bank of America to (1) process the original transaction and (2) unlock my card. The in-person transaction was in China, which I guess freaked out their system.

                                                                                                                          But having done that once, I never had a problem in China again. I opened the Capital One account mainly so that I could use it in China ("no foreign transaction fee", though in fact the foreign transaction fee is a very reliable 1%), and it didn't even raise an objection the first time like BofA did.

                                                                                                                        • lxgr 4 hours ago

                                                                                                                          We're not even using symmetric key cryptography, we're using globally scoped bearer tokens of very, very questionable entropy. "Publics" much more than secrets, really.

                                                                                                                          > I suspect that the people who could change this are more interested in continued treatment than cure.

                                                                                                                          There is no cabal. It's game theory all the way down: Whoever unilaterally trades off some convenience for a little bit of security will lose out to their competitors.

                                                                                                                          Regulators could fix it by mandating security (and thereby keeping the playing field level), in the way that e.g. the EU largely solved this problem (at least for intra-EU payments; unfortunately compromised EU cards can still be readily used at US online merchants), but I have a feeling that in the US, there isn't really political will for that. Too many stakeholders are benefiting from the status quo in one way or another.

                                                                                                                          • SoftTalker 7 hours ago

                                                                                                                            THe ideal amount of fraud is not zero. The rates of fraud are evidently managable/acceptable by the major payment processors, or else they would change their methods.

                                                                                                                            • lxgr 4 hours ago

                                                                                                                              A seemingly elegant justification for the status quo, but I don't think it's actually true. (I do think that the ideal amount of fraud is greater than zero, but it's probably much lower than current numbers too.)

                                                                                                                              I think it's rather a collective action problem: If all issuers were to make card payments just a little bit more secure (and in the process less convenient too), consumers would have no choice but adapt. But since it's in each issuer's individual interest to keep that dial just a liiitle bit more to the "convenient but insecure" position than their competitors, the only equilibrium ends up being everybody approving as much fraud as they can accept. A very similar consideration applies on the merchant side.

                                                                                                                              Unregulated markets do often produce optimal solutions, but that doesn't mean that literally every solution they produce is also optimal.

                                                                                                                              • eli 6 hours ago

                                                                                                                                Of course they are. They mostly make the merchants eat it.

                                                                                                                                • __MatrixMan__ 6 hours ago

                                                                                                                                  Sure, ideal for the payment processors. What's the ideal amount of fraud for the consumer?

                                                                                                                                  • SoftTalker 5 hours ago

                                                                                                                                    Whatever amount is worth dealing with to have a smooth and easy online purchasing experience, since a fraud-free one would have more friction (edit to add: and likely higher fees/costs).

                                                                                                                                    That varies by individual of course but we're talking about consumers as a group here.

                                                                                                                                    • lxgr 4 hours ago

                                                                                                                                      Probably not zero (as that would require strong cardholder authentication for every single payment and probably even more drastic measures), but much less than is occurring in the US today.

                                                                                                                                      • mrguyorama 5 hours ago

                                                                                                                                        Not zero.

                                                                                                                                        The only possible way to get zero fraud is to have zero transactions. Anything else requires you accept some probability of fraud, and then it's just luck of the draw whether you allow a fraudulent transaction or not.

                                                                                                                                        • Hackbraten 5 hours ago

                                                                                                                                          Fraud prevention, like most things, becomes subject to diminishing returns at a point.

                                                                                                                                          The consumer is who pays the price no matter what, so the sweet spot that is ideal for the provider is likely ideal for the consumer too.

                                                                                                                                      • tialaramex 9 hours 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.

                                                                                                                                        • lxgr 4 hours ago

                                                                                                                                          You probably mean cardholder authentication, not authorization. Authorization in the cards space means checking with the card issuer if the card has sufficient funds, but the cardholder identity is usually not verified here (except if maybe a PIN is entered, but even that can happen at a different stage). Even magnetic stripe cards have been commonly authorized online decades before EMV became a thing.

                                                                                                                                          Also, the idea that "better EMV cards yield better security" is outdated by at least a decade and was only really relevant before ubiquitous online transaction authorization (at which point both "cheap" and "expensive" EMV cards can be verified for being clones). These days, essentially all cards support asymmetric cryptography, i.e. are the "expensive type of card", and are secure against clones even when the terminal is offline (assuming the issuer even wants to support that type of transaction, since it involves some risk to them).

                                                                                                                                          The main difference is whether they support a PIN or whether a signature is sufficient, but that's mainly driven by market considerations, not individual issuers' fraud tradeoffs.

                                                                                                                                          • tialaramex 3 hours ago

                                                                                                                                            > These days, essentially all cards support asymmetric cryptography, i.e. are the "expensive type of card"

                                                                                                                                            The last time I spent any time researching this, which is a good number of years ago, some issuers had definitely switched to DDA ("expensive") and back, seemingly because of PR. That is, incidents of fraud cause media coverage => new cards are DDA, fraud epidemic subsides => back to SDA, fraud rises again, but this time it gets no coverage because we already covered that story.

                                                                                                                                            Perhaps the chips got so cheap it doesn't make any sense to distinguish now, which would be good.

                                                                                                                                            • lxgr 2 hours ago

                                                                                                                                              > some issuers had definitely switched to DDA ("expensive") and back

                                                                                                                                              That's really surprising, I was under the impression that DDA or CDA were essentially a given at the very least since open loop transit became a thing. (I don't think it's possible to use a non ODA or SDA only card at a TfL fare gate, for example.)

                                                                                                                                              FWIW, this doesn't necessarily have to be a conscious decision to move back to an older standard. There's quite some lead time between ordering blank card stock and actually receiving it for banks or their suppliers, so stocks can be substantial and need to be burned down etc., which could explain what looks like a regression from the outside.

                                                                                                                                        • cowlevel 8 hours ago

                                                                                                                                          We have asymmetric-key payment systems. Google Pay, Apple Pay, physical credit cards... notice one thing in common. They're hard to use and not available in all scenarios.

                                                                                                                                          • lxgr 4 hours ago

                                                                                                                                            These actually all largely use symmetric cryptography, except for payments at offline terminals or as an additional layer of security against certain types of attacks.

                                                                                                                                            EMV is a symmetric key system at its core, since asymmetric cryptography capabilities were prohibitively expensive to implement in smartcards when it was originally introduced.

                                                                                                                                            • kenferry 7 hours ago

                                                                                                                                              Do you mean hard to use for the merchant? I use Apple Pay whenever possible, and it’s easier than entering credit card details.

                                                                                                                                              • kccqzy 4 hours ago

                                                                                                                                                From my own experience Apple Pay is hard to use for all transactions that are recurring. I haven’t looked deeply into it to determine whether it’s my bank or Apple Pay itself, but basically all recurring transactions I set up with Apple Pay start to be declined long before the actual expiration of the card. Monthly subscriptions seem to be better, but yearly subscriptions are terrible: I’ve never had a merchant successfully process my subscription renewal during the second year if I’m using Apple Pay.

                                                                                                                                                • lxgr 3 hours ago

                                                                                                                                                  Apple has introduced a subscription management system a while ago that's supposed to solve this and other problems [1], but unfortunately adoption hasn't been great in my experience as a user.

                                                                                                                                                  [1] https://support.apple.com/en-us/118261

                                                                                                                                            • forgetfreeman 8 hours 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.

                                                                                                                                              • __MatrixMan__ 6 hours ago

                                                                                                                                                Yeah I think there's quite a lot of craziness to go around. It's dumb on so many levels. To zoom out a bit further, It's also crazy that I can get a business loan for some endeavor that would hurt somebody, and then take the money from that loan, and expect that person to value that money--fungibility obfuscates moral hazards and makes us work against our own interests, and I'd love to do away with it also.

                                                                                                                                                But whether or not we agree about how we might restructure the bigger picture, at some point somebody has to say yes or no to a candidate transaction, somebody whose answer makes it a real transaction. It seems very obvious to me that:

                                                                                                                                                1. that person should be a party to the transaction, not a middle man

                                                                                                                                                2. The secret they use to do so should not leave their device. (A modern credit card is a device, complete with an OS and a secure enclave for keys)

                                                                                                                                                • lxgr 3 hours ago

                                                                                                                                                  Not sure if that would actually solve this problem. Electronic funds transfers have been available in Europe for decades, yet cards are still widely used for online payments. But cards are also much cheaper and more secure there (PINs and 3DS are ubiquitous).

                                                                                                                                                  • thaumasiotes 8 hours ago

                                                                                                                                                    > What seems in need of justification is the broad availability of electronic funds transfers.

                                                                                                                                                    Well, that's trivial. They make it easier to transact.

                                                                                                                                                    • forgetfreeman 7 hours ago

                                                                                                                                                      It's trivial only and solely if you are so hopelessly inured to that level of weaponized convenience that you're literally incapable of conceiving of an alternative. For those of us that still remember how to balance a checkbook the juice has not proven worth the squeeze.

                                                                                                                                                      • thunderfork 3 hours ago

                                                                                                                                                        I can conceive of an alternative (mailing cheques) but it's a bit shit and no more secure...

                                                                                                                                                • kevsamuel 6 hours ago

                                                                                                                                                  I don't see what this has anything to do with Web RTC, a normal ajax requests would have worked if the server define CORS, and even without, you can push a POST form button cross domains anyway.

                                                                                                                                                  Unless the site just forgot to add Web RTC in their connect-src CSP?

                                                                                                                                                  In which case it's not about WebRTC, it's about the site owner not securing their website.

                                                                                                                                                  • judge2020 1 hour ago

                                                                                                                                                    Connect-src 'none' does not actually block webrtc, only the setup.

                                                                                                                                                  • OptionOfT 3 hours ago

                                                                                                                                                    Interesting. A while back I couldn't even see event streams messages in Edge's debugger.

                                                                                                                                                    I feel like this should become a checkbox on MDN: debugger tools exist without adding console.log.

                                                                                                                                                    • robin_reala 9 hours 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 9 hours ago

                                                                                                                                                        I did not understand all: How did this land on the affected websites in the first place ?

                                                                                                                                                        • thinkling 9 hours 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 9 hours ago

                                                                                                                                                            Ad tracking pixel provider. Their solution was compromised

                                                                                                                                                            • dboreham 8 hours ago

                                                                                                                                                              To make more money, the site owner allowed mystery-meat code to be loaded onto their payment page. Normally that code is effectively sandboxed, but the attacker figured out how to evade the sandboxing. The attacker only had to pay (via an intermediary) to get their payload onto the page.

                                                                                                                                                            • drnick1 1 hour ago

                                                                                                                                                              WebRTC should really be one of those things that is disabled by default. It just adds to the already enormous attack surface of Web browsers.

                                                                                                                                                              • nout 8 hours 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 8 hours 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?

                                                                                                                                                                  • grandfunction 8 hours ago

                                                                                                                                                                    I don't recognise "meat-life" myself, but we were definitely using "meat space" in the late 1990s. Same meaning as IRL, but used more often IRL :-)

                                                                                                                                                                    • Terr_ 6 hours ago

                                                                                                                                                                      My vague sense of when to use one or the other:

                                                                                                                                                                      * "IRL" is to describe a separate process, like an "IRL purchase at the store", distinct from an online purchase.

                                                                                                                                                                      * "Meat-space" when it's a combined process and you need to distinguish between phases which occur in different contexts, like "this API call causes X to happen in meat-space."

                                                                                                                                                                      • DeluluDon 3 hours ago

                                                                                                                                                                        I like online and offline if I felt like being accurate

                                                                                                                                                                        • nout 6 hours ago

                                                                                                                                                                          I think I meant to use meat space, but I was too sleep deprived from children to remember the right lingo.

                                                                                                                                                                      • francescovv 7 hours ago

                                                                                                                                                                        My bank forces a yes/no confirmation in the app (with merchant name and euro amount) for each transaction.

                                                                                                                                                                        Not the greatest UX (can't pay with a card on a plane for example), but this does entirely solve skimming problem.

                                                                                                                                                                      • theturtletalks 8 hours 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.

                                                                                                                                                                        • shakesbeard 3 hours ago

                                                                                                                                                                          PCI DSS requirement 11.6.1 actually requires every merchant to monitor scripts and headers on their payment pages to combat magecart/skimming attacks. So best to use a hosted solution or one that solves this for you (e.g. Stripe Elements).

                                                                                                                                                                          • myself248 2 hours ago

                                                                                                                                                                            What are the odds of the affected sites losing their card processing privileges?

                                                                                                                                                                          • kragen 7 hours ago

                                                                                                                                                                            I was surprised to learn recently that browsers support iframe attributes to prevent almost all of the possible ways an iframe can exfiltrate information—navigating the iframe, navigating the top frame, loading images, loading scripts, using Fetch or XHR, etc.—but not WebRTC. In this case, though, it looks like the ads had lots of exfiltration avenues available, so I wonder why they went to the extra trouble of using WebRTC?

                                                                                                                                                                            • ebertucc 6 hours ago

                                                                                                                                                                              From afavour's comment[0]:

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

                                                                                                                                                                              [0]:https://news.ycombinator.com/item?id=50668592

                                                                                                                                                                            • 07_ajax_ 9 hours ago

                                                                                                                                                                              That's why you redirect to an authorised payment service provider instead.

                                                                                                                                                                              • tonymet 1 hour ago

                                                                                                                                                                                I'm shocked / horrified that there isn't a single webRTC permissions consent prompt, that it is separated into audio/video, local network access. And the webRTC connection used in this malware works without consent. WTF

                                                                                                                                                                                • javcasas 10 hours ago

                                                                                                                                                                                  And another case of a tracking pixel or a third party ad/tracker injecting malicious code.

                                                                                                                                                                                  • amaringo234 7 hours ago

                                                                                                                                                                                    But with 3ds in place, what can they actually do with these skimmed credit cards?

                                                                                                                                                                                    • stryan 10 hours 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 10 hours 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 10 hours ago

                                                                                                                                                                                          Less likely to have ad-blockers would be my guess.

                                                                                                                                                                                          • coldfloor 9 hours 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 8 hours 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.

                                                                                                                                                                                          • tclancy 7 hours ago

                                                                                                                                                                                            This is horrifying. The file paths seem to suggest someone is still using ColdFusion.

                                                                                                                                                                                            I kid because I loathe.

                                                                                                                                                                                            • mzmzmzm 9 hours 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.

                                                                                                                                                                                              • mitchweaver 8 hours 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?

                                                                                                                                                                                                • cowlevel 8 hours ago

                                                                                                                                                                                                  This has nothing to do with WebRTC or TLS lock icons

                                                                                                                                                                                                • superkuh 7 hours ago

                                                                                                                                                                                                  It's amazing to me that we as society have become disdainful of anyone that doesn't automatically execute computer programs sent by unknown arbitrary third parties from random domain names.

                                                                                                                                                                                                  20 years ago everyone knew not to open and execute any program sent to you by someone you don't know. Or even someone you do. Now this wisdom has been lost and even flipped on it's head.

                                                                                                                                                                                                  • 0xmattf 9 hours 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.

                                                                                                                                                                                                    • luqzirafir 8 hours ago

                                                                                                                                                                                                      I thought it's crazy that the "Build and Backed by People from..." section seems so stacked with lots of top tech companies, or maybe it's just a hallucination from their AI? Idk Lmao.

                                                                                                                                                                                                      • 0xmattf 6 hours ago

                                                                                                                                                                                                        I thought the same, but on their about page, their bios say they've worked for Meta/Google, so maybe it's true.

                                                                                                                                                                                                    • gib444 9 hours 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 9 hours 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 8 hours 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.)

                                                                                                                                                                                                      • eptcyka 7 hours ago

                                                                                                                                                                                                        Isn’t iframe isolation supposed to solve this? Oh wait, isolation.

                                                                                                                                                                                                        I nominally put a lot of trust in KVM to isolate guests, but if we can’t isolate web contexts from one another, what hope can we have for whole simulated CPUs?

                                                                                                                                                                                                        • tonymet 4 hours ago

                                                                                                                                                                                                          this is why Chrome & MS Edge wallet (and password manager) worries me. the autofill injects into the UI, where skimmers & malware can steal. And they work without user-interaction

                                                                                                                                                                                                          • darylk 58 minutes ago

                                                                                                                                                                                                            the GDPR (if we had it here) would end this type of nonsense quickly. Starting to think it’s worthy of discussion mostly due to a proper fine structure. Oh yeah and privacy. Something we don’t have ink upon in our laws.

                                                                                                                                                                                                            • gigatexal 7 hours ago

                                                                                                                                                                                                              apple pay and similar payment/auth methods should be immune to this, no?

                                                                                                                                                                                                              • barbaudue710 10 hours ago

                                                                                                                                                                                                                WebRTC is wild

                                                                                                                                                                                                                • deathanatos 9 hours ago

                                                                                                                                                                                                                  WebRTC is just the exfiltration mechanism. The attack could have used a JSON/AJAX call, or even an img tag.

                                                                                                                                                                                                              • ltbarcly3 7 hours ago

                                                                                                                                                                                                                These are all obscure sites, misleading title

                                                                                                                                                                                                                • ljubomirsinadin 6 hours ago

                                                                                                                                                                                                                  LoL