WordPress OSINT, maintenance or security needs? Reach out!
TLDWP

Plugin: cf7-antispam (Used by 3,788 domains)

AntiSpam for Contact Form 7

πŸ‘€ Erik πŸ“¦ v0.7.5

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 (aka 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
βœ… 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

Inspirations, links

DomainExposuresHeadersLast Checked
s*u*i*r*e*a*i*.com βœ… F 2026-05-17 08:11:56
a*e*i*a*g*y*u*e*m.com βœ… A 2026-05-17 07:43:55
z*y*n*p*r*s.com (WP 6.8.3) βœ… F 2026-05-17 07:32:22
c*c*a*e*-*o*e*s.com (WP 6.9.4) βœ… F 2026-05-17 07:19:47
i*m*t*s*.de (WP 6.9.4) βœ… F 2026-05-17 07:04:14
b*u*o*h*.de (WP 6.8.2) βœ… F 2026-05-17 06:28:22
h*a*c*m*d*c*l*o*u*i*n*.com (WP 6.9.4) βœ… F 2026-05-17 06:26:48
h*a*c*m*c*e*t*v*.com βœ… F 2026-05-17 06:21:43
d*g*t*l*r*a*.c*m.au βœ… F 2026-05-17 05:44:25
k*r*w*a*l*n*.com βœ… F 2026-05-17 05:06:59
z*o*s*i*l*b*l*i*r*t*b*e*o*e*s.com βœ… C 2026-05-17 04:55:06
t*a*i*i*.com (WP 6.9.4) βœ… F 2026-05-17 04:35:21
t*a*e*i*h*a*.com (WP 6.9.4) βœ… F 2026-05-17 04:05:37
e*q*e.com (WP 6.9.4) βœ… F 2026-05-17 03:45:10
q*i*k*a*e.ch βœ… F 2026-05-17 03:15:00
r*a*i*g*o*l*a*l*r*p*i*.com βœ… C 2026-05-17 02:25:15
r*a*i*g*o*l*a*l*m*v*r*.com βœ… C 2026-05-17 02:25:15
h*s*i*g.w*s*o.it βœ… D 2026-05-17 02:08:30
d*a*r*j*n*e*p*i*e*.com (WP 6.9.4) βœ… F 2026-05-17 02:02:20
t*a*e*n*i*c.com (WP 6.9.4) βœ… F 2026-05-17 02:01:12
e*p*r*e*z*d*c*o*o.com (WP 6.9.4) βœ… F 2026-05-17 01:25:16
n*v*p*o*t*b*e*e*a*r.com βœ… C 2026-05-17 01:23:03
o*a*f*v*r*t*s.com βœ… F 2026-05-17 00:34:25
c*p*a*e*k.be (WP 6.8.1) βœ… F 2026-05-17 00:21:00
e*p*i*e*a*g*.com (WP 6.9.4) βœ… F 2026-05-17 00:10:34
y*u*g*u*b*n*.melbourne (WP 6.7.5) βœ… F 2026-05-17 00:00:48
t*a*a*r*n*m*s*i*n*a*t*.com (WP 6.9.4) βœ… D 2026-05-16 23:38:21
m*r*b*o*k*m*.com (WP 6.9.4) βœ… F 2026-05-16 23:35:43
x*-*p*r*a*e*v*t*h*m*e*-*t*.com βœ… D 2026-05-16 22:49:41
h*z*a*c*n*i*e.com (WP 6.9.4) βœ… F 2026-05-16 22:28:30
e*p*c*b*e*e*r*o*e*o*.com (WP 6.9.4) βœ… F 2026-05-16 22:19:26
e*p*c*-*s*u*a*c*.com (WP 6.9.4) βœ… F 2026-05-16 22:08:54
d*s*g*b*t*l*s.com (WP 6.9.4) βœ… F 2026-05-16 21:50:25
s*a*l*u*m*g*t*b*s*n*s*.com βœ… D 2026-05-16 21:50:08
j*l*p*y.com (WP 6.9.4) βœ… F 2026-05-16 20:58:16
s*a*t*r*n*.no (WP 6.9.4) βœ… F 2026-05-16 20:35:26
p*r*e*t*o*s.cz (WP 6.7.2) βœ… F 2026-05-16 20:25:38
s*a*r.com (WP 6.1.10) ⚠️ πŸ”“ F 2026-05-16 20:06:19
s*a*b*.com (WP 6.1.10) ⚠️ F 2026-05-16 19:58:29
d*n*i*t*l*u*l*a*a.com (WP 6.9.4) βœ… D 2026-05-16 19:22:11
o*i*i*j*r*d*o*k*r*.com βœ… F 2026-05-16 18:41:14
o*i*h*i*r*s*o*a*i*n.com βœ… D 2026-05-16 18:37:54
c*s*o*s*r.com (WP 6.9.4) βœ… C 2026-05-16 18:13:06
p*a*r*e*i*h*u*.com (WP 6.9.4) βœ… F 2026-05-16 17:08:07
s*o*e*o*k*r*y*r*f*r*.com (WP 6.9.4) βœ… F 2026-05-16 16:44:23
f*c*o*y*n*c*.k*n*t*.cloud (WP 6.9.4) βœ… F 2026-05-16 16:20:10
s*o*s*a*.com (WP 6.9.4) βœ… A 2026-05-16 15:46:23
p*y*d*-*o*e.f*r*n*o*n*e.fr (WP 6.5.8) βœ… F 2026-05-16 15:32:03
a*v*r*n*-*h*n*-*l*e*.f*r*n*o*n*e.fr (WP 6.5.8) βœ… F 2026-05-16 15:32:03
c*r*e*e.f*r*n*o*n*e.fr (WP 6.5.8) βœ… F 2026-05-16 15:23:48
h*v*r*i*l*o*l*a*l*r*p*i*.com βœ… C 2026-05-16 15:02:21
z*p*e*i*-*v*n*s.com (WP 6.9.4) βœ… A 2026-05-16 14:59:40
t*y*o*a*p*o*u*t*.com (WP 6.9.4) βœ… F 2026-05-16 14:55:57
c*s*o*b*a*t*m*d*t*d*o.com (WP 6.9.1) πŸ”“ F 2026-05-16 14:46:28
o*d*n*o*l*a*l*m*v*r*.com βœ… D 2026-05-16 13:51:00
j*k*n*c.com (WP 6.8.5) βœ… F 2026-05-16 13:30:59
b*s*s*f*r*s.com (WP 6.9.4) βœ… F 2026-05-16 12:42:51
k*t*a*h*o*n*k.com (WP 6.9.4) βœ… D 2026-05-16 12:41:42
t*w*o*t*y*h*e*a*.com βœ… F 2026-05-16 12:21:44
r*y*o*d*o*l*a*l*m*v*r*.com βœ… C 2026-05-16 12:12:53
c*e*f*0*.fr (WP 6.9.4) βœ… F 2026-05-16 11:52:30
a*o*b*.com (WP 6.9.1) βœ… F 2026-05-16 11:50:17
t*x*r*a*a*o*l*a*l*m*v*r*.com βœ… C 2026-05-16 11:45:54
k*t*i*-*o*t*r*a.com βœ… F 2026-05-16 11:07:50
t*u*u*a*h*n.com βœ… A 2026-05-16 10:57:00
b*o*r*e*t*a*k*t.com (WP 6.9.4) βœ… F 2026-05-16 10:52:03
j*d*r*g*r*.com βœ… F 2026-05-16 10:42:29
e*c*m*s.com (WP 6.8.5) βœ… F 2026-05-16 10:31:27
r*a*h*u*.agency βœ… F 2026-05-16 10:22:52
s*i*l*a*h*r*a*k*t*.com (WP 6.9.4) βœ… F 2026-05-16 10:18:14
e*c*r*a*.com (WP 6.9.4) βœ… F 2026-05-16 10:11:59
b*o*m*n*t*n*o*l*a*l*m*v*r*.com βœ… D 2026-05-16 09:46:47
e*c*p*r*o*a*p*d*a.com (WP 6.9.4) βœ… F 2026-05-16 09:42:49
d*t*s*n*.ai (WP 6.8.3) βœ… F 2026-05-16 09:17:05
s*i*k*i*i*.com (WP 6.9.4) βœ… F 2026-05-16 08:53:57
t*s*s*e*e*t*.com βœ… B 2026-05-16 08:49:07
a*i*s*i*h*.com βœ… F 2026-05-16 08:37:52
a*i*h*o*a*.com βœ… F 2026-05-16 08:37:50
a*i*g*r*s*.com βœ… F 2026-05-16 08:33:57
a*i*d*n*.com βœ… F 2026-05-16 08:33:56
a*i*c*b*.com βœ… F 2026-05-16 08:33:56
a*i*c*g*r*.com βœ… F 2026-05-16 08:33:56
a*i*c*g*r.com βœ… F 2026-05-16 08:33:56
a*i*b*r*e*s.com βœ… F 2026-05-16 08:33:55
a*i*b*r*e*.com βœ… F 2026-05-16 08:33:55
a*h*l*i*l*n*h*t*l.com βœ… F 2026-05-16 07:47:50
m*r*u*t*r*e*e*v*l*.com βœ… D 2026-05-16 06:57:28
g*u*e*e*f*a*c*.fr (WP 6.7.5) βœ… F 2026-05-16 06:48:46
z*b*a*n*v*r.de βœ… D 2026-05-16 06:44:26
s*l*.cz (WP 6.9.4) βœ… A 2026-05-16 06:28:03
x*-*b*t*n*r*e*s*h*u*h*-*t*5*a.com (WP 6.9.4) βœ… F 2026-05-16 06:07:22
t*u*d*l*g*.com βœ… F 2026-05-16 04:50:45
a*e*r*m*.com (WP 6.9.4) βœ… F 2026-05-16 04:38:55
s*a*k*i*e*e*e*n*b*r*i*.org (WP 6.9.4) βœ… F 2026-05-16 03:58:18
s*i*e*s*i*i*u*l*t*.fr (WP 6.3.2) ⚠️ F 2026-05-16 01:22:49
b*o*a*i*a*e.com βœ… F 2026-05-16 00:42:14
t*r*e*a*t*p*o*t*b*e*o*e*s.com βœ… C 2026-05-16 00:34:12
j*l*p*.com βœ… D 2026-05-16 00:28:08
r*l*u*c*t*o.s*h*b*r*4.com βœ… D 2026-05-16 00:17:26
c*m*e*l*n*p*o*t*b*e*e*a*r.com βœ… C 2026-05-16 00:04:22

Top 50 Plugins

Plugin Count
elementor 1,845,026
contact-form-7 1,814,379
elementor-pro 1,074,639
woocommerce 834,328
revslider 631,057
jetpack 474,701
js_composer 442,043
wp-rocket 343,148
essential-addons-for-elementor-lite 303,315
gravityforms 291,645
complianz-gdpr 264,632
cookie-law-info 238,008
instagram-feed 233,160
google-site-kit 227,086
sitepress-multilingual-cms 226,612
google-analytics-for-wordpress 218,275
header-footer-elementor 214,731
elementskit-lite 214,055
bluehost-wordpress-plugin 191,979
gutenberg 165,128
gutenberg-core 163,247
cookie-notice 156,862
litespeed-cache 137,160
the-events-calendar 135,646
wpforms-lite 131,895
gtranslate 131,059
astra-sites 121,430
popup-maker 118,674
woocommerce-payments 114,788
tablepress 113,253
coblocks 101,881
honeypot 100,128
astra-addon 97,326
duracelltomi-google-tag-manager 96,036
wp-smushit 95,656
all-in-one-seo-pack 95,213
LayerSlider 93,578
bb-plugin 92,205
megamenu 89,033
premium-addons-for-elementor 88,891
akismet 87,453
mailchimp-for-wp 85,480
cleantalk-spam-protect 85,280
woocommerce-gateway-stripe 84,759
ml-slider 83,225
borlabs-cookie 82,106
fusion-builder 81,492
wp-pagenavi 81,138
ewww-image-optimizer 80,807
smart-slider-3 79,595

Top 50 Themes

Theme Count
hello-elementor 631,095
Divi 521,797
astra 432,703
flatsome 142,108
Avada 127,084
generatepress 125,483
pub 112,409
oceanwp 85,449
kadence 80,767
twentytwentyfour 80,280
enfold 73,503
salient 68,110
h4 57,690
twentyseventeen 57,578
bb-theme 56,107
betheme 53,173
cocoon-master 52,483
blocksy 52,231
dt-the7 47,224
twentytwentyfive 45,213
sydney 42,519
neve 40,452
Avada-Child-Theme 38,420
woodmart 34,046
gox 34,021
bridge 33,548
twentytwentyone 32,826
lightning 31,937
twentytwenty 30,760
swell 28,919
Impreza 27,210
bricks 26,663
voxel 25,694
twentytwentythree 24,488
Newspaper 24,266
sinatra 22,661
kubio 21,620
twentytwentytwo 20,266
uncode 19,571
epik-redesign 19,281
twentysixteen 18,733
storefront 18,307
pro 18,094
Total 15,054
extendable 14,875
yith-wonder 14,120
hello-theme-child-master 13,717
themify-ultra 13,308
yootheme 13,284
hestia 13,196