Posted by scanr 5 hours ago
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.
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...
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.
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.
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.
This is the most parochial and regulation-brained statement I've ever seen.
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.
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.
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.
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?
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.
> 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...
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?
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.
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.
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.
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).
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.
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.
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.
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.
In many jurisdictions, it is illegal to do so, and companies whose door-to-door salespeople do that can get fined. Report them.
Fun fact: Google will no longer let you search if you have javascript off.
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.
You can see it on this forum where there is little to non-existent push back on ad blocking or explaining how annoying and awful ads are from a UX prospective or even as a security or privacy concern (those are views as personal preferences/skill issues) vs. the push back when you mention how online ads are a moral or ethical problem. Compare ads to gambling or extortion or racketeering or some other obvious (and similar) moral issue and people here would come out of the woodwork to argue the minor minutia of why the analogy doesn't follow and how some people might find ads desirable actually.
OMG we must feed babies into the orphan crushing machine, there is no other way!
This isn't oppression Olympics, I don't care how bad other industries are, this one fails on its own merits.
This accounts for a large portion of the tech industry.
I also find it funny that if ads went away, people like you would complain when everything goes up by 3x and it's unaffordable.
Ads are the main reason people without money can still use many of the same services as the people that can afford to pay it.
Amazon employs 1.5M people, but a fraction of those are tech roles; its mostly operations and fulfillment (warehouse). Lumping all Apple employees in there you get all the retail store employees.
A more realistic estimate is probably about 750k corporate roles across FAANG. Subtract non-tech positions (HR, Finance, etc) and its significantly less.
The kind of ignorance explains why some people here think the FAANG way of doing things is the absolute standard for the entire industry. They cannot imagine companies that don't have ridiculous profit margins coming from ads or those that have real customer service provided by humans.
I thought techbros were libertarian but are they actually socialist?
- Dismantlement of the global digital panopticon
- Major economic improvements as local retail and localish manufacturing are possible again
- Revitalization of journalism with all the knock on effects to politics and business that come with that
- Elimination of ~138M tons of CO2 production annually
- Broad improvement to mental health in the general population and especially in children
> Major economic improvements as local retail and localish manufacturing are possible again
To be fair this just means a lot of goods go up in price. The amazonification of everything worked because it's cheaper and more convenient, and people actually want that. Whereas digital panopticon people don't want, though they also seem not to care enough or understand enough to fight it. I think people do want mental health improvements, though that one is a mixed bag because everyone is also a phone addict.
They're already that expensive, the costs have just been externalized to some combination of foreign workers and future generations. As to what people want, I want to down half a fifth of tequila and go set my neighbor's rose bushes on fire simply for the novelty of the experience. People want all kinds of dumb shit, and can be made to want even more dumb shit so indulgence doesn't seem like a broadly sensible strategy. While we're cramming levers under idols here's another wild notion: consumerism is nothing more than engineered wealth transfer and folks would be broadly better off if they didn't buy a bunch of stuff to begin with.
no doubt. but i don't see how you stop it without crushing personal freedom. people like things that are bad for them, and in most cases other people can profit off those bad decisions. and then (via advertising or other means) whip up even more bad decisions to profit more. smart regulation has a place. still, i'd prefer to err on the side of being able to do what i want.
Labeling consumerism as the ill is simply lazy. There are no paradises in the past. The world has always been brutal and people have always acted accordingly. People had less mental health problems in the past because they had less free time to complain. Life has always been nasty, brutish and short. Human capacity for idols is one of the few domains of respite - one of our own making. To remove our idols is to take away our humanity. Its a marketplace of idols. Take your pick. But don't confuse yourself - you are not immune from this human disease. You quite obviously suffer under your own idols, and frankly, I find your own far less salubrious.
But to each their own. Your path is easily taken if you truly believe in it. Have at it.
[0]https://www.poetryverse.com/ogden-nash-poems/song-open-road
Elimination of the advertising industry wouldn't take anyone back to an agrarian society and if it did it would still be a much better situation than the current situation where my football games are punctuated by gambling ads, by ads for pharmaceuticals that few will ever need, repetitious ads from local vendors about "going out of business sales" that never seem to see any end to their business though I'm sure most would agree with me that it is way past time. When I was a kid it was cigarettes, beer, geritol, aspirin or cough syrup and other stuff I also didn't need.
The industry has become so corrupt that they have no issues at all with offering premium services that are ad-free as long as you watch ads before the event begins. I sincerely hope everyone involved in marketing and advertising and lobbying rots here on earth before they have an opportunity to rot in hell. It would be nice to know that they got their just desserts.
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.
Some background and screenshots here: https://httptoolkit.com/blog/decentralized-web-webrtc-debugg.... I'm the author.
When you launch an intercepted Chromium there, it injects a browser extension which hooks webrtc and redirects all connections through a MITM for debugging & rewriting. Only works with bare chromium not chrome nowadays, as Chrome looks down extension setup far more tightly unfortunately (for quite good reasons, but mildly inconvenient for dev).
All open source, backend is also usable standalone: https://github.com/httptoolkit/mockrtc
> 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`.)
Haven't tried but in theory it should work.
You can apparently block WebRTC with `Content-Security-Policy: webrtc 'block'`
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.
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).
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?
They weren't saying websites should be completely static, just maybe they shouldn't run attacker-controlled code.
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.
> 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.
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.
This is one of the actual things cryptocurrency payments get right (ignoring other problems)
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.
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.
Fortunately I've never been defrauded, but my dad was once via his debit and it was a pain.
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.
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.
That varies by individual of course but we're talking about consumers as a group here.
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.
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.
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.
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)
Well, that's trivial. They make it easier to transact.
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.
- “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.
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.
> 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.
* "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."
Not the greatest UX (can't pay with a card on a plane for example), but this does entirely solve skimming problem.