Skip to content

spam prevention through honeypots #11426

Open
@thehowl

Description

@thehowl

I host a public Gitea instance, but an incredible amount of users are actually spambots, even though I have reCAPTCHA added on the website in an attempt to reduce the spam. For this reason, I think there needs to be honeypots in the sign-up form, which are a better way to prevent spam, and I think they should be enabled by default.

For those who don't know, the rationale is this: in the sign-up forms, have fields that only bots will fill in. These could be form inputs with type="text" name="email" style="display: none;" for instance, while the real email input is type="text" name="kjnjnj1199i__". Once we see on the server side that the email field has been submitted, we understand that the user is actually a bot (at this point, we may decide to ipban the user).

Here is a list of resources regarding it: https://github.com/paralax/awesome-honeypots

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/securitySomething leaks user information or is otherwise vulnerable. Should be fixed!type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions