Note: This post now archived and as such no longer works

31 points

This is possible because Lemmy doesn’t proxy external images but instead loads them directly. While not all that bad, this could be used for Spy pixels by nefarious posters and commenters.

Note, that the only thing that I willingly log is the “hit count” visible in the image, and I have no intention to misuse the data.

permalink
report
reply
2 points

Interesting demo! Does this use the user agent string for identifying clients?

permalink
report
parent
reply
2 points

It does

permalink
report
parent
reply
1 point
Deleted by creator
permalink
report
reply
8 points

on hexbear, all i get is

*removed externally hosted image*

permalink
report
reply
7 points

Can countermeasures be implemented in the clients to mitigate privacy risks, while not having to proxy images?

permalink
report
reply
3 points

no. the remote server will log the requests based on the client address. it is a good argument for using a vpn.

permalink
report
parent
reply
1 point
*

Oh I mean, sure, but I don’t think IP logging is the main privacy concern with spy pixels.

I’m assuming this trick uses the user agent string and other request metadata to identify clients. Even if it didn’t recognize Jerboa as a client, it did guess that I was on mobile. That’s not possible just by tracking IPs, unless they’re cross-referencing it with other datasets. Also, I was on VPN anyway, so the IP would have been useless.

It should be possible for clients to obfuscate/fake the metadata of image requests to make tracking with spy pixels less effective.

permalink
report
parent
reply
1 point

Yup, I’m parsing the user agent with the user_agents Python library.

permalink
report
parent
reply
2 points

At it’s basic level it will capture your IP address, but it won’t really tie the IP to a user name, and there’s not a role lot you can do with it

Attacks I can think of:

  • target advertising at users in a particular lemmy community
  • get a collection of IP addresses of people with specific problems or beliefs (indicated by membership in a lemmy community) to target with malware

A VPN would protect you in this case, but you need to be a bit of a privacy nut to also protect yourself from things that identify for advertising right now

permalink
report
parent
reply
1 point
*

If you wanted to target a specific user, you could always send a DM with the image

permalink
report
parent
reply
1 point

You could also correlate time of your log entry to order of comments sorted by new, with errors from the few clients that don’t load images

permalink
report
parent
reply
20 points

Unknown mobile client. Yeah, I’m pretty mysterious like that.

permalink
report
reply
3 points

Lol, mysterious and slightly confused (mobile?)

permalink
report
parent
reply

Lemmy

!lemmy@lemmy.ml

Create post

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

Community stats

  • 241

    Monthly active users

  • 1.1K

    Posts

  • 14K

    Comments

Community moderators