Lemmy user list

EDIT: I'm putting this up front so it's the FIRST thing you see and read: I WAS WRONGI ASSUMED (and I know better) that it wasn't possible for me to have 3000 accounts created within a day or two of going live. I ASSUMED what I saw was accounts that were NOT local, I WAS WRONGI created a process to remove the bot accounts from my database without crashing my site. I have tested and it looks like all functions are working. If you need help because you suddenly have thousands more accounts than you would suspect ask me for the procedure. I'll gladly provide it.

I was able to identify bot accounts by looking at creation times. They accounts are grouped by "batches" where the account creation times are within seconds of each other. That's not typically going to happen with random humans creating accounts.

I used a tool to see how many users my site had. Once I saw the count was larger than expected, I wondered who these users were. I checked the database table and saw a huge list. I know for a fact that all these users are not on my instance. I was able to confirm that the database includes email address and password hash. This SHOULD mean that if someone tries to login, and their authentication information is sitting in my database, they can login at my site locally, correct? I only ask because I did not find an entry anywhere that lists a “home” instance for them to log in to. Am I correct in understanding that accounts are distributed like communities are?

NotBadAndYou,

We're entering a world where corporate media - be that music, television, movies, books, even political messaging - will soon be 99% algorithm driven. Train once, repeat ad infinitum. They already have an idea of how long it takes for public appetite to grow tired of the familiar and start craving new, and that will guide how often the algorithm should be re-trained. Meanwhile we, the consumers, will be kept fat and happy in our metaphorical pens being dished up a constant supply of delicious, processed food entertainment manipulation while they milk us for every dollar, minute, and vote that they can.

Orvanis,

I was able to confirm that the database includes email address and password hash.

Uhhhh not loving that if true... Why would password hashes need to be sent all over the planet...? That's a security bomb just ticking.

Shouldn't each instance only need to be tracking user Metadata, with only the original users instance handling authentication...? After all my personal interaction is happening on my instance.

key,

You can see in the source that password hashes are not sent over activitypub.

6fn,
6fn avatar

Ok, I've looked at the source provided and don't see an e-mail field either. The account e-mail is also limited to your own instance, correct? This thread was making me mildly concerned that e-mails were being shared when federating between instances.

Orvanis,

Thank you for linking the source! Seems OP was just mistaken about what they were seeing.

key,

Are you looking at person or local_user? The former includes all (known) users across instances and doesn't include password hash. It has private key column but that should be empty for non-local users. Password hash is only on local_user table which like it says is only local users. If you're seeing more entries in local_user than you expect that seems more concerning, maybe related to the recently disclosed exploit?

MrEUser,

SELECT * from local_user; provides a list of users that has a password_encrypted field. That list is exactly equal (all the same accounts are listed) to what I get from: select p.name, p.display_name, a.person_id, a.email, a.email_verified, a.accepted_application from local_user a, person p where a.person_id = p.id;

So I can see a persons a.email (email address), a.person_id, and their password_encrypted (hash) by correlating these tables, can I not?

These accounts are NOT ALL local to my server… So I MUST be being passed hashes, right?

key,

Can you add p.local=false to that query?

MrEUser,

I always assume I’m wrong first, I may have put that in the wrong spot. Where should I put that in the query? I put it under the Select statement.

key,

in the WHERE

rknuu,

Yep, but its only the Metadata. I can't log in to your instance, but because your instance has consumed content from beehaw from my account I'm listed.

See https://lemmy.ninja/u/rknuu@beehaw.org

rknuu,

It's also worth noting the statistics are only for what you consumed. My profile at beehaw shows very different numbers than yours

https://beehaw.org/u/rknuu

Lemmy.ninja: 2 posts, 26 comments

Beehaw: 14 posts, 72 comments

kiwi,

Yes accounts are distributed to each server. Same as communities.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • technology@beehaw.org
  • slotface
  • kavyap
  • thenastyranch
  • everett
  • tacticalgear
  • rosin
  • Durango
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • InstantRegret
  • Youngstown
  • khanakhh
  • ethstaker
  • JUstTest
  • ngwrru68w68
  • cisconetworking
  • modclub
  • tester
  • osvaldo12
  • cubers
  • GTA5RPClips
  • normalnudes
  • Leos
  • provamag3
  • anitta
  • megavids
  • lostlight
  • All magazines