Google's browser security plan slammed as dangerous, terrible, DRM for websites
- Reference: 1690463712
- News link: https://www.theregister.co.uk/2023/07/27/google_web_environment_integrity/
- Source link:
Ben Wiser, a software engineer at the Chocolate Factory, responded on Wednesday to [1]serious concerns about the proposal by insisting that WEI aims to address online fraud and abuse without the privacy harms enabled by browser fingerprinting and cross-site tracking.
"The WEI experiment is part of a larger goal to keep the web safe and open while discouraging cross-site tracking and lessening the reliance on fingerprinting for combating fraud and abuse," he explained in a [2]GitHub Issues post .
The WEI experiment is part of a larger goal to keep the web safe and open
"Fraud detection and mitigation techniques often rely heavily on analyzing unique client behavior over time for anomalies, which involves large collection of client data from both human users and suspected automated clients."
WEI is an attestation scheme. It provides a way for a web publisher to add code to a website or app that checks with a trusted third party, like Google, to see whether a visitor's software and hardware stack meets certain criteria to be deemed authentic.
[3]
Technically speaking, attestation is just a matter of transmitting [4]a token with a value – derived from as-yet-undisclosed hardware and software characteristics – that indicates whether or not the client is trustworthy. It's then up to the website publisher to decide how to respond to that signal.
[5]
[6]
In theory, if effectively implemented, WEI could allow a web game publisher to check whether game players are cheating through the use of unsanctioned hardware or software. Or it might be used by a content publisher to check whether ads are being displayed to real visitors or fraudulent bots.
The worry is that WEI could potentially be used to disallow ad blocking, to block certain browsers, to limit web scraping (still largely legal, though often disallowed under websites' terms-of-service), to exclude software for downloading YouTube videos or other content, and impose other limitations on otherwise lawful web activities.
[7]
What WEI's attestation check actually looks for has not been revealed. Nor is it evident from the [8]WEI code that has been added to the Chromium open source project. But Wisner insists, "WEI is not designed to single out browsers or extensions" and is not designed to block browsers that spoof their identity.
However, the intended use of a technology isn't necessarily a limitation on it being employed in tricky new ways.
Sounding the alarm
Those in the technical community who have expressed alarm about the proposal argue that the web should not be brought under a permission-based regime, where a third party renders judgment on the worthiness of users – without consultation, based on opaque criteria.
The use cases listed seem very reasonable, the solution proposed is absolutely terrible
"The idea of it is as simple as it is dangerous. It would provide websites with an API telling them whether the browser and the platform it is running on that is currently in use is trusted by an authoritative third party (called an attester)," wrote Julien Picalausa, a software developer at browser maker Vivaldi, in [9]a post on Tuesday.
"The details are nebulous, but the goal seems to be to prevent 'fake' interactions with websites of all kinds. While this seems like a noble motivation, and the use cases listed seem very reasonable, the solution proposed is absolutely terrible and has already been equated with DRM for websites, with all that it implies."
Dangerous though the idea may be, attestation has already been implemented on native platforms ( [10]Android and [11]iOS ) – some would say autocratic regimes compared to the relatively open web.
[12]Google's next big idea for browser security looks like another freedom grab to some
[13]Google asks websites to kindly not break its shiny new targeted-advertising API
[14]Xiaomi emits phone browser updates after almighty row over web activity harvested even in incognito mode
[15]How dodgy browser plugins, web scripts can silently rewrite that URL you were about to hit – and throw you into an internet wormhole
But attestation has even made it to the web. Tim Perry, creator of dev tool HTTP Toolkit, noted in a [16]blog post on Tuesday that Apple offers [17]Private Access Tokens for its Safari browser. Network security firm Cloudflare uses Private Access Tokens as a way to avoid showing people CAPTCHA puzzles to prove that they're not robots.
Perry argues that Apple's scheme is less of a concern because Safari's market share (~20 percent of mobile and desktop browsers) is far less than Chrome/Chromium (~70 percent of web clients). Nonetheless, he opposes attestation for being fundamentally anti-competitive.
[18]
"Fraud and bots on the web are a real problem, and discussion on ways to defend against that is totally reasonable, and often very valuable!" Perry declared.
Removing all user control over their own devices is not a reasonable tradeoff
"It's a hard problem. That said, this has to be carefully balanced against the health of the web itself. Blocking competition, hamstringing open source and the open web, and removing all user control over their own devices is not a reasonable tradeoff."
Google considers Apple Private Access Tokens to be too private. The WEI proposal says, "due to the fully masked tokens, this technology assumes that the attester can produce sustainable, high-quality attestation without any feedback from websites about gaps such as false positives or false negatives."
Apple's Private Access Tokens [19]do not involve the exchange of device data between the device maker (Apple, as an attester) and Cloudflare. Google argues that masking token data in this manner denies feedback from websites involved in the attestation process that may be able to use withheld device data to minimize incorrect trust verdicts.
In fact, Wiser suggests privacy improvements are what prompted WEI. "Privacy features like [20]user-agent reduction , [21]IP reduction , [22]preventing cross-site storage , and [23]fingerprint randomization make it more difficult to distinguish or reidentify individual clients, which is great for privacy, but makes fighting fraud more difficult," he claimed.
The result of this, he argues, is that websites – determined to fight fraud – have responded by increasing their usage of sign-in gates, invasive fingerprinting techniques, and intrusive challenges like CAPTCHAs and SMS verification. Wiser argues these defenses make the web experience worse.
"We believe this is a tough problem to solve, but a very important one that we will continue to work on. We will continue to design, discuss, and debate in public," he said.
A fundamental flaw
Jon von Tetzchner, CEO of Vivaldi, told The Register in an interview that while Google has yet to specify exactly what WEI will be measuring to render trust verdicts, the details don't really matter – the entire approach is flawed.
"A big part of the reason why there is a problem is the surveillance economy," he explained, "and the solution to the surveillance economy seems to be more surveillance."
Von Tetzchner said that Google wants to know who is seeing its ads when it should, in his opinion, focus on where its ads get shown – often on web spam pages to be viewed by bots involved in ad fraud.
The solution is to get away from the surveillance economy
He recalled when he was involved with the Opera browser and had to deal with Google Docs not working on the browser. "When we started with Vivaldi, my thinking was okay, we are using Chromium, this is not going to be a problem," he said.
But compatibility issues remained, he said, and Vivaldi had to hide its identity ( [24]spoof its default User-Agent string ) to enable users to access popular Google services. And he's concerned WEI represents more of the same.
Von Tetzchner argues that attestation is not the proper response to online fraud.
"I just don't think this is a solution," he said. "The solution is to get away from the surveillance economy. We've been trying to ban the surveillance economy and ban the collection of data and making profiles on end users and utilizing it for advertisements. I really don't really see any reason why that should be legal in society.
"The surveillance economy is highly toxic," he added. "It has created significant issues for society. And I think that the obvious thing should be to stop using the technology. It doesn't make any sense to use it and there are other ways to do advertising that work just as well. But there is a lot of money for certain companies and they don't want to give up what they have." ®
Get our [25]Tech Resources
[1] https://www.theregister.com/2023/07/25/google_web_environment_integrity
[2] https://github.com/RupertBenWiser/Web-Environment-Integrity/issues/28#issuecomment-1651129388
[3] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/applications&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2ZMKUn9jH2hWds0bXTWdG0QAAAYs&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0
[4] https://datatracker.ietf.org/doc/html/rfc8949
[5] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/applications&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44ZMKUn9jH2hWds0bXTWdG0QAAAYs&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0
[6] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/applications&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33ZMKUn9jH2hWds0bXTWdG0QAAAYs&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0
[7] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/applications&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44ZMKUn9jH2hWds0bXTWdG0QAAAYs&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0
[8] https://github.com/chromium/chromium/commit/6f47a22906b2899412e79a2727355efa9cc8f5bd
[9] https://vivaldi.com/blog/googles-new-dangerous-web-environment-integrity-spec/
[10] https://developer.android.com/google/play/integrity
[11] https://developer.apple.com/documentation/devicecheck/validating_apps_that_connect_to_your_server
[12] https://www.theregister.com/2023/07/25/google_web_environment_integrity/
[13] https://www.theregister.com/2023/06/27/google_tweaks_topics_api_ahead/
[14] https://www.theregister.com/2020/05/04/security_roundup/
[15] https://www.theregister.com/2019/08/15/hijacked_clicks_research/
[16] https://httptoolkit.com/blog/apple-private-access-tokens-attestation/
[17] https://developer.apple.com/news/?id=huqjyh7k
[18] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/applications&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33ZMKUn9jH2hWds0bXTWdG0QAAAYs&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0
[19] https://blog.cloudflare.com/eliminating-captchas-on-iphones-and-macs-using-new-standard/
[20] https://www.chromium.org/updates/ua-reduction/
[21] https://github.com/GoogleChrome/ip-protection
[22] https://developer.chrome.com/en/docs/privacy-sandbox/storage-partitioning/
[23] https://brave.com/privacy-updates/3-fingerprint-randomization/
[24] https://vivaldi.com/press/releases/vivaldi-2-10-no-strings-attached/
[25] https://whitepapers.theregister.com/
Re: Tracking...
Be that as it may, I'd sooner have to complete a CAPTCHA than for Google to act as a metaphorical (and potentially arbitrary) bouncer before I can even look in the metaphorical window of a metaphorical shop.
As for tracking for advertising to target me or find out if I'm human, there's not a lot of point, because I block all the ads. The day I can't go to a website without blocking its ads is the day I stop going to that website (I'm looking at You, Tube: don't imagine I can't live without you).
Finally, as far as I'm concerned, a website – or indeed a third party somehow contracted to that website – should be able to ascertain nothing about the device from which I'm accessing it without my permission (you can have my user agent, but that may or may not be spoofed), and it certainly has no business knowing what other software I might be running.
Re: Tracking...
It's called a bookmark, *optional* synchronisation between browsers, and then reloading to the point you got up to.
The web has turned into a playground for Google and a select band of other miscreants, either spreading good ol' FUD and/or inventing yet another great scheme to make it all so much better but... cui bono? Not the users, I suspect.
In other words, the web is broken, possibly beyond repair. The good thing is that the internet, aka TCP/IP, is a "simple" transport mechanism and so it will always be possible to create alternatives. Whether these succeed on a grand scale, given among other things the ever raging battle between security/privacy et al on one hand and convenience/laziness et al on the other, is another matter.
Leap of faith.
"...a trusted third party, like Google,
Trusted? Google? Are you mad?
I trust them and their ilk as far as I can spit them.
This is all backwards.
I was not put on this earth to provide revenue for the likes of Google, Amazon or Facebook. If they want to shove adverts in my face then prove you are who you say you are. If not then go and piss up a rope.
Not that I take any notice of such abuse. if I want something I will go and do my research and find that which best meets my needs.
Truly, the lunatics have taken over the asylum.
Scraping
"web scraping (still largely legal, though often disallowed under websites' terms-of-service)"
I don't think prohibiting web scraping through Terms of Service is legal or enforceable since it's public information that can be obtained by anyone. But nothing prohibits websites from limiting the number of pages one client (or IP address) can retrieve. AFAIK no one has done so.
Funny that.......I haven't heard the "protect the children" excuse.....
.....yet!
Yup.....provide children with a "child attestation token", then:
(1) We (the masters of the universe "MOTU") will automatically know that the user is a child.....
(2) And then the MOTU can do various things: only supply "children approved material": and only supply "children appropriate adverts"
....problems being that the MOTU :
(3) can HAVE NO IDEA AT ALL who is at the client-side keyboard
(4) have no possible way of classifying "children approved material"
(5) might have a vested interest in "children appropriate adverts"
(6) might have problems with the age of the supposed child....since children get older over time
Next we will hear that people WHO ARE NOT CHILDREN will need an "adult attestation token"......and so on.....
Of course these upcoming schemes will have NOTHING AT ALL to do with tracking people.....no.....NOTHING AT ALL!!!!
If it's from Google...
Is it for anything other than monetisation of "my" data?
A monopolist suggests to monopolize the monopoly just a bit more. That is what you'd expect. Control, squeeze, more control, more squeeze, etc..
Time for the monopolist to be dismembered.
Hmmm Wiser, there's no nominative pre-determination there. So is this the foreshadowing of how the internet ends? hopefully not. I can see some of the news outlets and indeed Google committing further self harm implementing this out of intergalactic stupidity. Interestingly though I suspect there will be whole load of website owners who don't do this and they will gain the advantage from remaining open.
Tracking...
.. sometimes is useful. Example, I can be watching a youtube video on one computer and have to stop. Later I can fire up another computer, fire up youtube and press play, it carries on from the same place. Amazing to many, and relies on all the tracking stuff. Obviously not all will want or agree with this, but I think many users do and it gives them a benefit. The rest of us have ways of turning it off at the moment.....
My wish list for browsers would include better methods to enable more users to spot dodgy websites not the other way around as this seems to propose.