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

Plugin: cf7-antispam (Used by 3,088 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
a*r*s*a*i*t*a*n*.backme.org βœ… C 2026-04-28 01:02:05
i*l*m*b*e*v*t*r*u*.backme.org βœ… C 2026-04-28 01:02:05
e*r*u*a*.backme.org βœ… C 2026-04-28 01:02:05
k*o*k*n*u*d*r*2.backme.org βœ… C 2026-04-28 01:02:05
r*d*e*p*a*t.backme.org βœ… C 2026-04-28 01:02:05
m*x*9*9.backme.org βœ… C 2026-04-28 01:02:05
l*f*l*s*r.backme.org βœ… C 2026-04-28 01:02:05
l*b*u*i*u*d*l*s*e*a*.com (WP 6.9.4) βœ… F 2026-04-28 00:59:03
s*e*p.de βœ… C 2026-04-28 00:47:06
a*s*i*p*o*t*b*e*e*a*r.com βœ… C 2026-04-28 00:39:03
d*c*o*4*.vn (WP 5.7.2) ⚠️ F 2026-04-28 00:17:34
p*y*-*e*l*-*o*r*.ffrandonnee.fr (WP 6.5.8) βœ… F 2026-04-28 00:16:37
a*p*s*m*r*t*m*s.ffrandonnee.fr (WP 6.5.8) βœ… F 2026-04-28 00:16:37
p*c*.ffrandonnee.fr (WP 6.5.8) βœ… F 2026-04-28 00:16:37
a*k*n*s.eu βœ… B 2026-04-27 23:29:28
b*z*r*i*h*n*a*h.de (WP 6.4.8) ⚠️ F 2026-04-27 22:39:11
v*c*n*a.ils.org βœ… F 2026-04-27 22:31:51
b*l*e*a*b*.nl (WP 6.9.4) βœ… F 2026-04-27 22:31:03
s*r*e*b*i*.backme.org βœ… C 2026-04-27 22:25:41
p*r*e*t*a*t*e*.cz (WP 6.7.2) βœ… F 2026-04-27 22:17:52
b*g*a*e*l*b*e*o*t.com βœ… C 2026-04-27 22:12:31
b*g*a*e*l*b*i*i*i.com βœ… F 2026-04-27 22:12:31
l*b*n*r*.com (WP 6.9.4) βœ… D 2026-04-27 22:01:25
l*b*s*.com (WP 6.9.4) βœ… F 2026-04-27 21:31:08
g*e*n*a*p*o*t*b*e*e*a*r.com βœ… C 2026-04-27 21:11:08
g*e*n*a*p*o*t*b*e*o*e*s.com βœ… D 2026-04-27 21:11:08
v*s*i*l*.de (WP 6.9.4) βœ… F 2026-04-27 21:01:35
s*h*b*r.one βœ… D 2026-04-27 20:50:21
a*r*r*p*o*t*b*e*o*e*s.com βœ… C 2026-04-27 20:45:05
g*e*n*n*a*t.com (WP 6.9.4) βœ… F 2026-04-27 20:40:21
g*e*n*t*r*-*r*t*c*.com βœ… C 2026-04-27 20:17:22
p*o*a*d*l.visticle.de (WP 6.7.1) βœ… F 2026-04-27 20:13:41
f*o*s*l*t*o*s.plasson.com βœ… C 2026-04-27 20:06:21
p*a*s*n.ru βœ… C 2026-04-27 20:06:21
p*a*s*n*p*a*.com.br βœ… C 2026-04-27 20:06:21
p*a*s*n.co.uk βœ… C 2026-04-27 20:06:21
c*m*r*i*l.clarin.com (WP 6.9.4) βœ… D 2026-04-27 19:45:35
g*e*l*y*o*l*a*l*r*p*i*.com βœ… C 2026-04-27 19:40:23
f*o*b*a*i*e.com βœ… D 2026-04-27 19:25:41
t*e*e*i*g*.com (WP 6.9.4) βœ… F 2026-04-27 19:08:22
v*d*o*e*s*n*e*.com βœ… F 2026-04-27 18:54:06
c*r*b*t*.fr (WP 6.9.1) βœ… F 2026-04-27 18:44:53
d*n*a*o*f*c*m*.wpenginepowered.com βœ… D 2026-04-27 18:16:14
a*r*a*c*n*u*t*n*.com (WP 6.9.4) βœ… F 2026-04-27 18:06:52
i*n*e*i*.com βœ… F 2026-04-27 17:51:25
b*h*d.cc (WP 6.9.4) βœ… F 2026-04-27 17:42:28
l*-*e*t*e.com (WP 6.9.4) βœ… F 2026-04-27 17:20:13
l*-*o*e*-*e*-*i*g*s.com (WP 6.9.4) βœ… F 2026-04-27 17:09:12
l*-*a*r*q*e*d*-*a*i*l*.com (WP 6.9.4) βœ… A 2026-04-27 17:05:12
f*n*a*i*n*a*o*t*e.com (WP 6.8.2) βœ… F 2026-04-27 15:52:29
p*i*a*e*p*i*p*o*t*b*e*e*a*r.com βœ… D 2026-04-27 15:39:27
p*e*i*r*b*z*e*a.com (WP 6.9.4) βœ… F 2026-04-27 15:36:41
d*f*p*i*.com βœ… F 2026-04-27 15:09:49
f*l*a*h.com (WP 6.9.4) βœ… F 2026-04-27 14:54:18
r*d*a*c*n*e*.com (WP 6.8.3) βœ… F 2026-04-27 14:46:58
w*l*a*-*e*t*u*a*t.de (WP 6.9.4) βœ… F 2026-04-27 14:38:37
v*p*s*i*t*n*.de (WP 6.9.4) βœ… F 2026-04-27 14:18:40
m*r*a*.de βœ… F 2026-04-27 13:38:00
a*g*s*a*o*l*a*l*m*v*r*.com βœ… D 2026-04-27 13:11:49
a*g*s*a*c.com (WP 6.8.5) βœ… F 2026-04-27 13:08:19
v*a*e*t*.lt βœ… F 2026-04-27 12:54:11
b*b*i*t*a.com βœ… D 2026-04-27 12:34:53
n*l*e*k*a*g*a*e*c*o*l.com (WP 6.9.4) βœ… F 2026-04-27 11:51:30
m*g*t*-*i*t*e*w*b*i*e*.com βœ… C 2026-04-27 11:43:34
g*a*u*e*m*r*u*g*-*a*e*.com βœ… C 2026-04-27 11:24:15
a*d*t*o*s*t*d*o.com (WP 6.9.4) βœ… F 2026-04-27 10:38:07
s*h*o*s*s*h*l*.at (WP 6.8.3) βœ… F 2026-04-27 10:32:23
f*n*a*i*n*i*i.cl βœ… F 2026-04-27 09:12:02
d*e*j*i*r*o*i*a*k*.com βœ… F 2026-04-27 08:38:38
f*c*l*e*.com (WP 6.9.4) βœ… F 2026-04-27 08:32:30
g*a*s*o*k*l*n*s*a*i*g.com βœ… F 2026-04-27 08:31:11
p*l*s*n*f*s*u*e*l*n*c.com (WP 6.9.4) βœ… F 2026-04-27 07:43:40
n*g*t*u*g*o*a*.com (WP 6.9.4) βœ… F 2026-04-27 07:09:32
b*p*o*e*.com (WP 5.6.17) ⚠️ F 2026-04-27 07:04:43
m*r*a*n.ru (WP 6.8.5) βœ… F 2026-04-27 06:57:56
l*w*v*r*a*.de βœ… F 2026-04-27 06:50:45
q*e*r*o*i*.nl βœ… F 2026-04-27 06:40:33
b*n*o*e*e*l*h*a*e.com (WP 6.9.4) βœ… F 2026-04-27 06:29:20
b*z*s*a*i*s*i*t*r*c*n*.pl (WP 6.9.4) βœ… F 2026-04-27 05:44:43
g*a*e*-*o*u*i*n*.com (WP 6.9.4) βœ… F 2026-04-27 05:39:44
a*v*.org.es (WP 6.9.4) βœ… F 2026-04-27 05:35:35
p*y*i*f*r*t*.com (WP 6.9.4) βœ… F 2026-04-27 05:32:47
d*y*y*n*t*s*.com βœ… D 2026-04-27 05:14:58
e*g*p*a*i*-*o*t.de βœ… F 2026-04-27 05:14:40
g*a*t*p*s*p*o*t*b*e*o*e*s.com βœ… C 2026-04-27 05:01:33
m*s*i*n*z*r*c*.ch βœ… F 2026-04-27 04:47:27
s*a*v*n.com (WP 6.9.4) βœ… F 2026-04-27 04:30:47
c*i*e*e*g*i*l.com (WP 6.9.4) βœ… F 2026-04-27 04:09:53
i*c*b*t*u*l*r*a*n.org (WP 6.9.4) βœ… F 2026-04-27 04:04:44
k*1*.com βœ… F 2026-04-27 03:48:39
q*p*y.com (WP 6.9.4) βœ… F 2026-04-27 03:47:25
k*-*4.com βœ… F 2026-04-27 03:42:37
m*d*l*t*w*p*o*t*b*e*o*e*s.com βœ… C 2026-04-27 03:27:39
v*a*e*k*s*i*o*r*.com (WP 6.5.8) βœ… F 2026-04-27 03:23:15
p*l*g*t*e*s*r*a.com (WP 6.9.4) πŸ”“ F 2026-04-27 03:18:05
l*-*a*.ru (WP 6.9.4) βœ… F 2026-04-27 02:43:23
r*a*v*r*e*r*s*i*h*r*n*.com (WP 6.9.4) βœ… F 2026-04-27 02:27:50
r*a*v*r*e*r.com (WP 6.9.4) βœ… F 2026-04-27 02:27:50
r*a*s*h*l*n*s*e*t*u*.com (WP 6.9.4) βœ… F 2026-04-27 02:27:49
r*a*b*u*t*l*e*s*c*e*u*g.com (WP 6.9.4) βœ… F 2026-04-27 02:27:49

Top 50 Plugins

Plugin Count
elementor 2,445,231
contact-form-7 2,220,648
elementor-pro 1,379,303
woocommerce 1,143,781
revslider 827,215
js_composer 544,092
jetpack 487,323
wp-rocket 398,176
essential-addons-for-elementor-lite 370,785
header-footer-elementor 313,894
gutenberg-core 296,525
elementskit-lite 293,768
gravityforms 290,665
instagram-feed 283,026
google-analytics-for-wordpress 279,675
complianz-gdpr 275,213
google-site-kit 272,661
cookie-law-info 268,923
sitepress-multilingual-cms 240,854
bluehost-wordpress-plugin 225,598
wpforms-lite 217,902
astra-sites 210,379
litespeed-cache 192,054
gtranslate 165,117
gutenberg 161,373
cookie-notice 157,748
coblocks 155,492
the-events-calendar 140,489
popup-maker 132,457
astra-addon 120,870
bb-plugin 119,992
premium-addons-for-elementor 119,619
LayerSlider 117,351
mailchimp-for-wp 116,139
wp-smushit 115,765
tablepress 113,804
creame-whatsapp-me 105,288
duracelltomi-google-tag-manager 104,768
woocommerce-gateway-stripe 101,920
cleantalk-spam-protect 101,079
pro-elements 100,842
custom-fonts 100,795
akismet 99,711
click-to-chat-for-whatsapp 98,839
honeypot 98,360
smart-slider-3 96,900
megamenu 96,800
fusion-builder 95,419
pixelyoursite 94,312
formidable 91,967

Top 50 Themes

Theme Count
hello-elementor 791,754
Divi 651,874
astra 638,423
pub 198,997
generatepress 148,539
flatsome 148,049
Avada 145,070
h4 118,235
oceanwp 108,498
kadence 96,892
enfold 84,042
salient 81,017
bb-theme 76,055
twentytwentyfour 74,028
blocksy 70,940
twentytwentyfive 69,005
cocoon-master 68,877
betheme 66,038
twentyseventeen 65,444
dt-the7 54,654
woodmart 52,853
neve 47,768
twentytwentyone 41,438
bridge 40,735
Avada-Child-Theme 38,554
swell 36,756
gox 36,222
twentytwenty 36,033
lightning 35,692
twentytwentythree 33,905
bricks 29,400
Impreza 29,371
Newspaper 26,799
twentytwentytwo 26,445
epik-redesign 23,066
pro 21,916
storefront 21,852
extendable 21,847
uncode 21,553
twentysixteen 21,239
yith-wonder 20,232
sydney 19,913
themify-ultra 18,862
Total 17,795
twentyfifteen 16,937
porto 16,182
hestia 15,701
yootheme 14,811
thrive-theme 14,743
twentynineteen 14,661