MedMathCaptcha - Secure your forms against bots and spammers
Secure your forms against bots and spammers — no external service, no Google reCaptcha, no slowdown.
Description
The problem
PrestaShop stores are bombarded every day by bots that submit fraudulent messages through the contact form, create fake customer accounts to pollute your database or subscribe to your newsletter to test stolen email addresses.
The result: a support inbox flooded with spam, thousands of ghost accounts, a collapsing email deliverability, injection attempts and a merchant wasting hours cleaning up the mess.
The solution
MedMathCaptcha protects your four critical forms: contact, customer registration, newsletter and forgotten password. A simple math captcha on the contact form, an invisible honeypot on the others, and more than 22,000 spammer domains pre-loaded.
No third-party service, no API key: the module works autonomously, is GDPR-compliant, does not impact your Core Web Vitals and blocks 99% of attempts from day one.
How it works
Math captcha
On the contact form, a simple calculation (e.g. 3+4) is displayed. Solvable in one second by a human, unsolvable for a standard bot.
Invisible honeypot
On registration and newsletter, a hidden trap field and a cookie token silently verify that the visitor is genuine — without any visible friction.
Blacklists
22,000 disposable domains pre-loaded and a complete log of blocked attempts. Add an email to the blacklist in 1 click from your support panel.
Detailed features
Smart math captcha
- Simple calculation displayed on the contact form
- Solved in less than a second by a human
- Can be enabled / disabled independently of the contact form protection
- Customizable intro and error messages per language
- No unreadable image, no remote image
Invisible honeypot
- Transparent protection on customer registration
- Newsletter protection (PrestaShop 1.7 and above)
- Forgotten password form protection
- Hidden trap field + cookie token
- Zero friction for real customers
Spammer domain list
- Over 22,000 known domains pre-loaded at install
- Covers all major disposable email providers
- Bulk add with comma-separated entries with per-entry validation
- Block counter per domain
Email blacklist
- Block a specific email address
- One-click add from the support thread
- Block counter per address
- Strict email format validation
Support panel integration
- “Mark as spam” button directly on the thread view
- “Remove from spam” button with confirmation message
- “Delete thread” button — missing feature in PrestaShop
- Contextual tooltips
Security log
- Dedicated tab with full list of blocks
- Traces the IP, email and domain
- Unit or bulk deletion
- Uses the native PrestaShop logger
GDPR compliance
- No data transmitted to any third party
- No Google reCaptcha to declare
- No additional consent banner required
- Data stored locally in your tables
Responsible security policy
- Signed up to the TouchWeb Charter for responsible cybersecurity
- Acknowledgement of any report within 7 days
- Fix and CVE publication within 30 days
- No silent patching
Performance & large datasets
- DataTables 2.3.7 server-side processing: pagination, sorting and search handled by the database
- Fast back office even with tens of thousands of entries
- No massive download on the browser side
- Zero impact on front-office Core Web Vitals
Features
- Simple calculation displayed on the contact form
- Solved in less than a second by a human
- Can be enabled / disabled independently of the contact form protection
- Customizable intro and error messages per language
- No unreadable image, no remote image
- Transparent protection on customer registration
- Newsletter protection (PrestaShop 1.7 and above)
- Forgotten password form protection
- Hidden trap field + cookie token
- Zero friction for real customers
- Over 22,000 known domains pre-loaded at install
- Covers all major disposable email providers
- Bulk add with comma-separated entries with per-entry validation
- Block counter per domain
- Block a specific email address
- One-click add from the support thread
- Block counter per address
- Strict email format validation
- “Mark as spam” button directly on the thread view
- “Remove from spam” button with confirmation message
- “Delete thread” button — missing feature in PrestaShop
- Contextual tooltips
- Dedicated tab with full list of blocks
- Traces the IP, email and domain
- Unit or bulk deletion
- Uses the native PrestaShop logger
- No data transmitted to any third party
- No Google reCaptcha to declare
- No additional consent banner required
- Data stored locally in your tables
- Signed up to the TouchWeb Charter for responsible cybersecurity
- Acknowledgement of any report within 7 days
- Fix and CVE publication within 30 days
- No silent patching
- DataTables 2.3.7 server-side processing: pagination, sorting and search handled by the database
- Fast back office even with tens of thousands of entries
- No massive download on the browser side
- Zero impact on front-office Core Web Vitals
Changelog
v4.1.0
- New feature: Import / Export tab: save your banned domains and emails as a CSV file, and load a list from a file or a copy and paste
- New feature: Block a domain or an email address in one click from the attack dashboard
- Fixed: The attack dashboard no longer lists values that are not email addresses, and the attacking domains panel is filled again
- Fixed: Installation no longer fails on shared hosting while loading the 22,000 bundled domains
- Fixed: The module can be installed next to PrestaMailchimp and the other modules that customize the newsletter block: its protection no longer relies on an override
- The back office no longer loads anything from an external CDN and works without Internet access
- Contact support from a form: the message is sent by the shop itself, even without a mail client
- FAQ extended: import and export, uninstallation, multistore and the sentence before the calculation
- A warning shows when the Newsletter subscription module is too old for its block to be protected (version 2.6.0 or later required)
- Compatibility: PrestaShop 1.6.1.12 minimum
v4.0.0
- New attack dashboard: blocked attempts over 24 hours, 7 or 30 days, trend chart, breakdown by protection type and top attacking domains, emails, IP addresses and countries
- Added an estimate of the time saved on manual spam sorting
- Fixed the newsletter protection never running on PrestaShop 1.7, where the hook it relied on does not exist: the subscription block is now protected on every supported version
- The password reset form is now protected: robots can no longer flood your customers with reset emails sent from your shop
- New public anti-spam API: any third-party module can reuse the honeypot and blacklist engine on its own forms through the medIsSpam() method or the actionMedMathCaptchaCheck hook
- Added license management with activation, status tracking and domain migration request
- Fixed the account creation form no longer being protected when a theme displays it outside the registration page, for example in a product page tab, which could block legitimate customers from registering
- Fixed the security token not being filled when several protected forms are displayed on the same page
- Fixed a fatal error on the configuration page when an outgoing network request failed on PrestaShop 9
- Fixed a class name conflict that could crash the back office when another Mediacom87 module was installed
- The AJAX lists are now available to every back-office employee instead of the super-administrator only
- Rewritten FAQ, now organised in eight sections
v3.9.0
- Added an option to enable or disable the mathematical test on the contact form independently from the other protections (honeypot and blacklists stay active)
- The calculation introduction sentence field is now displayed right below the mathematical test option and is automatically hidden when the contact form or the mathematical test is disabled
- Add several domains at once to the blacklist by separating them with commas, with individual validation and per-entry error reporting
- The banned domains, banned emails and logs lists now use DataTables server-side processing: pagination, sorting and search are handled by the database, keeping the administration panel fast even with tens of thousands of entries
- Added automatic update notification in the configuration panel when a new version of the module is available
- Redesigned the Informations and support tab with a clearer module summary (logo, version, compatibility, support link, features list)
- Simplified the More Modules tab and hidden it entirely when no recommendations are available
- Enriched the FAQ with six new questions covering GDPR compliance, performance impact, newsletter protection, optional math test, multi-domain input and responsible vulnerability disclosure
- Removed the legacy License tab (the module is distributed under AFL 3.0, information available in the security policy and changelog)
- DataTables library updated to version 2.3.7
v3.7.1
- Bug fix for PrestaShop version 1.6
v3.6.0
- Fixed translation problem for tables
- Fixed bug on older PrestaShop 1.6 versions
- DataTables library updated to version 2.2.1
v3.6.1
- Fixed bug on one page checkout PrestaShop 1.6 versions
- DataTables library updated to version 2.2.2
v3.7.0
- Anti-spam protection on newsletter registration form for PrestaShop versions 1.7 and higher
- Improved registration blocking to combat new forms of spam attacks
v3.7.2
- Correction of an error when connecting clients
- Improved security for newsletter registration form
- DataTables library updated to version 2.3.1
- Add security policy
v3.8.0
- Added compatibility with PrestaShop 9
- Correction for frontoffice apostrophe display
- DataTables library updated to version 2.3.3
v3.4.0
- Improved contact form protection on PrestaShop versions 1.7 and higher
- Correction of a display error on Firefox for the module options validation button
v3.5.0
- Improved robot blocking in the contact form
- Correction of a defect in the deletion of banned domains and email addresses
- DataTables library updated to version 2.0.3
v3.3.0
- Add an option to propose a text in front of the mathematical safety calculation display on contact form
- Defer loading of domain list for better performances
- Improved protection against spam
- Fixed display bug on older PrestaShop 1.6 versions
- Improved identification of email addresses declared as Spam in the S.A.V. thread management system.
- DataTables library updated to version 1.13.7
v3.1.0
- Compatibility fix with PHP 8.1
- Compatibility fix with PrestaShop 8.1
- DataTables library updated to version 1.13.5
v3.2.0
- Added list of logs indicating all security failures
- Improved security controls on PrestaShop versions 1.7 and higher
- Add an alert in the module if Overrides are disabled
- DataTables library updated to version 1.13.6
v3.0.1
- Fixed a bad processing on PrestaShop 1.7
- Improved display of block lists
v3.0.0
- Added an option to block email addresses based on their domain or a particular email address
- Added over 22,000 known spammer domains
- Adding a first email address known to be spam
- Added a button in threads to add or remove an email address from the banned email list
- Added a button in the threads to delete the viewed thread
v2.2.0
- Fix a bug on versions higher than 1.7.7.0 of PrestaShop
v2.0.2
- Fix a bug on PrestaShop versions 1.5 and 1.6
v2.1.0
- Removal of compatibility with PrestaShop 1.5
- Added compatibility with PrestaShop 8
v2.0.1
- Fix a bug affecting some version 1.7 of PrestaShop
v2.0.0
- Added an option to enable or disable the Captcha on the contact form
- Added an option to enable or disable the Captcha on the registration form
- Fixed a display defect in backoffice on PrestaShop 1.7
- Improvement of the module performance
v1.3.0
- Implementation of an additional level of security on the PrestaShop contact form, with display in the Logs of the IP address of the fraudsters.
v1.1.0
- Added more security for the contact form of versions older than 1.6.1.17 of PrestaShop
v1.2.0
- Security of the registration form following the attack carried out on PrestaShop 1.7 installations in the world
- Addition of a more precise documentation on the use of this module and of the palletized safeties
v1.0.0
- Initial commit
Customer reviews · 16 verified reviews
A project, a question, an audit?
Personal reply within 24 working hours. No strings attached.
Let's discuss your project →