Web Environment Integrity

Web Environment Integrity (WEI) is an abandoned API proposal previously under development for Google Chrome. A Web Environment Integrity prototype existed in Chromium, but was removed in November 2023 after extensive criticism by many tech groups. Its purpose was to verify that interactions with websites were human and authentic as defined by third-party attesters.

Proposal


The draft proposed an API for websites to get a digitally signed token that contains the certifier's name and whether or not they deem the web client to be authentic. The stated goal was for sites to be able to restrict access to human users instead of automated programs and "allow web servers to evaluate the authenticity of the device and honest representation of the software stack and the traffic from the device". Access to this API would not be allowed in non-secure (HTTP) contexts.

History
On April 25, 2023, Google engineers, Ben Wiser, Borbala Benko, Philipp Pfeiffenberger and Sergey Kataev created a GitHub repository explaining the details of the proposal. The proposal was flamed by GitHub users, with numerous comments, issues and pull requests voicing strong opposition to the existence of the standard and arguing for its deletion.

On July 21, 2023, Wiser and fellow Google engineer Yoav Weiss added a code of conduct to the explanation repository and locked it from receiving new comments, issues or pull requests. On the same day, preliminary code was added to Chromium to implement the standard. This also received a large amount of highly negative comments.

On November 2, 2023, Google abandoned the proposal, removed the prototype implementation from Chromium, and proposed a replacement API named "Android WebView Media Integrity API" limited to WebViews on Android. Google plans to start testing the new API with partners in early 2024.

Reception
The proposal received widespread criticism for limiting general purpose computing, with some comparing WEI to digital rights management (DRM). Others have accused the standard of being evidence of Google abusing Chrome's near-monopoly of browser share. Some have issued official statements on the matter in 2023:


 * On July 25, Mozilla opposed it, stating "Any browser, server, or publisher that implements common standards is automatically part of the Web... Mechanisms that attempt to restrict these choices are harmful to the openness of the Web ecosystem and are not good for users."
 * On July 27, Vivaldi opposed it as "simply dangerous" and feared that attestation providers would not be trustworthy.
 * On July 29, the Free Software Foundation opposed it as "an all-out attack on the free Internet" and claimed it would significantly limit the browsers that could be used.
 * On August 1, Brave Software announced they will not include WEI in their web browser.
 * On August 7, the Electronic Frontier Foundation opposed it as "a bad idea that Google should not pursue" and opposed its proposal of selecting a "small percentage" of random users to simulate behavior without WEI in order to prevent websites from blocking unattested users. The EFF claimed that "[m]any websites will consider that 'small percentage' of users an acceptable price to pay" and feared Google would set the percentage extremely low to combat ad fraud.
 * On August 11, the World Wide Web Consortium refrained from taking a stance as it was "not being worked on in W3C, nor has there been any submission [for W3C] review".