For those not familiar, there are numerous messages containing images being repeatedly spammed to many Threadiverse users talking about a Polish girl named “Nicole”. This has been ongoing for some time now.

Lemmy permits external inline image references to be embedded in messages. This means that if a unique image URL or set of image URLs are sent to each user, it’s possible to log the IP addresses that fetch these images; by analyzing the log, one can determine the IP address that a user has.

In some earlier discussion, someone had claimed that local lemmy instances cache these on their local pict-rs instance and rewrite messages to reference the local image.

It does appear that there is a closed issue on the lemmy issue tracker referencing such a deanonymization attack:

https://github.com/LemmyNet/lemmy/issues/1036

I had not looked into these earlier, but it looks like such rewriting and caching intending to avoid this attack is not occurring, at least on my home instance. I hadn’t looked until the most-recent message, but the image embedded here is indeed remote:

https://lemmy.doesnotexist.club/pictrs/image/323899d9-79dd-4670-8cf9-f6d008c37e79.png

I haven’t stored and looked through a list of these, but as I recall, the user sending them is bouncing around different instances. They certainly are not using the same hostname for their lemmy instance as the pict-rs instance; this message was sent from nicole92 on lemmy.latinlok.com, though the image is hosted on lemmy.doesnotexist.club. I don’t know whether they are moving around where the pict-rs instance is located from message to message. If not, it might be possible to block the pict-rs instance in your browser. That will only be a temporary fix, since I see no reason that they couldn’t also be moving the hostname on the pict-rs instance.

Another mitigation would be to route one’s client software or browser through a VPN.

I don’t know if there are admins working on addressing the issue; I’d assume so, but I wanted to at least mention that there might be privacy implications to other users.

In any event, regardless of whether the “Nicole” spammer is aiming to deanonymize users, as things stand, it does appear that someone could do so.

My own take is that the best fix here on the lemmy-and-other-Threadiverse-software-side would be to disable inline images in messages. Someone who wants to reference an image can always link to an external image in a messages, and permit a user to click through. But if remote inline image references can be used, there’s no great way to prevent a user’s IP address from being exposed.

If anyone has other suggestions to mitigate this (maybe a Greasemonkey snippet to require a click to load inline images as a patch for the lemmy Web UI?), I’m all ears.

  • Vopyr@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 hours ago

    Wait, I’m not the only one who received these strange messages from Nicole? Good thing I ignored them.

  • xia@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    21 hours ago

    That would require cooperation with the servers/dns involved. Though, it would be easy to disprove if people are getting identical image URLs… we should test that!

    • HereIAm@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 day ago

      Sure, but if you also logged into Facebook from that IP it’s a pretty simple match up.

      • EngineerGaming@feddit.nl
        link
        fedilink
        English
        arrow-up
        1
        ·
        14 hours ago

        Yeah, I get it (barring the fact that literal Facebook is not even accessible from my IP lol). But whether this is useful, depends on who the attacker is. If we’re talking about, say, a data broker - yeah. But would Jake from accounting have such “IP-account” logs?

        • HereIAm@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 day ago

          That is not my point at all. What I meant is the geographical region of your IP has no bearing on your privacy. It doesn’t matter if you connect to the tor network through a VPN, if you’re just gonna end up logging into accounts or act in manners that a data broker already has connected to you.

          • Retropunk64@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 day ago

            Not using fascist platforms like Facebook and X also helps protects your privacy. I’m not disagreeing with you.

  • ssillyssadass@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 days ago

    My money says it’s Russia trying to find potential political adversaries (people who don’t agree with them)

  • Cypher@lemmy.world
    link
    fedilink
    English
    arrow-up
    71
    arrow-down
    1
    ·
    3 days ago

    We used to do this on the EVE online forums until CCP caught on and banned inline images.

  • reksas@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    7
    ·
    2 days ago

    i think so too. And even if they wouldnt be doing this, we should still treat it as if they are and fix the problem of it being even possible to gather information about users using 0-click methods like this.

  • RaoulDook@lemmy.world
    link
    fedilink
    English
    arrow-up
    46
    ·
    3 days ago

    Might be good to think about fediverse security similar to email security, as they are both federated information sharing systems. Email has spam blocking, allowing for reputation checks and other complex stuff. I wonder if Lemmy instances could collaborate on a SpamHaus type of bad host / bad user list to use and share.

    • AA5B@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      PSA: check your private relay settings if you haven’t in a while

      Mine was on but set to “maintain general area” so local content works.

  • DFX4509B@lemmy.org
    link
    fedilink
    English
    arrow-up
    22
    ·
    edit-2
    3 days ago

    I’ve been blocking and reporting these nicole accounts as spam bots lately. I hope this doesn’t become as bad as the spam bots in the YT comments.

  • drspod@lemmy.ml
    link
    fedilink
    English
    arrow-up
    28
    arrow-down
    1
    ·
    3 days ago

    On my instance (.ml) all of the images are fetched through the image proxy.

    What version of lemmy is your instance running?

  • can@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    19
    ·
    edit-2
    3 days ago

    A while back someone mentioned something similar would be possible and as a proof of concept linked to an image that would generate on the fly to include your location.

  • LWD@lemm.ee
    link
    fedilink
    English
    arrow-up
    15
    ·
    3 days ago

    I miss those old images that would show you your IP address and ISP name, which were generated dynamically based on the request. They were designed just to be a bit frightening. But, because they were rendered on the server side, there was definitely nothing stopping them from recording your IP address too.

    https://imgur.com/aYxadwg