W3C home > Mailing lists > Public > public-webappsec@w3.org > February 2018

Re: Not expose credentials under Credential Management to JS?

From: Craig Francis <craig.francis@gmail.com>
Date: Tue, 13 Feb 2018 10:21:26 +0000
Message-Id: <FF9A9DD2-B76C-490C-BC72-B7FF3C01C981@gmail.com>
Cc: "public-webappsec@w3.org" <public-webappsec@w3.org>
To: John Wilander <wilander@apple.com>
I believe Mike West has done some work related to this:

http://mikewest.github.io/credentialmanagement/writeonly/ <http://mikewest.github.io/credentialmanagement/writeonly/>

Personally I'd love to use the @writeonly attribute on other fields as well - e.g. hidden input for a CSRF token; or applying it to to all fields when JavaScript does not need to touch the data.


> On 13 Feb 2018, at 05:21, John Wilander <wilander@apple.com> wrote:
> Hi again WebAppSec!
> Not exposing credentials under Credential Management to JavaScript was discussed briefly at TPAC. Both Apple and Mozilla raised concerns.
> https://www.w3.org/2017/11/06-webappsec-minutes.html#item06 <https://www.w3.org/2017/11/06-webappsec-minutes.html#item06>
> Since then we’ve learnt more about trackers exfiltrating credentials in the wild:
> https://freedom-to-tinker.com/2017/12/27/no-boundaries-for-user-identities-web-trackers-exploit-browser-login-managers/ <https://freedom-to-tinker.com/2017/12/27/no-boundaries-for-user-identities-web-trackers-exploit-browser-login-managers/>
> … and web analytics accidentally exfiltrating passwords:
> https://techcrunch.com/2018/02/05/mixpanel-passwords/ <https://techcrunch.com/2018/02/05/mixpanel-passwords/>
> In addition, several of us are debating the dangers of non-SRI 3rd-party scripts on the Twitters.
> In light of these things, I would like to revisit the decision to expose credentials under Credential Management to JavaScript. If we could block them we could offer safer and more convenient logins than today. How do we get there?
>    Regards, John

Received on Tuesday, 13 February 2018 10:56:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:55:03 UTC