Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

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

Total releases
2
First release
Oct 2025
Latest release
6 months ago
Release cadence
0 days
Stability
0% stable

Releases

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