r/programminghorror • echo "Sub Mod" && :(){ :|:& };: • Oct 16 '25

Javascript Case randomization makes tracking images in emails undetected by anti-tracking software

Post image

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!

304 Upvotes

37 comments sorted by

View all comments

15

u/-Wylfen- Oct 17 '25

Can someone explain to me the why of this?

for (const obj = {i: 0}; obj.i < byteStore.length; obj.i++) {

Why create an object instead of an int? Why no for-each?

-7

u/MurkyWar2756 echo "Sub Mod" && :(){ :|:& };: Oct 17 '25

That's part of the programming horror.