Re:Horcrux: A Password Manager for Paranoids
by curiousGambler on Monday June 19, 2017 @12:46PM
(#14588315)
Out of curiosity, why is an AJAX post of JSON with credentials embedded bad practice?
Re:Horcrux: A Password Manager for Paranoids
by kodablah on Monday June 19, 2017 @01:16PM
(#14588580)
Not bad practice from a security perspective per se, just annoying to users that don't want JS, or like the non-password fields to support their browser's features like autocomplete, etc. Granted if it's a SPA, some of that usability shop has sailed. And while any AJAX post is secure normally, many JS implemented login solutions open themselves up to CSRF and other problems.
Actually, the more I think about it, I don't think I want this extension to do that...how does it know how long between when the fake fields are entered and when I press submit? Now I am going to read the paper...
Edit: Yup, the extension intercepts all network traffic even before you click submit. If you, e.g., hash on the client side this password manager will break. If you never click submit, this extension will continue to read all HTTP bytes from the page going back to the server it seems, looking for some strings...not sure the perf implications of this.