News for hackers. Stuff that matters.
Re:Horcrux: A Password Manager for Paranoids by baby on Monday June 19, 2017 @10:36AM (#14587276)
This sounds pretty cool! What I'm wondering, is how they are intercepting the POST request and at what level?
Re:Horcrux: A Password Manager for Paranoids by kodablah on Monday June 19, 2017 @11:41AM (#14587771)
I have not read yet, but my guess is they are taking all HTTP requests from the page and looking for their dummy username/password and replacing that. Not every login form (though we would like it) is in a form tag w/ an explicit action. Some SPA's will do an AJAX post of JSON w/ the credentials embedded (which is bad practice, but happens).

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.

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.
Re:Horcrux: A Password Manager for Paranoids by baby on Tuesday June 20, 2017 @09:56AM (#14594628)
You can have the form submit to a real address when js is disabled, and disable the form's behavior when js is enabled.
Re:Horcrux: A Password Manager for Paranoids by 9to5isdead on Monday June 19, 2017 @12:48PM (#14588342)
FYI Service workers can intercept and modify requests.
Re:Horcrux: A Password Manager for Paranoids by hdhzy on Monday June 19, 2017 @04:25PM (#14590160)
Only for the same origin they were installed on. So a generic solution like this one wouldn't really work as a service worker.
Re:Horcrux: A Password Manager for Paranoids by ryanisnan on Monday June 19, 2017 @01:14PM (#14588570)
Also it is quite common that extensions ask for to be able to read all traffic. What would be stopping other extensions from being jerks?