gravatar and tracking
-
I’ve noticed that with many blogs, even though I had never signed up with gravatar, the MD5 hash of my e-mail was in the image request for an avatar when I post.
This is a privacy concern because it means bots that crawl the web can track what blogs I post on and keep that info in a database to track me, using the hash of my e-mail as a key.
I installed wordpress 3.7.1 on my laptop and did some experimenting, it seems that with a default wordpress install, the gravatar image links only include the hash of my e-mail if that e-mail is associated with a gravatar account. Otherwide it just uses a hash of [email protected]
It seems that wordpress continually checks because when I made a post from an e-mail account without a gravatar, it used the hash from unknown but as soon as I went to gravatar.com and registered it, a browser refresh and all comments by that user now had their hash in the image src URI.
I wrote a simple plugin that modifies the get_avatar() behavior so that if the e-mail address is not whitelisted or in a whitelisted domain, it obfuscates the e-mail address before hashing it (what I do is take a sha256 hash of a salt plus the e-mail and then a md5 hash of a salt plus the sha256 hash)
That will prevent tracking of users who reply, and my plugin works, but what happens is that gravatar.com doesn’t recognize the hash, wordpress replaces the obfuscated hash with a hash of [email protected]. That’s fine.
But what I don’t know is how sites that use monster, retro, etc. gravatars work. I don’t have any clue what themes or plugins I need to install to test my plugin with them.
Do they use their own get_avatar function or do they run a filter that prevents the existing check from running?
Does anyone know?
I would like to produce a plugin that works everywhere so that webmasters who care about their users privacy can neuter this tracking issue while still allowing white list and the specific to user monster/retro/etc themed gravatars.
[Moderator Note: No bumping. If it’s so urgent that you cannot wait longer than 2 hours on a forum staffed by unpaid volunteers, consider hiring someone.]
- The topic ‘gravatar and tracking’ is closed to new replies.