Every public form that sends an email is an invitation to abuse. Bots fill newsletter forms with fake or stolen addresses, which pollutes your list, raises bounces and can hit spam traps. Attackers run "subscription bombing" campaigns: they submit a victim's address to thousands of forms at once so that the victim's inbox is flooded with confirmation emails, hiding a fraud alert or simply causing harm. Your form becomes a weapon, and your domain takes the reputation hit. Protecting forms is therefore part of deliverability, not just security. This guide describes the layers of defence, from invisible traps to verification, explains how to choose between them without hurting real users, and shows how to monitor for attacks and respond. It builds on double opt-in and sign-up form design.
How the abuse works
| Attack | Goal | Effect on you |
|---|---|---|
| Fake sign-ups with random addresses | Test forms or poison lists | High bounce rate, traps, wasted sends |
| Sign-ups using real addresses of strangers | Harass the owners or bury other messages in a flood | Complaints, "report spam" clicks, reputation loss |
| Form used as a spam relay | Insert links or text into the confirmation email | Your domain sends the attacker's message. See email spoofing |
| Credential or account creation abuse | Free trials, promotions, fake accounts | Fraud costs; messages to throwaway addresses |
| Contact form injection | Add headers such as Bcc to send mail through your server | Open relay behaviour; blocklisting |
Layer 1: Make the form safe by design
- Fix header injection. Never place user input in email headers without stripping line breaks. Use a library that sets recipients explicitly.
- Do not send user-controlled text in the confirmation message beyond a safe, escaped name. Attackers use fields to insert links.
- Fixed recipient for contact forms. A contact form should send to your own address, not to an address supplied by the visitor.
- Use POST with a token tied to the session (CSRF protection) so that cross-site scripts cannot submit on behalf of visitors.
- Keep the confirmation email neutral: state the site, the action and a single link, with an "ignore this if it was not you" line.
Layer 2: Invisible traps and limits
- Honeypot field. Add an extra input hidden with CSS that real users never fill. Many bots fill every field; reject submissions where it contains a value. Use an unobvious name and do not rely on it alone, because sophisticated bots detect hidden fields.
- Time check. Record the time the form was rendered and reject submissions that arrive in under a second or two.
- Rate limits. Limit submissions per IP address, per network, per session and per target email address. A particular address should not be able to receive more than a few confirmations in a day.
- Global limits. Cap the total number of confirmation emails per minute and alert when it spikes.
- Reputation and geography signals. Challenge traffic from anonymising networks or from countries you do not serve, carefully and without blocking legitimate users.
- Block disposable and invalid domains using validation. See email validation and the validator.
Layer 3: Challenges
| Option | How it works | Strengths | Cautions |
|---|---|---|---|
| Invisible risk scoring challenge | Scores the visitor behind the scenes and challenges only suspicious ones | Little friction for people | Third-party script; privacy and accessibility review needed |
| Checkbox or puzzle CAPTCHA | Asks the visitor to prove they are human | Well understood | Friction; accessibility barriers; solving services defeat it |
| Proof-of-work challenge | Browser performs a small computation | No images; privacy friendly | Weaker against determined attackers; adds CPU time |
| Email-based challenge only (double opt-in) | No challenge on the form, confirmation before activation | Verifies mailbox ownership | Does not stop subscription bombing by itself |
| Account login required | Only authenticated users may subscribe | Strong identity | Not suitable for public newsletters |
Choose challenges that are accessible to people using screen readers and keyboards, offer an alternative path, and respect privacy law for any third-party service. Test the form with real users, because overly strict defences cost sign-ups. Keep a measure of conversion before and after any change.
Layer 4: Verify ownership before mailing
Double opt-in is the strongest protection for your list: no address receives marketing until the owner clicks a link. It also gives you consent evidence. But the confirmation email is itself the thing attackers abuse for bombing, so combine it with limits and a single, small message. Do not send reminders to unconfirmed addresses more than once, and expire pending sign-ups after a few days. Do not add unconfirmed addresses to campaigns. See consent records and consent evidence.
Detecting and handling an attack
- Signals: sudden growth in sign-ups, many from a few IP ranges or user agents, a surge of confirmation sends, rising bounces or complaints, many sign-ups using the same domain or sequential addresses, and complaints from recipients who never subscribed.
- Immediate steps: turn on stricter challenges, lower rate limits, pause confirmation sending if necessary and queue it for review.
- Clean up: remove unconfirmed and suspicious addresses, and suppress addresses that complain.
- Protect victims: if a single address appears in thousands of attempts, block further confirmations to it and consider notifying the owner if you can do so safely.
- Review the logs to find the entry point and fix it, such as a forgotten form on an old page or an unauthenticated API endpoint.
- Report serious abuse to your provider and, if appropriate, to authorities. Keep your abuse mailbox attended. See abuse mailboxes.
Communication and support
Real people will sometimes be caught by your defences. Provide a plain way to get help, such as a support address shown when a challenge fails, and make sure the person who answers can add a legitimate user manually. Write the error messages in neutral language: "We could not complete your request, please try again" reveals less to attackers than a detailed explanation of which rule fired. Tell your own staff what the defences are, so that a spike in "I never received the confirmation" tickets is recognised as a possible side effect of a rate limit rather than an email fault.
Check the whole surface
Attackers look for the weakest form. Inventory every place a visitor can trigger an email: newsletter boxes, contact forms, referral and invite features, password reset, account creation, event registrations and API endpoints. Each needs rate limits and validation. Referral features that send an invitation to an address supplied by the user are especially risky because the content is attacker-influenced. See password reset and OTP email for the same concerns in authentication flows.
Monitoring and metrics
| Metric | Healthy | Alert when |
|---|---|---|
| Confirmation rate | Stable for the channel | Drops sharply (bot traffic) |
| Hard bounce rate on confirmations | Very low | Climbs above a small threshold |
| Sign-ups per hour | Predictable pattern | Spikes outside campaigns |
| Complaints on welcome and confirmation mail | Near zero | Any cluster |
| Share of disposable-domain sign-ups | Low | Rapid increase |
| Pending (unconfirmed) queue size | Small | Growing quickly |
Protecting forms is an ongoing task, because attackers adapt. Layer simple, cheap defences first, add friction only where the data shows abuse, and keep the confirmation process small and safe. The reward is a smaller, healthier list that performs better and keeps your domain out of trouble.
Keep your lists clean Check addresses before they reach your campaigns.
References and further reading
Frequently asked questions
What is subscription bombing?
An attack that submits a victim's address to many forms so they are flooded with confirmation emails.
Is double opt-in enough to stop bots?
It verifies mailbox ownership but does not stop bombing. Combine it with rate limits and challenges.
Does a honeypot field work?
It stops simple bots at no cost to users, but sophisticated bots avoid it, so use it with other layers.
Will CAPTCHA reduce my sign-ups?
It can. Prefer invisible or low-friction challenges, offer accessible alternatives and measure conversion.
How do I know I am under attack?
Look for sudden sign-up spikes, clustered IPs, rising bounces and complaints from people who never subscribed.