r/programminghorror • u/MurkyWar2756 echo "Sub Mod" && :(){ :|:& };: • Oct 16 '25
Javascript Case randomization makes tracking images in emails undetected by anti-tracking software
I had this idea a few months ago. Ideally, there would be a server on the other end to display analytical data to the link creator. In reality, you don't need 128 of the same letters, as long as the spelling of the file name/image URL is consistent or visually similar across different emails.
For example, imagine if this email from "Halifax Bank" had the logo URL containing HaLiFAXbANK.png. Google's public DNS also uses case randomization.
Edit: I couldn't decide whether to link the article or not, despite being able to find that exact article easily, and the source being the same one I intended to link. Thank you for the feedback and reminding me with your comment, u/Circumpunctilious!
View all comments
Show parent comment
3
u/MurkyWar2756 echo "Sub Mod" && :(){ :|:& };: Oct 16 '25
Sometimes, filters don't check for tracking links.
What I meant to say is essentially, "By default, Proton Mail only blocks known patterns tracking URLs. [Some URLs from the email I got regarding a Reddit TOS update a while ago slipped through the cracks, or could not be decoded into their original forms without automatically simulating a "click" on these links.] Therefore, in this case, Proton Mail probably would not detect this, so the person gets tracked unless they have images disabled entirely."
Of course, there are other places that detect tracking URLs, ads, etc. - but each one has different focuses.