Ghost spam signups via /members/api/send-magic-link/: fix
Bots posting to /members/api/send-magic-link/ create fake Ghost members, usually to bomb a victim's inbox with your signup email or to test which addresses are live. Block the domains in Ghost, filter the endpoint at Cloudflare, delete the fake members before your next send, and consider paid-only or invite-only signup.
Sohail Hussain8 min readShort answer
- Put a Cloudflare rate-limit or block rule on POST requests to /members/api/send-magic-link/, add the recurring spam domains to Ghost's blocked email domains, and delete the burst of fake members before your next send.
- If bots keep coming back, switch signup to invite-only or paid-only; attackers rarely pay.
Your Ghost site is suddenly collecting subscribers on corporate addresses, and each one opens and clicks every link seconds after a send. In your logs, the traffic points at /members/api/send-magic-link/, the endpoint behind Ghost's signup and sign-in form. People on Ghost's community forum have reported this pattern, and the common complaint is that the endpoint is rate limited but has no CAPTCHA in front of it.
Why it happens
The form posts an email address to that endpoint. Ghost creates a member record for a new signup and emails a one-time link. There is no password and no prior relationship needed, so it works as a free way to send an email from your domain to any address.
Bots use it for two things:
- Newsletter bombing. An attacker signs a victim's address up on hundreds of sites at once so the victim's inbox drowns in confirmation emails. Your site is one of the hundreds. The victim is the real target, but your sending reputation takes the hit.
- Address testing. Bots submit lists of addresses to learn which are live, often to prepare phishing.
The instant opens and clicks are most likely security scanners. Corporate mail gateways often fetch every link and image before delivery, so a bot-created member on a protected corporate domain looks hyper-engaged. The same scanners also touch some real subscribers' mail, so don't judge a member by opens alone. I can't tell you from outside whether a given burst is newsletter bombing or address testing; the fix is the same.
How to confirm it is bots
Open Members in Ghost Admin before you change anything. These signs point to bots:
- Many signups within a few minutes, often with patterned addresses.
- Corporate or university domains with no link to your audience.
- Opens and clicks on every link within seconds of a send.
- A signup source that is empty or odd, if Ghost shows one for those members.
Write down the start and end time of the burst. You will need it for cleanup and for support.
Step-by-step fixes
1. Filter the endpoint at Cloudflare
Ghost's own protection is rate limiting. A CDN or WAF in front of the site can do more.
- Proxy your site's DNS record through Cloudflare (the orange cloud icon).
- In the Cloudflare dashboard, open the security section for your site and create a custom rule in the WAF area.
- Match requests where the URI path equals
/members/api/send-magic-link/and the method isPOST. - Start with a Block action for traffic you can identify (a country you never serve, or a bot signal), or a rate limit on the same path per IP.
- Save, then test your own signup form in a private window.
Labels in the Cloudflare dashboard change, so if you can't find them, search the dashboard for "WAF custom rules" or "rate limiting rules". Cloudflare's WAF documentation lists the actions available (block, managed challenge, JS challenge, log and others).
Challenges can break real signups
Ghost's form sends this request in the background, so a Managed Challenge may have nowhere to appear and legitimate signups can fail. If you use a challenge action, test the form from several browsers before you leave it on.
2. Block the spam domains in Ghost
Ghost has a block list for signups by email domain. In Ghost Admin, open Settings, go to the membership area, and look for the setting that blocks signups from listed domains. Add the domains that keep appearing. If you can't find the setting in your version, check Ghost's documentation for your release, since this has moved between versions.
Don't block big free providers such as gmail.com; real readers use them. This step only works when the abuse concentrates on a few domains. If bots rotate through hundreds, lean on Step 1 and Step 4.
3. Delete the fake members before the next send
Every fake address you email adds bounces or complaints, and a victim of newsletter bombing may mark your message as spam.
- In Members, filter by signup date so the burst is grouped together.
- Select the suspicious members and delete them.
- Hold the next newsletter until the list is clean, or send only to a segment that signed up before the attack started.
Deleting is better than leaving them unsubscribed. They are not readers, and an unsubscribed record still keeps the address on file.
4. Change who can sign up
If bots keep returning, change the access setting in Ghost's membership settings. Typical options are open signup, invite-only, or paid-only. Paid-only is the strongest filter. The cost is obvious: you lose free subscribers. A middle route is to keep free signup but only through a page you control, with the Cloudflare rule from Step 1 in front of it.
Which option fits
| Option | Stops bots | Cost to you |
|---|---|---|
| Domain block list | Only known domains | Low; ongoing upkeep |
| Cloudflare block or rate limit | Most scripted posts | Needs DNS change; test your forms |
| Cloudflare challenge | Many bots | Can break background form posts |
| Invite-only | Nearly all | No public signup |
| Paid-only | Nearly all | Free growth ends |
Checklist before your next send
- The Cloudflare rule is live and your own signup still works.
- Recurring spam domains are in the block list.
- The burst of fake members is deleted, and you kept a note of the time window.
- Your bounce and complaint rates from the last send are checked.
- SPF, DKIM and DMARC pass for the sending domain.
How to prevent a repeat
Review new members weekly, not only after a bad send. Watch bounce and complaint rates after each send; our spam complaint rate calculator and Google Postmaster Tools guide help you spot damage early. Keep SPF, DKIM and DMARC aligned so a burst of magic-link emails doesn't also fail authentication. If a victim complains that your site flooded them, remove their address and keep it off future sends; our suppression list guide covers how.
Where Mailneo helps, and where it doesn't
Mailneo can't protect a Ghost signup endpoint; that sits on your Ghost server and Cloudflare. If you also send newsletters through Mailneo (Professional plan and up), a list can use double opt-in, and unconfirmed subscribers aren't sent regular campaigns. Hard bounces and complaints go on a team-level suppression list automatically. Mailneo has no hosted signup form of its own, so it doesn't replace the protections above. Details are in the newsletter documentation.
If nothing works
If the endpoint is still being hammered and Cloudflare isn't an option on your hosting, contact Ghost support (Ghost(Pro) support if they host you). Send the burst's time window, the endpoint path, a handful of the member addresses, and the steps you already tried. Support can check server logs for the offending IPs.
Subject: Bot signups via /members/api/send-magic-link/
Hello,
Since {date and time, with timezone} our site {your-site-url} has received
a burst of fake member signups through /members/api/send-magic-link/.
The addresses are mostly corporate domains and each opens and clicks every
link within seconds of a send.
Burst window: {start} to {end}
Example addresses: {3 to 5 addresses}
Already tried: domain block list, member cleanup, {Cloudflare rule, if any}
Can you check server logs for the source IPs and tell me whether
server-side protection for this endpoint is available on my plan?
Thanks
Common questions
Does Ghost have a CAPTCHA for the signup form?
Community reports say the endpoint is rate limited but has no CAPTCHA in front of it. Check Ghost's release notes in case that has changed since mid-2026.
Should I block corporate domains wholesale?
Only the specific domains that keep appearing. Blocking a whole category will also block real subscribers who read you at work.
Are the instant opens real engagement?
Usually not. Mail security scanners open and click links automatically, so these members inflate your engagement numbers without being readers.
Will deleting members hurt my reputation?
No. Removing addresses that never wanted your mail protects your bounce and complaint rates.
Explore: Email Deliverability
Related Articles
Ghost "Something went wrong while checking this URL" (422) fix
Ghost shows "Something went wrong while checking this URL, please try again." with a 422 when you recommend a Substack homepage, because the page's metadata is added after load. Recommend an individual post URL from that Substack instead, then use the checks below if that fails too.
EmailError ETIMEDOUT in Ghost: Mailgun SMTP Timeout Fix
Ghost's "EmailError ETIMEDOUT ... Connection timeout" means your server could not open a TCP connection to the SMTP host in time. Newsletters go through the Mailgun API over HTTPS, so they still work. Test port 587 from the server, then open it, switch to port 2525, or fix DNS.
0x800ccc0e: Outlook Unable to Connect to SMTP Server, Fixed
Outlook error 0x800ccc0e means the app could not open a connection to your outgoing (SMTP) server. Usually the port, encryption setting or password is wrong, or antivirus, a firewall or your ISP is blocking it. Set port 587 with STARTTLS, turn on SMTP authentication, and test again.
SocketLabs "421 4.5.1 Too many errors" blacklist: how to fix it
`421 4.5.1 Too many errors, you have been temporarily blacklisted` means a SocketLabs server saw repeated auth or bad-address errors from your IP and paused it. Stop whatever is retrying, fix credentials and invalid recipients, clear the queue, and wait. The block usually lifts within minutes, but returns if retries resume.
Ready to supercharge your email marketing?
Start sending smarter emails with AI-powered campaigns. No credit card required.
Get Started Free