-
Notifications
You must be signed in to change notification settings - Fork 664
Description
When a user deletes their account (or renames it and never logs back into crates.io), we are never able to find out about it. We continue to show that github username's avatar, and links to the github account with that name, even if someone else has created a new account with the same name.
We should have a flag we can set to mark that a user has been deleted, which shows the avatar of @ghost, and either removes all links to their github account, or links to @ghost. This does not affect repository links, which are just URLs given to us in Cargo.toml, and not coupled to Github in any way.
I do not think we should try to automate this, but we should have the ability to do this manually when we receive reports.
The main blocker here is how do we link to that user once we know they're deleted. We currently use gh_login as the identifier in /users, we will need to do something else in this case.
Activity
Add the ability to flag a user as deleted in GH
Add the ability to flag a user as deleted in GH
carols10cents commentedon Dec 27, 2018
I don't understand why we need this, could you explain the benefit?
sgrif commentedon Dec 27, 2018
This leads to confusion at best, and is a vector for social engineering attacks at worst. We're implying that some user who does not own a crate does
carols10cents commentedon Dec 28, 2018
So github user carols10cents owns crate foo. github user carols10cents deletes her github account. malicious user warols10cents registers now available name carols10cents and logs in to crates.io. Per this test, crates.io/users/carols10cents now links to warols10cents' carols10cents account and displays the crates that warols10cents has published. warols10cents doesn't have access to the crates carols10cents published.
Can you clarify what the social engineering is that warols10cents would have the ability and motivation to do?
sgrif commentedon Jan 1, 2019
carols10cents commentedon Jan 3, 2019
The "confusing" aspect I see, it's the "social engineering" bit that I'm still not getting. I do think we should fix it, I just don't see the urgency that "social engineering attacks" prompts.
sgrif commentedon Jan 3, 2019
I think I may have communicated poorly. I was not attempting to imply urgency, or that there's an obvious attack vector that is being exploited right now (if there were this would not have been opened publicly). By "confusing at best, and a vector for social engineering at worst" I was just trying to say that we should fix this no matter what, because it's definitely confusing and I think there is the possibility of someone using this for nefarious purposes by impersonating another user.