Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add warning or deprecate library #60

Open
intellix opened this issue Oct 23, 2023 · 3 comments
Open

Add warning or deprecate library #60

intellix opened this issue Oct 23, 2023 · 3 comments

Comments

@intellix
Copy link

intellix commented Oct 23, 2023

Since gravatar is a very simple system where the hashes represent an email that has gone through an MD5 hashing function, it's very easy to decrypt a gravatar and get back the original email that created the hash.

Graphics cards in 2008 were able to encrypt 160mil hashes a second and it's not difficult to run through the alphabet to create a list of all hashes to emails. Alongside that, Gravatar had a leak in 2021 that exposed 167 million profiles and you can use free online tools for converting hashes to emails.

This means that any application that uses gravatar images are basically exposing the emails of those users as well just by using it.

I think this repository should be deprecated and a warning added when installing via NPM to warn people to not use gravatar.

@marcjlyoung
Copy link

Yep this is a major security risk

@intellix
Copy link
Author

intellix commented Oct 23, 2023

Looked around and this looks like a great alternative as it allows you to pass in any seed you wish (a simple numeric userId for example): https://www.dicebear.com/playground/ and pick from various styles. But the point is you aren't using an MD5 of an email

@JaneSmith
Copy link

Gravatar supports using SHA256 hashes, and recommends that on their website. This package should be updated to use SHA256 instead of MD5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants