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

Plugin: cf7-antispam (Used by 3,769 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
l*d*s*a*p*v*i*.com (WP 7.0) βœ… F 2026-05-29 01:56:21
h*r*c*v*k*o*l*g*.nl (WP 7.0) βœ… F 2026-05-29 01:55:48
g*a*d*a*i*s*o*l*a*l*m*v*r*.com βœ… C 2026-05-29 01:28:12
v*n*l*n*p*o*t*b*e*e*a*r.com βœ… C 2026-05-29 01:20:45
g*a*d*r*s*r*e.com βœ… F 2026-05-29 01:16:04
p*e*r*j*i*l*r*.com (WP 7.0) βœ… F 2026-05-29 01:11:31
7*e*n*y*i*e.de (WP 6.9.4) βœ… F 2026-05-29 01:00:06
i*t*g*a*e*t*u*k*n*s*l*t*o*s.com βœ… F 2026-05-29 00:47:16
g*a*d*u*c*i*n*o*l*a*l*m*v*r*.com βœ… C 2026-05-28 23:55:32
s*u*.cz (WP 6.9.4) βœ… F 2026-05-28 23:51:03
i*t*g*a*g*u*.com βœ… F 2026-05-28 23:48:47
j*b*r*b*t*r.com βœ… F 2026-05-28 23:47:22
c*c*o*m*n*e*a*t*l*.com (WP 6.9) βœ… F 2026-05-28 23:39:53
i*t*g*a*s*i.com βœ… F 2026-05-28 23:18:47
g*a*d*o*k*p*o*t*b*e*o*e*s.com βœ… C 2026-05-28 23:13:27
c*c*r*n*s*u*a*e*.com (WP 6.9.4) βœ… F 2026-05-28 23:06:44
p*e*m*n*b*r*e*s.com βœ… F 2026-05-28 23:06:29
m*c*m*n*c*c*o*.com (WP 6.6.5) βœ… F 2026-05-28 22:59:55
g*a*d*-*t*b*s*i.com (WP 7.0) βœ… F 2026-05-28 22:27:32
g*a*d*e*t*a*s*i*e*.com βœ… F 2026-05-28 22:12:40
v*n*e*.f*r*n*o*n*e.fr (WP 6.5.8) βœ… F 2026-05-28 22:10:27
a*h*v*l*e*o*l*a*l*s*r*i*e.com βœ… C 2026-05-28 21:40:11
a*h*v*l*e*o*l*a*l*r*p*i*.com βœ… C 2026-05-28 21:40:11
a*h*v*l*e*o*l*a*l*m*v*r*.com βœ… C 2026-05-28 21:40:11
w*p*t*a*s*e*.w*e*g*n*p*w*r*d.com βœ… F 2026-05-28 21:31:35
a*h*v*l*e*i*l*a*d*o*e*s.com βœ… D 2026-05-28 21:31:21
c*a*i*u.com (WP 7.0) βœ… F 2026-05-28 21:21:02
c*a*i*e*a*e*r*e*t*.com (WP 7.0) βœ… F 2026-05-28 21:13:44
c*a*r*l*s*r*s*s.com (WP 7.0) βœ… F 2026-05-28 20:50:05
c*l*o*t*r*e*a*t*o*.fr (WP 6.8.5) βœ… F 2026-05-28 19:54:16
b*a*d*r*t*e*s.studio βœ… B 2026-05-28 19:51:03
p*u*p*l.ai (WP 6.9.4) βœ… C 2026-05-28 19:10:41
c*i*a*o*o*l*a*l*m*v*r*.net βœ… D 2026-05-28 19:04:15
s*n*f*r*h*l*.o*g.uk βœ… F 2026-05-28 18:49:05
a*.d*p*o.c*.uk βœ… F 2026-05-28 18:49:05
d*p*o.c*.uk βœ… F 2026-05-28 18:49:05
p*a*o*a*.com (WP 7.0) βœ… F 2026-05-28 18:25:46
f*s*e*s*o*l*a*l*r*p*i*.com βœ… C 2026-05-28 18:11:28
d*l*u*a*c*u*t*n*s.nl βœ… F 2026-05-28 17:53:51
l*b*a*o*.com βœ… D 2026-05-28 17:26:41
n*o*e*.com (WP 7.0) βœ… D 2026-05-28 17:06:31
s*e*p.de βœ… C 2026-05-28 16:56:38
d*c*o*4*.vn (WP 5.7.2) ⚠️ F 2026-05-28 16:29:39
a*e*n*u*t*i*s.com βœ… D 2026-05-28 16:10:44
j*d*1.com (WP 7.0) βœ… F 2026-05-28 16:08:23
l*b*u*i*u*d*l*s*e*a*.com (WP 6.9.4) βœ… F 2026-05-28 16:06:51
r*a*v*r*e*r*s*i*h*r*n*.com (WP 6.9.4) βœ… F 2026-05-28 15:50:52
r*a*v*r*e*r.com (WP 6.9.4) βœ… F 2026-05-28 15:50:52
r*a*s*h*l*n*s*e*t*u*.com (WP 6.9.4) βœ… F 2026-05-28 15:50:52
r*a*b*u*t*l*e*s*c*e*u*g.com (WP 6.9.4) βœ… F 2026-05-28 15:50:52
r*a*a*s*i*d*n*.com (WP 6.9.4) βœ… F 2026-05-28 15:50:52
p*r*g*a.i*s.org βœ… F 2026-05-28 15:02:58
g*a*e*o*b*e*d*n*.com (WP 7.0) βœ… F 2026-05-28 14:32:23
p*r*e*t*a*t*e*.cz (WP 6.7.2) βœ… F 2026-05-28 14:29:19
p*-*u*n*h*n.com (WP 6.9.4) βœ… C 2026-05-28 14:26:37
n*h*t*i*n*v.com (WP 7.0) βœ… F 2026-05-28 14:18:49
c*l*-*a*r.com (WP 7.0) βœ… F 2026-05-28 13:46:11
w*l*e*n*s*v*s*o*.no (WP 7.0) βœ… F 2026-05-28 13:42:12
m*s*.ca βœ… F 2026-05-28 12:59:13
t*e*p*a*t*p*a*e.com βœ… C 2026-05-28 12:50:00
s*p*u*p*o*t*b*e*o*e*s.com βœ… C 2026-05-28 12:48:18
v*l*1*0*.com (WP 7.0) βœ… F 2026-05-28 12:37:00
j*r*i*o*d*l.com (WP 7.0) βœ… F 2026-05-28 12:17:28
s*u*i*m*i*-*s*a*l.de βœ… F 2026-05-28 11:57:37
a*b*4*.com βœ… F 2026-05-28 11:57:08
p*t*e*t*c*n*u*t*n*-*n*e*n*t*o*a*.de βœ… B 2026-05-28 11:45:44
g*b*i*l*k*s*e*.de βœ… B 2026-05-28 11:45:43
p*y*h*d*a*a*u*h*e*k*e*n.de βœ… B 2026-05-28 11:45:43
c*s*e*l*r*f*.de βœ… B 2026-05-28 11:45:43
m*r*-*i*e*a.de βœ… B 2026-05-28 11:45:42
g*b*u*d*r*c*b*e*z*s*i*t.de βœ… B 2026-05-28 11:45:42
w*n*e*n*r*d*a*r*n*r*e*n*e*f*.de βœ… B 2026-05-28 11:45:42
c*a*h*n*-*f*.de βœ… B 2026-05-28 11:45:42
b*c*.o*g.cn (WP 6.4.3) ⚠️ F 2026-05-28 11:36:38
j*b*.f*t*.co βœ… C 2026-05-28 11:24:40
c*n*u*t*n*.f*t*.co βœ… F 2026-05-28 11:24:40
r*5*0*w*l*h*r*.com (WP 7.0) βœ… F 2026-05-28 10:51:53
c*l*o*i*a.com (WP 6.7) βœ… F 2026-05-28 10:19:02
i*s*i*i*t*w*r.com βœ… D 2026-05-28 09:55:50
l*g*c*r*.bg βœ… F 2026-05-28 09:44:04
s*a*p*d*g*t*l*f*r*a*a.it (WP 6.8.5) βœ… F 2026-05-28 09:31:01
s*o*i*s*n*p*a*e.com (WP 6.4.8) ⚠️ F 2026-05-28 08:30:35
m*f*u*h.com (WP 7.0) βœ… F 2026-05-28 08:20:15
f*r*s*o*e*o*w*l*.com (WP 7.0) βœ… F 2026-05-28 08:08:57
d*e*j*i*r*o*i*a*k*.com βœ… F 2026-05-28 07:57:17
l*-*e*t*e.com (WP 7.0) βœ… F 2026-05-28 07:49:02
s*a*n*a*r*e*t*r.es (WP 7.0) βœ… F 2026-05-28 07:48:58
l*-*a*r*q*e*d*-*a*i*l*.com (WP 6.9.4) βœ… A 2026-05-28 07:32:42
a*a*u*l*.com (WP 7.0) βœ… F 2026-05-28 07:22:10
f*r*m*n*o*e*s.com βœ… C 2026-05-28 07:06:47
f*r*m*n*m*v*r*.com βœ… C 2026-05-28 07:06:47
f*r*m*n*o*e*s.com βœ… C 2026-05-28 07:02:41
p*o*o*e*t*r*t*o*r*t*u*h*n*.com (WP 6.7.1) βœ… F 2026-05-28 07:01:18
s*w.l*i.t*m*o*a*y.site (WP 7.0) βœ… F 2026-05-28 06:52:29
g*y*d*s*e*.ru (WP 7.0) βœ… F 2026-05-28 06:52:14
l*c*u*c*u*-*t*t*g*r*.de βœ… B 2026-05-28 06:47:45
w*l*a*-*e*t*u*a*t.de (WP 6.9.4) βœ… F 2026-05-28 06:30:02
s*a*k*-*t*e*k*h*n.de (WP 6.9.4) βœ… F 2026-05-28 06:13:05
v*p*s*i*t*n*.de (WP 6.9.4) βœ… F 2026-05-28 06:08:30
p*t*t*d*t*u*n*m*n*s.fr βœ… C 2026-05-28 06:05:41

Top 50 Plugins

Plugin Count
elementor 1,834,974
contact-form-7 1,805,395
elementor-pro 1,069,674
woocommerce 831,175
revslider 628,526
jetpack 473,249
js_composer 440,228
wp-rocket 341,005
essential-addons-for-elementor-lite 300,145
gravityforms 270,579
complianz-gdpr 262,997
cookie-law-info 236,572
instagram-feed 232,313
google-site-kit 226,154
sitepress-multilingual-cms 225,560
google-analytics-for-wordpress 217,459
header-footer-elementor 213,861
elementskit-lite 211,389
bluehost-wordpress-plugin 191,844
gutenberg 164,589
gutenberg-core 162,474
cookie-notice 155,603
litespeed-cache 135,239
the-events-calendar 134,880
wpforms-lite 131,470
gtranslate 130,461
astra-sites 121,039
popup-maker 118,166
woocommerce-payments 114,462
tablepress 112,366
coblocks 101,429
honeypot 99,514
astra-addon 96,982
duracelltomi-google-tag-manager 95,600
wp-smushit 95,268
all-in-one-seo-pack 94,836
LayerSlider 93,178
bb-plugin 91,997
megamenu 88,536
premium-addons-for-elementor 88,535
akismet 87,226
mailchimp-for-wp 85,188
cleantalk-spam-protect 85,035
woocommerce-gateway-stripe 84,457
ml-slider 82,764
borlabs-cookie 81,569
fusion-builder 81,119
wp-pagenavi 80,609
ewww-image-optimizer 80,505
formidable 79,254

Top 50 Themes

Theme Count
hello-elementor 627,686
Divi 519,455
astra 431,031
flatsome 140,279
Avada 126,551
generatepress 124,831
pub 111,883
oceanwp 85,062
kadence 80,297
enfold 73,148
salient 67,774
twentytwentyfour 59,833
h4 57,433
twentyseventeen 57,275
bb-theme 55,987
betheme 52,878
cocoon-master 52,403
blocksy 51,939
dt-the7 47,031
twentytwentyfive 44,923
neve 40,199
Avada-Child-Theme 38,272
sydney 37,893
woodmart 33,918
gox 33,881
bridge 33,424
twentytwentyone 32,668
lightning 31,833
twentytwenty 30,617
swell 28,847
Impreza 27,049
bricks 26,563
twentytwentythree 24,358
Newspaper 24,061
voxel 23,714
kubio 20,713
sinatra 20,411
twentytwentytwo 20,219
uncode 19,485
epik-redesign 19,279
twentysixteen 18,605
storefront 18,237
pro 18,053
Total 14,987
extendable 14,808
yith-wonder 14,114
hello-theme-child-master 13,652
themify-ultra 13,248
yootheme 13,220
hestia 13,119