AntiSpam for Contact Form 7
Are you unsatisfied with your current antispam solution for Contact Form 7? It might be using an ineffective method to combat the specific type of bot attacks you’re facing. Fortunately, I have a solution for you! Antispam for Contact Form 7 is a simple yet highly effective plugin that protects your mailbox from bot flooding. Say goodbye to tedious configurations and captchas, which often lead to reduced conversions and inconvenience for genuine users. Our plugin utilizes a combination of on-page and off-page bot traps, along with an auto-learning mechanism powered by a statistical “Bayesian” spam filter called B8. CF7-AntiSpam seamlessly integrates with Flamingo and enhances its functionality. When both plugins are installed, Flamingo gains additional controls, and an extra dashboard widget is enabled. SETUP Basic – Install and go! No configuration, keys, or registrations are required to activate the antispam protection. In this case, some protections, such as fingerprinting, language checks, and honeypots, will be enabled. Advanced – For CF7A to properly analyze the email content using its dictionary, it needs to parse the input message field of your form. To notify the antispam to check this field, you’ll need to add a “marker” to each contact form on your website. Simply add ‘flamingo_message: “[your-message]”‘ in the additional settings panel of each contact form you want to secure. This process follows the same method used with Flamingo. While this step may seem tedious, it is required for advanced text statistical analysis. Without it, the B8 filter cannot be enabled. GeoIP – (Optional) If you need to restrict which countries or languages can email you, you can enable this functionality. To enable GeoIP, you’ll need to agree to the GeoLite2 End User License Agreement and sign up for GeoLite2 Downloadable Databases. This will provide you with the required key to download the database. For detailed instructions, please refer to the dedicated section in the cf7-antispam plugin settings. Antispam Available Tests ✅ Browser Fingerprinting ✅ Language checks (Geo-ip, http headers and browser) ✅ Honeypot ️✅ Honeyform* ✅ Domain Name System Blackhole List (DNSBL) ✅ Blocklists (with automatic ban after N failed attempts, user defined ip exclusion list) ✅ Hidden fields with encrypted unique hash ✅ Time elapsed (with min/max values) ✅ Prohibited words in message/email and user agent ✅ B8 statistical “Bayesian” spam filter ✅ High Entropy / Gibberish checks ✅ Identity protection ✅ Webmail protection Extends Flamingo and turns it into a spam manager! With this plugin, you can now review emails and train B8 to identify spam and legitimate messages. This feature proves useful, especially during the initial stages when some spam emails may slip through. Already using Flamingo? Even better! Just remember to add ‘flamingo_message: “[your-message]”‘ to the advanced settings (similar to other Flamingo labels) before activating the plugin. Alternatively, you can explore the advanced options and select “rebuild dictionary.” Upon activating CF7A, all previously collected emails will be parsed, and B8 will learn and develop its vocabulary. This pre-trained algorithm gives you a head start. How cool is that? Additional Notes: – A new column has been added to the right side of the Flamingo inbound page, displaying the level of spaminess for each email. – If you unban an email on the Flamingo “inbound” page, the corresponding IP will be removed from the blocklist. However, marking an email as spam will not blocklist the IP again. – Before activating this plugin, please make sure to mark all spam emails as spam in the Flamingo inbound section. This auto-training process will help the B8 algorithm. – If you receive a spam message, please avoid deleting it from the “ham” section. Instead, place it in the spam section to teach B8 how to differentiate between spam and legitimate messages. B8 statistical “Bayesian” Filter Originally created by Gary Robinson b8 is a statistical “Bayesian” spam filter implemented in PHP. The B8 filter is a foundational example of Machine Learning (ML) for text classification, representing an early, yet powerful, statistical approach in Natural Language Processing (NLP). This approach precedes feature-weighting methods like TF-IDF, which in turn paved the way for modern deep learning architectures, such as Transformers and GPT. The filter tells you whether a text is spam or not, using statistical text analysis. What it does is: you give b8 a text and it returns a value between 0 and 1, saying it’s ham when it’s near 0 and saying it’s spam when it’s near 1. See How does it work? for details about this. To be able to distinguish spam and ham (non-spam), b8 first has to learn some spam and some ham texts. If it makes mistakes when classifying unknown texts or the result is not distinct enough, b8 can be told what the text actually is, getting better with each learned text. This takes place on your own server without relying on third-party services. More info: nasauber.de Identity protection To fully protect the forms, it may be necessary to enable a couple of additional controls, because bots use the public data of the website to spam on it. – The first is user related and denies those who are not logged in the possibility of asking (sensitive) information about the user via wp-api and the protection for the xmlrpc exploit wordpress. – The second one is the WordPress protection that will obfuscate sensitive WordPress and server data, adding some headers in order to enhance security against xss and so on. Will be hidden the WordPress and WooCommerce version (wp_generator, woo_version), pingback (X-Pingback), server (nginx|apache|…) and php version (X-Powered-By), enabled xss protection headers (X-XSS-Protection), removes rest api link from header (but it will only continue to work if the link is not made public). Mailbox Protection (Multiple Send) Enhance email security by enabling the “Multiple Send” feature, which prevents consecutive email submissions to the user’s mailbox. This measure is effective in thwarting automated spam attempts and ensures a secure communication environment. Security & Privacy: A Local-First Approach AntiSpam for Contact Form 7 is built with your security and privacy as the top priority. Unlike many modern anti-spam solutions that rely on external cloud services or third-party subscriptions, our plugin is designed to run entirely on your own WordPress installation. 100% Local Processing: All anti-spam logic, checks, and data processing are performed directly on your server. No data is ever sent to, or stored by, any external third-party service (including ours). Not a Software as a Service (SaaS): This plugin is a standalone, self-contained software solution, not an interface to a paid or subscription-based external service. Once installed, it works autonomously. Enhanced Security: Since there is no central server or external API endpoint to communicate with, your website is immune to potential risks associated with centralized services, such as Single Point of Failure or data breach risks. You retain complete control and ownership over the security of your Contact Form 7 submissions. Privacy Notices AntiSpam for Contact Form 7 only processes the IP but doesn’t store any personal data directly from the user input. However, it creates a dictionary of spam and ham (non-spam) words in the WordPress database. This dictionary is built from words found in the submitted messages, meaning it may contain words that were part of the user’s e-mail message or personal data. This data is “degenerated,” which means the words might be normalized or altered before being stored. The sole purpose of this word collecting is to build a dictionary used for local, decentralized spam detection. Support Community support: via the support forums on wordpress.org Bug reporting (preferred): file an issue on GitHub Contribute We love your input! We want to make contributing to this project as easy and transparent as possible, whether it’s: Reporting a bug Testing the plugin with different user agent and report fingerprinting failures Discussing the current state, features, improvements Submitting a fix or a new feature We use GitHub to host code, to track issues and feature requests, as well as accept pull requests. By contributing, you agree that your contributions will be licensed under its GPLv2 License. My goal is to create an antispam that protects cf7 definitively without relying on external services. And free for everyone. if you want to help me, GitHub is the right place 😉 copyright AntiSpam for Contact Form 7, Copyright 2021 Codekraft Studio AntiSpam for Contact Form 7 is distributed under the terms of the GNU GPL This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE file for more details. Resources Contact Form 7 and Flamingo © 2021 Takayuki Miyoshi,LGPLv3 or later B8 https://nasauber.de/opensource/b8/, © 2021 Tobias Leupold, LGPLv3 or later GeoLite2 license GeoIP2 PHP API GeoIP2-php chart.js https://www.chartjs.org/, © 2021 Chart.js contributors, MIT Sudden Shower in the Summer, Public domain, Wikimedia Commons https://commons.wikimedia.org/wiki/File:Sudden_Shower_in_the_Summer_(5759500422).jpg Contibutions Mirek Długosz – #30 fixes a crash that occurred when analysing flamingo metadata MeliEve – #42 Fix “internal_server_error” when message is empty MeliEve – #61 Handle deferrer script loading Zodiac1978 – #67 Remove warning for unsafe email configuration w/o protection JohnHooks – #66 Readme + plugin env sdellenb – #66 Fix $reason parameter for calling cf7a_ban_by_ip Special thanks This project is tested with BrowserStack. Browserstack MaxMind GeoIP2 This plugin on demand can enable GeoLite2 created by MaxMind, available from https://www.maxmind.com While enabled you may have to mention it in the privacy policy of your site, depending on the law regulating privacy in your state! * GeoIP2 databases GeoLite2 Country DNSBL servers privacy policies dnsbl-1.uceprotect.net www.uceprotect.net license dnsbl-2.uceprotect.net www.uceprotect.net license dnsbl-3.uceprotect.net www.uceprotect.net license dnsbl.sorbs.net sorbs.net license zen.spamhaus.org spamhaus.org license bl.spamcop.net spamcop.net license b.barracudacentral.org barracudacentral.org privacy-policy dnsbl.dronebl.org dronebl.org all.spamrats.com spamrats.com tos bl.ipv6.spameatingmonkey.net spameatingmonkey.net Inspirations, links Nikolai Tschacher incolumitas.com Antoine Vastel fp-scanner/fp-collect Niespodd niespodd Thomas Breuss tbreuss Domain Name System-based blackhole list wiki dnsbl list wiki
Top keywords
- spam20×1.15%
- b815×0.87%
- flamingo13×0.75%
- license12×0.69%
- net12×0.69%
- form11×0.64%
- antispam10×0.58%
- contact10×0.58%
- contact form10×0.58%
- email9×0.52%
- org9×0.52%
- protection9×0.52%
CleanTalk Anti-Spam. Spam Firewall & Bot protection
Trusted by over 200,000 websites and rated among the top anti-spam solutions for WordPress in 2026. No CAPTCHAs, no puzzles, and no visitor friction — just automatic spam blocking for forms, comments, registrations, subscriptions, and fake orders. Powered by a global spam detection network that includes over 1,078,000 websites and helps stop spam before it reaches your website. Install it in less than 30 seconds and start protecting your site immediately. Superpowers Stops spam comments. Stops spam registrations and logins. Stops spam contact emails. Stops fake orders eCommerce sites and online stores. Antispam for bookings. Antispam subscriptions. Stops spam surveys, polls. Stops spam in WooCommerce. Antispam for Search Form. Real-time email validation. Check if an email is real or fake. Checks and removes the existing spam comments and spam users. Blocking disposable & temporary emails. Block messages by languages, countries, networks and stop words. Public reviews It’s more than just a tool to combat spam; it’s an integral component that enhances the overall quality and performance of your website. techbusinessnews.com.au Improve Your Security WordPress Spam Protection With CleanTalk Anti-Spam The Hacker News. Compare reCAPTCHA & Akismet VS CleanTalk CleanTalk vs Google reRECAPTCHA CleanTalk vs Akismet Free trial then $12 per year CleanTalk is an anti-spam plugin which works with the premium Cloud Anti-Spam service cleantalk.org. This plugin as a service https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/#6-software-as-a-service-is-permitted AntiSpam protection for comments Native spam protection for WordPress, JetPack comments and any other comment plugins. The plugin moves spam comments to SPAM folder or you can set the option to ban spam comments silently. You can also enable the option in the plugin settings to auto-delete comments from SPAM folder. Contact Form 7 Antispam Plugin extends spam protection for Contact Form 7 (CF7). It can be used with any other third-party spam filters. How to protect your Contact Form 7 using CleanTalk Anti-Spam plugin Contact Form by WPForms Antispam Plugin extends Contact Form by WPForms to provide spam protection. It filters spam submissions for each type of forms – simple contact form, marketing form, request a quote and etc. Antispam for WooCommerce & fake orders filter Anti-spam by CleanTalk filters spam registrations, spam reviews, and fake orders for WooCommerce (any eCommerce plugin as well). The plugin is fully compatible with WooCommerce 2.1+ and online stores. Many other great contact, signups and all kind of forms that supported by Anti-Spam plugin by CleanTalk Asgaros Forum Avada Forms AWeber form builder Awesome Support – WordPress HelpDesk & Support Plugin Back In Stock Notifier for WooCommerce | WooCommerce Waitlist Pro bbPress by John James Jacoby Brave Popup Builder – Popup, Optins, Lead Generation, Survey & Interactive Content Brevo – Email, SMS, Web Push, Chat, and more by Brevo Calculated Fields Form Chatway Live Chat – AI Chatbot, Customer Support, FAQ & Helpdesk Customer Service & Chat Buttons Contact Form Clean and Simple Contact Form by BestWebSoft – Advanced WP Contact Form Builder for WordPress Contact Form Plugin by Fluent Forms Ninja forms Contact Form by Supsystic Contact Form Email Constant Contact Forms Comments – wpDiscuz By AdvancedCoding Customer Reviews for WooCommerce Floating Chat Widget: Contact Chat Icons, Telegram Chat, Line Messenger, WeChat, Email, SMS, Call Button – Chaty Forminator Forms – Contact Form, Payment Form & Custom Form Builder Easy Digital Downloads – eCommerce Payments and Subscriptions made easy eForm – WordPress Form Builder Elementor – Build, Design & Manage Forms From One Place Elfsight Blocks for Elementor — 80+ Widgets Events Manager – Calendar, Bookings, Tickets, and more! By Marcus (aka @msykes) Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI FiboSearch – Ajax Search for WooCommerce Flamingo Fluentbooking.com Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More Form Maker by 10Web – Mobile-Friendly Drag & Drop Contact Form Builder GeoDirectory – WP Business Directory Plugin and Classified Listings Directory GiveWP – Donation Plugin and Fundraising Platform gravityforms.com – Powerful data capture fueled by Gravity Forms Gwolle Guestbook Happyforms – Form Builder for WordPress: Drag & Drop Contact Forms, Surveys, Payments & Multipurpose Forms HivePress – Business Directory, Listings & Classified Ads Plugin HubSpot All-In-One Marketing – Forms, Popups, Live Chat Hustle – Email Marketing, Lead Generation, Optins, Popups JetFormBuilder — Dynamic Blocks Form Builder Jetpack – WP Security, Backup, Speed, & Growth Jotform – Online Forms — Customizable Payment, Contact, Quiz, Survey Form Builder Kadence Blocks — Page Builder Toolkit for Gutenberg Editor Kali Forms (Free & Pro) — Contact Form & Drag-and-Drop Builder Klaviyo Kulahub Landing Page Builder – Coming Soon page, Maintenance Mode, Lead Page, WordPress Landing Pages Leaky Paywall LearnPress – WordPress LMS Plugin for Create and Sell Online Courses Lead Form Builder & Contact Form By ThemeHunk Login & Register Customizer – Popup | Slider | Inline | WooCommerce MailChimp Forms by MailMunch MailOptin – Popup, Optin Forms & Email Newsletters for Mailchimp, HubSpot, AWeber Etc. My Sticky Elements – All-in-one Sticky Floating Contact Form, Call, Click to Chat, and 50+ Social Icon Tabs MetForm – Contact Form, Survey, Quiz, & Custom Form Builder for Elementor Newsletter – Send awesome emails from WordPress by Stefano Lissa Newsletters by Tribulant Software Newsletters – MC4WP: Mailchimp for WordPress NEX-Forms – Ultimate Forms Plugin for WordPress by Basix Nextend Social Login and Register by Nextendweb Ninja forms by Kevin Stover Piotnet by piotnet.com Product Enquiry for WooCommerce (Now with AI Assistant) By WisdmLabs Quform by quform.com QuickCal by quickcal.co RegistrationMagic – Custom Registration Forms, User Registration, Payment, and User Login By Metagauss Simple Registration for WooCommerce By Astoundify Smart Forms – when you need more than just a contact form By EDGARROJAS Strong Testimonials By WP Chill SureForms – Drag & Drop Contact Form & Form Builder, Payment Form, Survey, Quiz & Calculator By Brainstorm Force User Registration & Membership – Free & Paid Memberships, Subscriptions, Content Restriction, User Profile, Custom User Registration & Login Builder By wpeverest Visual Form Builder By Matthew Muro WP Booking System – Booking Calendar By Roland Murg User Frontend: AI Powered Frontend Posting, User Directory, Profile, Membership & User Registration By weDevs WS Form LITE – Drag & Drop Contact Form Builder By Mark Westguard Wufoo Shortcode By wronganswersonly WP User Frontend, UserPro WordPress Landing Pages ZeroBounce Email Verification & Validation By zerobounce Zoho Forms – Drag & Drop Form Builder for Websites – Contact Forms, Payment Forms, Order Forms & More By Zoho Forms Protection for the forms above works as a built-in feature of Anti-Spam by CleanTalk without requiring any additional actions from the user. Check existing comments for spam. Bulk spam comments removal. Spam comment Cleaner With the help of anti-spam by CleanTalk you can inspect through existing comments to find and quickly delete spam comments at once. To use this function, go to WP Console -> Comments -> Find spam comments. Check existing users for spam. Bulk spam accounts removal. Spam users cleaner With the help of anti-spam by CleanTalk you can inspect through existing accounts to find and quickly delete spam users at once. For use this function, go to WP Console -> Users -> Check for spam. Also, you can export a list of spam users to the CSV. Private black lists for anti-spam service Automatically block comments and registrations from your private black IP/email address list. Hide «Website» field for comments This option hides the «Website» field from standard WordPress comments forms. After that spammers won’t be able to send spam links using «Website» field in the bottom of the comments form. Low false/positive rate This plugin uses multiple anti-spam tests to filter spam bots having as low false/positive rate as possible. Spam FireWall Spam FireWall allows blocking the most active spam bots before they get access to your website. It prevents spam bots from loading website pages so your web server doesn’t have to perform all scripts on these pages. Also it prevents scanning of pages of the website by spam bots. Therefore Spam FireWall significantly reduces the load on your web server. Spam FireWall also makes CleanTalk the two-step protection from spam bots. Spam FireWall is the first step and it blocks the most active spam bots. CleanTalk Anti-Spam is the second step and checks all other requests on the website in the moment of submitting comments/registers etc. How does it work? The visitor enters to your web site. HTTP request data are being checked in the nearly 5.8 million of the identified spam bot IPs. If it is an active spam bot, the bot gets a blank page, if it is a visitor then he receives a normal page. This process is completely transparent for the visitors. All the CleanTalk Spam FireWall activity is being logged in the process of filtering. Spam FireWall: Anti-Flood & Anti-Crawler Spam FireWall: Anti-Flood and Anti-Crawler options are intended for blocking unwanted bots, content parsing, shop goods prices parsing or aggressive website scanning bots. Learn more https://cleantalk.org/help/anti-flood-and-anti-crawler By default, well-known good bots — including AI crawlers such as GPTBot (ChatGPT), ClaudeBot (Claude), Google-Extended (Gemini), and Copilot — are allowed. You can choose which of these bots to block individually in your private lists. Blocking a bot will stop the corresponding AI service from accessing your content. How to protect sites from spam bots without CAPTCHA? CleanTalk Anti-Spam protects websites from spam bots without using traditional CAPTCHA, reCAPTCHA, or other visitor challenges. Instead of showing CAPTCHA puzzles, the service uses behavioral analysis, invisible JavaScript tests, and a global spam database to detect spam automatically in the background. This CAPTCHA-free anti-spam protection works for contact forms, comments, registrations, and WooCommerce checkouts without creating friction for real visitors. By replacing CAPTCHA with automated spam detection, CleanTalk helps improve usability, accessibility, and conversion rates while still blocking spam effectively. Sometimes CAPTCHA reminds us of the doodles of a two year old child. For users with vision problems CAPTCHA is an insurmountable obstacle. Users hate captcha. Captcha for users means “hate”. Unreadable CAPTCHA stops about 80% of site visitors. After 2 failed attempts to decipher CAPTCHA 95% of visitors reject further attempts. At the sight of CAPTCHA and after input errors, many visitors leave the resource. Thus, CAPTCHA helps to protect the resource spam both from bots and visitors. CAPTCHA is not a panacea from spam. Doubts concerning the Need for CAPTCHA? “Ultimately, CAPTCHAs are useless for spam because they’re designed to tell you if someone is ‘human’ or not, but not whether something is spam or not.” Matt Mullenweg Real-time email validation. Is email real or Not. It is very important to be sure that the user used his real email address. Spambots very often use fake email addresses, i.e. which addresses do not exist. CleanTalk will check email addresses for existence in real time. Non-existing email addresses also entail several other problems for website owners. You can never contact them by email, the client will never receive any notifications from you (account activation letter, password recovery, email distribution, notifications, etc.), if you use email marketing for your clients, then a large number of nonexistent emails in the mailing list may result in your IP address being added to various blacklists of email servers. Improve your email list with email validation without fake emails. Blocking disposable & temporary emails Block fake and suspicious users with disposable & temporary emails to improve email delivery. So, it also prevents malicious activity, spam bots, and internet trolls. Stops Spam in Search Form Spam bots can use your search form to make a GET request with spam text. CleanTalk Anti-Spam has the option to protect your website search form from spam bots. Each time, the search generates a new page and if there are many requests, this can create additional load. So, under some conditions, spam searches can be indexed, which affects SEO, Anti-Spam protection for website search forms repels spam bots. If your search form gets data too often the CleanTalk Anti-Spam plugin will add a pause and increase it with each new attempt to send data. It saves your web server processor time. Spam protection allows you to not forbid indexation for the crawler bots if you really need it but simultaneously you will get protection from spam bots. You will always know what users were looking for on your site. Disable comments This option disables comments on your site. You can choose one or several options: Disable comments for posts Disable comments for pages Disable comments for media When using Disables comments, existing comments will not be deleted and will remain on the pages. Email, Phones Address Encoder CleanTalk Anti-Spam offers a feature called “Encode contact data” that is designed to encode all email addresses on the website pages. Encoding email, phontes addresses increases the level of protection of contact data from being abused, parsed, getting spammed and used in spam mailing lists by bots and online criminals. To reveal the encoded email address simply click on it and it will be decoded instantly. Honeypot field The option helps to block bots. The honeypot field option adds a hidden field to the form. When spambots come to a website form, they can fill out each input field. Enable this option to make the protection stronger on these forms. Learn more about supported forms here.