A few months ago, Pablinux shared a post here with us explaining the Web Environment Integrity API in a fairly simple way, which he describes in his article with DRM for the Web, and during all that time a large part of the web community criticized this API.
And it seems that Google has now listened to the community's criticism and announced that it has decided to stop promoting the Web Environment Integrity API, along with which it also removed its experimental implementation from the Chromium codebase and moved the specification repository to archive mode.
The attempt to implement the API in question generated concerns among a large part of the community, as many mentioned that its implementation could undermine the open nature of the Web and lead to greater user dependence on individual vendors, as well as significantly limiting the ability to use alternative browsers and complicating the promotion of new browsers to the market. As a result, users could become dependent on officially released, verified browsers, without which they would lose the ability to work with some major websites and services.
And although initially the idea of ​​the API was not bad, as it was designed to give site owners the ability to ensure that the client's environment is reliable in terms of protecting user data, respecting property intellectual and interaction with a real person.
It was thought that the API could be used to filter bot traffic when displaying advertising; combat automated spam and boost social media ratings; identify manipulation when viewing copyrighted content; combat cheaters and fake customers in online games; identify the creation of fake accounts by bots; counter password guessing attacks; and protect against phishing implemented through malware that transmits results to real sites.
The new API could be useful in areas where a site needs to ensure there is a real person and a real device on the other end, and that the browser is not modified or infected with malware. The API is based on Play Integrity technology, already used on the Android platform to verify that the request is made from an unmodified application installed from the Google Play catalog and running on a genuine Android device.
To confirm the browser environment in which the loaded JavaScript code is executed, the Web Environment Integrit API proposed to use a special token issued by an external authenticator, which in turn could be linked by a chain of trust with integrity control mechanisms on the platform. The token was generated by sending a request to a third-party certification server, which, after performing certain checks, confirmed that the browser environment had not been modified. For authentication, EME extensions similar to those used in DRM were used to decode copyrighted media content.
The problem with the API is that it could become a problem in the short term, since, as mentioned, its significant implementation would limit the ability to use alternative browsers and, in short, make Chrome/Chromium the only web browser that users could work with (basically a monopoly).
Finally, it is mentioned that experiments are continuing on the Android platform with the implementation of a similar API for verifying the user environment: WebView Media Integrity, which is positioned as an extension based on Google Mobile Services. It is stated that the WebView Media Integrity API will be limited to the WebView component and applications related to multimedia content processing; for example, it can be used in WebView-based mobile applications for audio and video streaming. There are no plans to provide access to this API through a browser.
If you are interested in learning more, you can find the details at the following link.