Drupal is a registered trademark of Dries Buytaert
Release: Drupal 11.4.5 Update released for Drupal core (11.4.5)! Release: Drupal 10.6.15 Update released for Drupal core (10.6.15)! Release: Superfish Dropdown Menu 8.x-1.15 Minor update available for module superfish (8.x-1.15). Release: Leaflet 10.4.10 Minor update available for module leaflet (10.4.10). Release: Raven: Sentry Integration 7.5.1 Minor update available for module raven (7.5.1). Release: htmLawed 8.x-3.8 Minor update available for module htmlawed (8.x-3.8). Release: Raven: Sentry Integration 7.5.0 Minor update available for module raven (7.5.0). Module Revived: Media Library Form API Element 2.1.5 Module media_library_form_element updated after 10 months of inactivity (2.1.5). Release: Acquia Content Optimization 2.1.0-alpha1 First alpha version released for module conductor (2.1.0-alpha1). Usage Milestone: Manage display Module manage_display crossed 1,000 active installs.

This module provides AI-powered spam protection for Drupal forms, analyzing submissions to block unwanted content. It offers features like IP whitelisting, flood control, and human verification to enhance security.

This module provides AI-powered spam protection for your Drupal forms. It integrates with Drupal's AI framework to analyze form submissions and block spam. It includes features like whitelisting IPs, flood control, and a checkbox for human verification.

Features

  • AI-Powered Spam Detection: Uses an AI model to analyze form submissions for spam.
  • Customizable Protection: Choose which forms to protect or protect all forms.
  • Flood Control: Prevents too many submissions from the same IP.
  • Human Interaction Override: Allows users to confirm if their submission is not spam.
  • Whitelist IPs: Bypass spam protection for trusted IPs.
  • Configurable Error Messages: Customize the message shown when spam is detected.

Use this module to secure your site's forms from spam submissions while reducing false positives with human verification (optional).

Post-Installation

  • Configure Settings: Navigate to /admin/config/system/ai-spam-protection.
  • Select AI Model: Choose a provider/model for spam detection.
  • Set Protection Scope: Decide whether to protect all forms or specific ones.
  • Configure Flood Control: Adjust thresholds to prevent abuse (limit requests to the AI).
  • Whitelist IPs: Add trusted IP addresses to bypass spam checks.
  • Optional Settings: Customize error messages and checkbox labels.

Check form ID patterns to ensure you're protecting the right forms without affecting system forms.

Additional Requirements

  • AI Module: This module requires the AI framework.
  • Supported Providers: Ensure your chosen AI provider supports chat operations.

No external libraries are needed beyond the AI module.

Similar Projects

  • Honeypot: Uses both the honeypot and timestamp methods of deterring spam bots from completing forms on your Drupal site.
  • Antibot: Prevents form submission by trying to detect if a user is human through JavaScript
  • Protect Form Flood Control: A last line of defence against sufficiently sophisticated bots that have managed to get past spam protection, by allowing you to set a maximum number of submissions over a given time interval

This module differs from these by leveraging AI technology for more accurate spam detection.

Activity

Tracked releases
2
Tracked since
Oct 2025
Latest release
9 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Slowing

Releases

Version Type Release date
1.0.x-dev Dev Oct 13, 2025
1.x-dev Dev Oct 13, 2025