Closed mnoorenberghe closed 8 months ago
To do this, we will want to include the change-password urls in the Remote Settings collection.
To find the change-password urls we could:
.well-known/change-password
url.I can write a quick and dirty scraper to loop through all the breaches and see if they have a ${breach.Domain}/.well-known/change-password
endpoint that doesn't 404, but considering it doesn't even look like mozilla.org, adobe.com, linkedin.com, microsoft.com, or myspace.com have the endpoints defined, i don't have high hopes.
Interestingly, it looks like both facebook.com and twitter.com do an HTTP 301/302 redirect to their respective login pages, which is cool.
My guess is that we'd have to maintain our own list of password change URLs (which feels a bit sketchy).
https://fx-breach-alerts.herokuapp.com/hibp/breaches says we have 370 known breaches (but only 352 have a Domain
). Who wants to put bets on how many will have a /.well-known/change-password endpoint?
Can I bid 1 to be closest without going over? (Except it's probably actually 0)
An improvement on the work to be done in #1119
Can I bid 1 to be closest without going over? (Except it's probably actually 0)
My guess was that I could definitely count the results on one hand, but looks like you were correct, 1 result:
http://armyforceonline.com/.well-known/change-password
After pasting the results, I'm realizing my code isn't very good, and probably should have treated a non-redirect as an error instead of saying "same" 32 times (which would have brought the number of potential "successes" down to 22, with ~96% being false positives). 🤷♀
successes: 54 errors: 298
Apple has now made an open-source repo to provide overrides for sites that don't implement /.well-known/change-password
: https://github.com/apple/password-manager-resources/blob/master/quirks/change-password-URLs.json
Closing since we've redesigned the site and functionality since this was created. If you feel that this is still needed, please let me know.
To make the breach notifications for logins much more actionable it would be great to include a direct link to the sites password change form. The link to this URL can be shown on the website and in about:logins to provide an easier path to changing the password on the site.