NoMoreSpam · By Sophie Calder · Updated 4 Nov 2026 · 12 min read

NoMoreSpam: Magento 2 Spam Protection for Forms

Stop bots from flooding your Magento 2 contact forms, product reviews, and newsletter signups - no captcha, no code changes, zero configuration.



Overview

NoMoreSpam protects your Magento 2 store's frontend forms from automated bot submissions. It works silently in the background - injecting hidden honeypot fields, recording timestamps to catch submissions that arrive too fast for a human, and checking content for spam link patterns. No captcha, no extra friction for real customers.

NoMoreSpam configuration overview

This module helps you:

  • Block bot traffic on contact forms, product review forms, newsletter signups, user registration, login, and forgotten-password forms
  • Catch submissions that arrive too quickly to have been typed by a human
  • Detect spam links in contact name and message fields, and in review title and body
  • Flag product reviews submitted without a star rating
  • Keep a detailed spam detection log when you need to diagnose an issue

When to use spam protection for your Magento 2 forms

Use NoMoreSpam when you want to:

  • Stop automated bots from submitting your contact form and generating support inbox noise
  • Reduce fake product reviews or reviews stuffed with links to external sites
  • Prevent bot accounts from signing up via the customer registration form
  • Block bot newsletter signups that inflate your subscriber count without real intent
  • Add a lightweight spam layer without asking customers to solve a captcha

Key capabilities

  • Honeypot field injection - Adds invisible hidden fields to forms; bots that fill all fields are rejected, humans never see them
  • Speed detection - Blocks submissions that arrive before a human could have typed them (under 1 second for most forms, under 0.2 seconds for login)
  • Cryptographic hash validation - Each form load generates a SHA-256 hash pair; submissions missing or mismatching it are dropped
  • Human interaction gate - The submit button stays disabled until mouse movement, touch, or keyboard input is detected
  • Content link checks - Flags form submissions containing URLs or link patterns in the name, message, or review fields
  • Review rating check - Marks reviews as spam when star ratings are absent and the check is enabled
  • Per-form section toggles - Protect only the forms you care about; leave others unguarded
  • Optional spam log - Records blocked submissions with IP, user agent, and form type to var/log/moogento_nomorespam.log

In this guide

This guide is split across several pages so each one stays quick to read and easy to search. This page covers installation, first setup and the frequently asked questions. The detailed instructions are on these pages:

  • NoMoreSpam Pro: Payment, Admin and Store Security: What the Pro upgrade adds: admin login protection, allowlists, payment method protection, the Store Security Panel and two-factor authentication. Covers What Pro adds over the free version, Admin login and forgotten-password protection (Pro), Custom form protection (Pro), IP allowlist, email allowlist, and customer group allowlist (Pro), Configurable risk threshold (Pro), Payment method protection (Pro), Payments grid (Pro), Blocklist grid (Pro), Stats dashboard (Pro), Object-injection hardening level (Pro), Store Security Panel (Pro), Admin two-factor authentication, made friendlier (Pro).
  • NoMoreSpam: Settings, Tips and Troubleshooting: Feature reference, advanced configuration, best practices, and answers to common spam protection problems. Covers Features reference, Advanced configuration, Tips & best practices, Troubleshooting.

Installation

Bought on Adobe Commerce Marketplace? Your order comes with a Moogento account: set your password from the activation email, then follow the steps below with the Composer keys in My Plugins. If the email has not arrived, contact Moogento support.

NoMoreSpam installs via Composer. The free module does not need a Moogento license key. NoMoreSpam Pro requires a valid Pro license.

Prefer a hands-off setup? Our team can install and configure the extension for you - see the paid install service.

Step 1: Get your Composer keys from Moogento.com

  1. Sign in at https://www.moogento.com and open My Plugins in your account menu.
  2. Find NoMoreSpam (or NoMoreSpam Pro if you have the Pro tier) in the list of plugins you own.
  3. Generate (or reveal) the Composer access keys for that plugin - a public key and a private key.
  4. Add your install domain to the key. Each Composer key is tied to a specific domain - if you're installing on yourstore.com, add yourstore.com to the key's allowed domains. The Composer download will be rejected on any other domain.

If you run staging and production on different domains, add both - separate keys per environment are fine too.

Step 2: Install the module with Composer

From your Magento 2 root directory:

Free tier:

composer require moogento/m2-nomorespam

Pro tier (installs both the free base and the Pro upgrade together):

composer require moogento/m2-nomorespam moogento/m2-nomorespampro

When Composer asks for credentials, paste the public key as the username and the private key as the password. They'll be cached in ~/.composer/auth.json for future runs.

