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.


Update: on lemm.ee, I have defederated the most suspicious spambot-infested instances.

To clarify: this means small instances with an unnaturally fast explosion in user counts over the past day and very little organic activity. I plan to federate again if any of these instances get cleaned up. I have heard that other instances are planning (or already doing) this as well.

It’s not a decision I took lightly, but I think protecting users from spam is a very important task for admins. Full info here: https://lemm.ee/post/197715

If you’re an admin of an instance that’s defederated from lemm.ee but wish to DM me, you can find me on Matrix: @sunaurus:matrix.org

  • SysAdmin
    link
    fedilink
    52 years ago

    Thanks for the heads up, StarTrek.website has enabled CAPTCHA and purged the bots from our database.

    • @[email protected]OP
      link
      fedilink
      1
      edit-2
      2 years ago

      There is an argument to be made that captchas can be automatically bypassed with some effort.

      OTOH, the current wave of bots is quite clearly favoring instances with captcha disabled, so clearly it’s acting as at least a small deterrent.

      Edit: Forgot to mention this earlier, but the upcoming update to Lemmy will actually remove captchas. Discussion:

        • genoxidedev1
          link
          fedilink
          22 years ago

          Doing no captcha is like leaving the door open, hoping no-one breaks in, instead of at least closing the door (a closed door decreases chance of break in by near 100%, even if it’s not locked)

    • @[email protected]OP
      link
      fedilink
      12 years ago

      Nice! Would be cool if you could also include current statuses of captchas, emails, and application requirements.

      • db0
        link
        fedilink
        02 years ago

        Tell me how to fetch them and it will. ;)

        • @[email protected]OP
          link
          fedilink
          12 years ago

          I think the easiest option is to just iterate through the list of suspicious instances, and then check {instance_url}/api/v3/site for each of them. Relevant keys of the response json are site_view.local_site.captcha_enabled, site_view.local_site.registration_mode, and site_view.local_site.require_email_verification.

          Since it’s a bunch of separate requests, probably it makes sense to do these in parallel and probably also to cache the results at least for a while.

          • db0
            link
            fedilink
            22 years ago

            It occurs to me that this kind of thing is better left to observer, as it’s set up to poll instances and gather data. I would suggest you ask them to ingest and expose this data as well

  • ch1cken
    link
    fedilink
    32 years ago

    Close sign-ups entirely

    if you’re closing off sign-ups, please auto-redirect the register page to a different lemmy/kbin instance, wanna keep the flow of users from reddit –> lemmy/kbin still happening and not demotivate them.

  • Zamboniman
    link
    fedilink
    22 years ago

    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.

    Yup, I noticed this as well.

    Hopefully the mods of the instances will notice this and remove these accounts quickly! Despite this, I think the mods of all instances, and of all communities, had better brace themselves for incoming spam and hate speech.

  • BigDale123
    link
    fedilink
    2
    edit-2
    2 years ago

    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.

      • BigDale123
        link
        fedilink
        0
        edit-2
        2 years ago

        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.

  • Somoon
    link
    fedilink
    2
    edit-2
    2 years ago

    It was brought to my attention that my instance was hit with the spam bots regs. I’ve disabled registration and deleted the accounts from the DB. is there anything else I can do to clear the user stats on the sidebar? EDIT: I have reversed the stats too.

  • Lvxferre
    link
    fedilink
    22 years ago

    This might be related but I’ve noticed that someone is [likely automatically] following my posts and downvoting them. Kind of funny in a 'verse without karma.

    • Galloog1
      link
      fedilink
      12 years ago

      Karma may mean nothing but the information space is a strategic domain.

      • Lvxferre
        link
        fedilink
        12 years ago

        I don’t think it’s the case here, as I’ve noticed this after posts in small communities:

        • c/linguistics (~240 members)
        • c/parana (1 member - new comm)

        I think that the person/bot/whatever is following specific people.

  • @[email protected]
    link
    fedilink
    12 years ago

    had to create an account to post since my comments from sffa.community and kbin.social weren’t showing up.

    I’m an admin over at sffa.community. We did notice the bot wave. They never got past email verification. We hve since implemented CAPTCHA and have purged the bots from our database.

    You can see we are down to organic users. We’ve only been officially open for a couple weeks so we’re still working on content but we are safe to federate with again, if you’d like.

  • @[email protected]
    link
    fedilink
    12 years ago

    I’m noobish, but could they be defederated until they get their act together before they spam everybody?

  • @[email protected]
    link
    fedilink
    1
    edit-2
    2 years ago

    Looks like my instance got hit with a bot. I had email verification enabled but had missed turning on captcha (captcha enable should be up with enabling email verification settings). The bot used fake emails so none of the accounts are verified, but still goes towards account numbers. Is there really any good way to clean this up? Need a way to purge unverified accounts or something.

    • @[email protected]OP
      link
      fedilink
      12 years ago

      How comfortable are you with SQL? You can see all unused verifications in the email_verification table. You should be able to just delete those users from local_user, and then update your user count with the new count of the local_user table in site_aggregates.user (where site_id = 1)

      • @[email protected]
        link
        fedilink
        42 years ago

        Thank you for proactively contacting me regarding this @[email protected]. I’ve had this issue on my https://feddi.no instance, but I have added a captcha and registration applications now. Hopefully it will alleviate some of the problem.

        All of the bots accounts seems to have a number in their email so I manually looked through the list of users in email_verification that contained numbers in the email to look for false positives:

        select * from email_verification where email ~ '[0-9]+';

        before running

        delete from local_user where id in (select local_user_id from email_verification);

        to delete the users.

        By suggestion from @[email protected] I updated site_aggregates to reflect the new users count on the instance:

        UPDATE site_aggregates SET users = (SELECT count(*) FROM local_user) WHERE site_id = 1;.

  • @[email protected]
    link
    fedilink
    12 years ago

    I know from talking to admins when pbpBB was really popular that fighting spammers and unsavory bots was the big workload in running a forum. I’d expect the same for Fediverse instances. I hope a system can be worked out to make it manageable.

    As a user I don’t have a big problem with mechanisms like applications for the sake of spam control. It’s hugely more convenient when an account can be created instantaneously, but I understand the need.

    I do wonder how the fediverse is going to deal with self-hosting bad actors. I would think some kind of vetting process for federation would need to exist. I suppose you could rely on each admin to deal with that locally, but that does not sound like an efficient or particularly effective solution.