I launched my first web app (node/express backend, running on a Heroku server) into production last week, and already I am seeing some strange signup behaviour in the logs.
At first I though that it was real users, but it's happened enough times with the same pattern for it to be clearly some sort of spam bot.
My website contains a signup form that requires a firstname, lastname, email, password1 and password2 (must match). On submitting the form, users must then click an additional button to select the type of account they wish to register for, and an email is sent to the provided address for validation.
For the past few days I've had a number (around 10) suspicious signups with a browsing pattern like below (two examples from last night):
timestamp page
04:48:45 viewBlogPage
04:48:47 registerUser
[ Send email for user to verify ]
04:48:54 sendResetToken
04:48:56 sendResetToken
04:48:58 getBlogPost
04:49:10 getBlogPost
04:49:12 getBlogPost
04:49:15 getBlogPost
04:49:15 getBlogPost
22:22:32 viewBlogPage
22:22:32 registerUser
[ Send email for user to verify ]
22:22:38 sendResetToken
22:22:39 sendResetToken
22:22:40 getBlogPost
22:22:41 getBlogPost
22:22:42 getBlogPost
22:22:42 getBlogPost
22:22:43 getBlogPost
In every case, the user has:
- Navigated to the main blog page (which contains a list of blog posts)
- Navigated to the signup page, entered valid
formdata and submitted the form. In every case, thefirstnameandlastnameare nonsensical, seemingly random character strings (e.g.firstname: 'Iluuxpmv', lastname: 'Yrtkaugn'andfirstname: 'Qatocgyp', lastname: 'Hdfurawghgkqs') - An email is sent that does not get verified
- The
userthen navigates to the login page and attempts to reset their password twice in quick succession - The
userthen navigates to one particular blog post five times
My first question is How can I stop this?
More broadly though, I'm interested in why these (presumably) bots are navigating my site in this weird way.
If this is a spam bot, it seems strange that this has only happened around 10 times, and that they are then clicking on non-random pages that don't contain forms.
Is there some explanation for what is going on that might help me prevent against this?