Step 3: Enable the module in Magento

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:clean

For the free tier, run php bin/magento module:status Moogento_Nomorespam to confirm it is listed as enabled. For Pro, also check php bin/magento module:status Moogento_Nomorespampro.

Step 4: Activate NoMoreSpam Pro (Pro only)

The free NoMoreSpam module needs no Moogento license key. For a direct Pro purchase, copy the NoMoreSpam Pro license key from My Plugins at moogento.com. Add the Installation Domain shown under Stores > Configuration > Moogento > License to the key in your Moogento account. Then paste the key into the key field and click Add key. Check Registered Keys for this Installation for the correct module and plan; if the key is invalid, check its domain.

For a Marketplace Pro purchase, check your Moogento account for an issued entitlement and contact Moogento support if it is missing.


Setup overview

Most setup happens in:

Stores > Configuration > Moogento > NoMoreSpam

You'll mainly work with:

  • General - enable/disable the module and turn logging on or off
  • Protect: Specific Sections - choose which forms to guard
  • Risk: Scoring - choose which signals count toward spam detection

NoMoreSpam Pro adds its own config section at Stores > Configuration > Moogento > NoMoreSpam Pro, covering all the sections above plus risk thresholds, allowlists, custom forms, payment method protection, and the analytics dashboard.


Common setups

Protect your contact form and product reviews

The most common starting point - cover the two forms bots target most often.

How to set it up

  1. Go to: Stores > Configuration > Moogento > NoMoreSpam > Protect: Specific Sections

    Protect Specific Sections config

  2. Set:

    • Contact form = On
    • Product reviews = On
  3. Go to: Stores > Configuration > Moogento > NoMoreSpam > Risk: Scoring

    Risk Scoring config

  4. Set:

    • Contact form: Links in name? = On
    • Contact form: Links in message? = On
    • Product review: Links in title? = On
    • Product review: Links in review? = On
    • Forms submitted too fast? = On
  5. Save Config, then run php bin/magento cache:clean.

Notes

  • If real customers legitimately include URLs in their messages (e.g. a support request referencing a product page), turn off Contact form: Links in message? to avoid false rejections.
  • The speed check uses a 1-second threshold for most forms. Password managers that auto-fill and submit login forms faster than that threshold are handled separately - the login speed threshold is 0.2 seconds, so password manager submissions pass.

Enable spam logging to diagnose blocked submissions

Turn on the log when you need to see exactly what NoMoreSpam is blocking before adjusting your settings.

How to set it up

  1. Go to: Stores > Configuration > Moogento > NoMoreSpam > General

    General config

  2. Set:

    • Enable logging = Yes
  3. Save Config.

  4. Inspect the log:

    tail -f var/log/moogento_nomorespam.log
    

Each log entry records the form type, IP address, user agent, request URI, and referer so you can tell whether a real customer was blocked or a bot was caught correctly.

Notes

  • Leave logging off in production once your settings are tuned - it adds a small write to disk for every blocked request.
  • The Enable logging field is only shown when the module is enabled.

Protect newsletter and account forms

Add protection to newsletter subscriptions, user registration, login, and forgotten-password forms.

How to set it up

  1. Go to: Stores > Configuration > Moogento > NoMoreSpam > Protect: Specific Sections

  2. Set:

    • Newsletter = On
    • Frontend: User registration = On
    • Frontend: Login = On
    • Frontend: Forgotten password = On
  3. Save Config.

Notes

  • The Admin: Login and Admin: Forgotten password toggles require NoMoreSpam Pro - they are shown in the config panel but marked as Pro-only.
  • All four frontend forms use the same honeypot + speed detection approach as the contact form.

NoMoreSpam Pro (upgrade)

NoMoreSpam Pro is the paid upgrade that adds advanced spam and payment-fraud protection. It supplements the free module's honeypot and timing checks with a 50+ factor risk-scoring engine, payment gateway protection, IP/email/customer allowlists and blocklists, custom form support, admin login protection, and a full analytics dashboard.

When Pro is installed it takes over from the free module completely - no duplicate checks run.

FAQs

How do I stop bots from spamming my Magento 2 contact form?

Install NoMoreSpam, go to Stores > Configuration > Moogento > NoMoreSpam > Protect: Specific Sections, and turn on Contact form. Then enable the scoring signals in Risk: Scoring - especially Links in message? and Forms submitted too fast? - and save. The module injects hidden honeypot and timestamp fields automatically; no code changes are needed.

Why are real customers getting blocked when they submit the contact form?

