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

An external image showing your user-agent and the total "hit count"

  • targetx@programming.dev
    link
    fedilink
    arrow-up
    53
    arrow-down
    1
    ·
    1 year ago

    Nice example!

    I think proxying everything through lemmy would have a pretty big bandwidth/scalability impact. I expect the lemmy clients dont send any unique user info on these image requests so not sure how useful it would be as a spy pixel? Maybe I’m missing something :-)

    • Goddard Guryon@sopuli.xyz
      link
      fedilink
      arrow-up
      16
      ·
      edit-2
      1 year ago

      It would be interesting to see just how much info is shared when lemmy requests the image. If there is [potentially] sensitive info being shared, the devs might be interested in working on it too (I have no idea how to check such a thing, this comment is just so I can find the post later when more people have shared their wisdom on it)

      • Muddybulldog@mylemmy.win
        link
        fedilink
        English
        arrow-up
        34
        ·
        edit-2
        1 year ago

        None (by Lemmy), as Lemmy doesn’t actually request the image (that would be proxying). Your browser requests the image directly by URL. Lemmy, technically, doesn’t even know an image exists. It just provides the HTML and lets your browser do the work.

        • A_A@lemmy.world
          link
          fedilink
          arrow-up
          15
          ·
          edit-2
          1 year ago

          Exactly. The text of this post is simply :

          ![An external image showing your user-agent and the total "hit count"](https://trilinder.pythonanywhere.com/image.jpg)
          I get the same result when I browse directly to the link.

          So, if OP links a malcious website we have a problem … (?).

          • Goddard Guryon@sopuli.xyz
            link
            fedilink
            arrow-up
            9
            ·
            1 year ago

            Oh dangit, it’s simpler than I thought. So the only data being sent is…just whatever is sent in your average GET request.

        • CoderKat@lemm.ee
          link
          fedilink
          English
          arrow-up
          4
          ·
          1 year ago

          Yup. And to add, your browser will send things like:

          1. Your IP address. Technically this is sent by the OS doing networking and is unavoidable. At best, a VPN can hide this, because the VPN sits in the middle.

          2. Various basic request headers, which most notably contains user agent (identifies browser) and language headers, both which you can fake if you want to.

          3. Cookies for that domain (if you have any). Those can track you across multiple requests and thus build up a profile of you.

          • odbol@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            That’s why you should use a native app, which won’t send any of that identifying info (except for IP but there’s nothing you can do on that)