this post was submitted on 20 Jun 2023
68 points (98.6% liked)

Lemmy

12557 readers
2 users here now

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

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

founded 4 years ago
MODERATORS
 

Today, a bunch of new instances appeared in the top of the user count list. It appears that these instances are all being bombarded by bot sign-ups.

For now, it seems that the bots are especially targeting instances that have:

  • Open sign-ups
  • No captcha
  • No e-mail verification

I have put together a spreadsheet of some of the most suspicious cases here.

If this is affecting you, I would highly recommend considering one of the following options:

  1. Close sign-ups entirely
  2. Only allow sign-ups with applications
  3. Enable e-mail verification + captcha for sign-ups

Additionally, I would recommend pre-emptively banning as many bot accounts as possible, before they start posting spam!

Please comment below if you have any questions or anything useful to add.

you are viewing a single comment's thread
view the rest of the comments
[–] dylcal13@lemmy.coeus.icu 4 points 1 year ago* (last edited 1 year ago) (2 children)

Any tips on how to get rid of all the spam accounts? I have been affected by this as well and thankfully captcha stopped them, but about 100 bots signed up before I could stop.

Normally i'd just look through all the accounts and pick out the 4 or so users that are real. But there is no apparent way to view every user account as an admin.

Edit: There is a relevant issue open on the lemmy-ui repo, for those interested: https://github.com/LemmyNet/lemmy-ui/issues/456

[–] th3raid0r@tucson.social 2 points 1 year ago (1 children)

Fun fact, they're removing Captcha in the next release.

I won't be upgrading and I anticipate I'll be defederating with any instance that upgrades to v0.18.

Source - https://github.com/LemmyNet/lemmy/issues/2922

[–] dylcal13@lemmy.coeus.icu 2 points 1 year ago

That is true, but because of the recent spam wave there is also an issue to re-add captcha. https://github.com/LemmyNet/lemmy/issues/3200

We'll just have to see how it all shakes out.

[–] sunaurus@lemm.ee 2 points 1 year ago (1 children)

Did you figure out how to clean it up? You can see a list of users in your local_user table.

[–] dylcal13@lemmy.coeus.icu 0 points 1 year ago* (last edited 1 year ago) (1 children)

I did manage to get a list of all users without a verified email using a postgress command, but sadly no, I can not figure out how to use the PurgePerson or AdminPurgePerson endpoints that are "described" in the documentation. I ended up just writing a small python script to ban all of them for now until I can figure out how to purge them.

It's extra tough because user management in Lemmy is tied to posts and comments right now. Since none of the spam accounts have made posts, there's no way in the UI to purge their accounts.

[–] sunaurus@lemm.ee 1 points 1 year ago

I'll try to help you out in DMs in a minute, hang tight!