The most common cause is the Links in message? signal blocking customers who paste URLs into their message, or the speed check triggering when a browser auto-fills the form faster than 1 second. Enable logging under Stores > Configuration > Moogento > NoMoreSpam > General to see exactly which check is firing, then switch off that signal in Risk: Scoring.

Does NoMoreSpam work with Hyvä, Luma, and Porto themes?

NoMoreSpam's hidden field injection targets standard Magento form CSS selectors (form.form.contact, form.review-form, etc.) that are present in Luma and Porto. Hyvä themes use different markup and may require NoMoreSpam Pro, which supports custom form selectors, to match the correct form elements.

What happens if I install NoMoreSpam Pro alongside the free version?

When NoMoreSpam Pro is active, the free version disables itself completely - it shows a notice in the General config panel and skips all spam checks. There is no double-processing. If you want to revert to the free module, uninstall Pro and clear cache.

How do I protect my admin login page from bots?

Admin login protection requires NoMoreSpam Pro. In the free version, the Admin: Login and Admin: Forgotten password toggles are visible in Protect: Specific Sections but marked as requiring an upgrade. See NoMoreSpam Pro (upgrade) for details on enabling admin login protection and the submit-gate setting.

Can I protect custom or third-party forms with NoMoreSpam?

The free version only protects the standard Magento forms (contact, reviews, newsletter, registration, login, forgotten password). The Protect: Custom Forms section is shown in config but is a Pro-only feature. Upgrade to NoMoreSpam Pro (see NoMoreSpam Pro (upgrade)) to add protection to any form on your store by specifying its CSS selector.

What does "Forms submitted too fast?" actually check?

It compares the timestamp embedded in the form when it loaded against the submission time. If the gap is under 1 second for most forms (or under 0.2 seconds for the login form), the submission is treated as a bot. Real users typing a message always take longer; fast password-manager logins are allowed because the login threshold is set much lower.

How do I see what NoMoreSpam is blocking?

Go to Stores > Configuration > Moogento > NoMoreSpam > General and set Enable logging to Yes, then save. Open var/log/moogento_nomorespam.log on your server - each blocked request is logged with the form type, IP address, user agent, and request details. Turn logging off again once you've finished diagnosing.

What is a honeypot field?

A honeypot is a hidden form field that is invisible to real users but visible to bots that parse HTML. Bots fill in every field they find; if the honeypot field contains any value on submission, NoMoreSpam rejects the request. Real users never see or fill the field, so there is no impact on the customer experience.

What does upgrading to NoMoreSpam Pro add?

NoMoreSpam Pro adds admin login and forgotten-password protection, custom form CSS-selector support, IP/email/customer-group allowlists, a 50+ factor configurable risk-scoring engine with an adjustable global threshold, checkout and payment pre-auth validation, gateway-level protection for Payflow, Braintree, Stripe, and PayPal, an IP blocklist with CIDR subnet escalation, a Payments log grid, a Stats analytics dashboard, customer restriction management, and a weekly protection summary email covering form, bot, blocklist, checkout, and payment protection. See NoMoreSpam Pro (upgrade) for the full feature breakdown and setup steps.

How do I check whether my store's admin security settings are correctly configured?

NoMoreSpam Pro includes a Store Security panel at the top of Stores > Configuration > Moogento > NoMoreSpam Pro. It reviews HTTPS enforcement, admin 2FA enrolment, admin account settings, the upload extension denylist, and more - showing a pass, needs-attention, or action-needed badge for each item with a direct link to the relevant setting. You can also run bin/magento moogento:nomorespampro:security-checklist from the command line for a headless audit.

Can my team avoid entering a 2FA code on every login without weakening security?

Yes - NoMoreSpam Pro's trusted-device feature (Stores > Configuration > Moogento > NoMoreSpam Pro > Admin Two-Factor Authentication, Enable Remember This Device) lets each admin mark a device as trusted after a successful 2FA challenge. They will not be prompted again on that device for the configured number of days (default 14). Trust is revoked automatically on password change. Admins with the device-revoke permission can bulk-revoke all trusted devices for any admin from Moogento > NoMoreSpam Pro > Admin 2FA. Per-device revoke is available via the admin user-edit page (NoMoreSpam Pro 2FA tab) or the CLI (bin/magento moogento:nomorespampro:2fa:trusted-revoke --device-id=<id>).

How much does NoMoreSpam cost?

The free version of NoMoreSpam is included with Moogento. For Pro features - admin login protection, custom form selectors, IP allowlisting, payment fraud protection, and the analytics dashboard - visit https://www.moogento.com and check the NoMoreSpam Pro listing under My Plugins.



Need help?

  • moo@moogento.com
  • Include:
    • Magento version
    • Module name
    • What you're trying to do