4 ms·
> nothing they can provide via javascript should convince you otherwise. How about javascript that is: (a) open-source (b) third-party audited, with a third-
by walterbell 12y ago
> nothing they can provide via javascript should convince you otherwise.
How about javascript that is:
(a) open-source
(b) third-party audited, with a third-party-published hash of the versioned javascript
(c) verified against the hash at runtime by a browser plugin that consults a hash directory of audited versions?
- JulianMorrison 12y agoThat (c) honestly sounds to me like it ought to be a web standard, signed authenticated javascript.
- taf2 12y ago(c) would be great. potentially, it works in a very similar way as the CA system, but instead of a CA you have browser vendors who choose to include your JS file as verified... definitely a lot of details in there that could go seriously wrong if the wrong people decided to get involved in defining a process for validating those hashes and pushing them out to the vendors...
- walterbell 12y agoIn theory, users could choose their own verification authority.
- tptacek 12y agoThat's great, if it's running in an extension that is only downloaded once and firewalled off from the DOM. Otherwise, every single HTTP request your browser makes can potentially override it.
- walterbell 12y agoWhat design or implementation changes would you recommend for a future browser or HTTP spec, to enable 3rd-party validation of scripts and notification to the user when new, unvalidated scripts are requested?