Tiny Comment Spam Blocker

Tiny Comment Spam Blocker

By Kasuga
Details
View on WordPress

Tiny Comment Spam Blocker is a lightweight yet powerful plugin designed to protect your WordPress comments from spam. It employs five different techniques to detect and block unwanted comments:

  1. Nonce Verification – Ensures that the comment form submission is genuine.
  2. Submission Time Check – Blocks comments submitted too quickly to prevent bots.
  3. Honeypot Field – Hidden field that traps automated spam bots.
  4. User Agent Validation – Detects suspicious User-Agent strings and blocks them.
  5. Forbidden Word Filtering – Blocks submissions containing words or phrases from a configurable list within the comment body, email address, or IP address.
  6. JavaScript-Based Human Interaction Detection – Sets a verification token when mouse movement, scrolling, or touch interaction is detected.
  7. (Option) Block Non-Japanese Comments – Blocks comments that do not contain Japanese characters (Hiragana, Katakana, or Han/Kanji), primarily targeting machine-translated or foreign spam.

These filters are applied in order: if a comment passes the first check, it proceeds to the second, and so on, until all checks are applied or the comment is blocked.

Additional features:

  • Option to log detected spam in a local log file (up to 1.0 MB).
  • Optional email notifications when spam is detected.
  • Easy settings page in the WordPress admin panel.

Settings

The plugin provides the following settings in the WordPress admin panel:

  • Enable Spam Protection – Toggle the spam protection on or off. When disabled, all anti-spam checks are skipped.
  • Save Spam Detection Log – Enable or disable logging of detected spam. Logs are saved in a local file up to 1.0 MB within the WordPress uploads directory.
  • Notification Email Address – Enter an email address to receive notifications when spam is detected. Leave blank to disable email notifications.
  • Minimum Submission Time (seconds) – Set the minimum allowed time between loading the comment form and submitting a comment. Comments submitted faster than this threshold are considered spam.
  • Forbidden Words List – Enter one forbidden word, phrase, or IP address per line. Submissions containing these entries in the comment body, email address, or IP address will be blocked. Case is insensitive.
    • Example:
      viagra
      online pharmacy
      spam@email.com
      164.138.205.72
  • Block No Japanese Comments – If enabled, this becomes the final check: Comments that contain Japanese characters (Hiragana, Katakana, or Kanji) will be automatically accepted after passing other security checks. Comments without Japanese characters will be blocked.

Arbitrary Section

This plugin is designed to be lightweight and fast, ensuring minimal impact on site performance while providing robust protection against comment spam.

Details

Plugin code:
tiny-comment-spam-blocker
Plugin version:
1.4.0
Author:
Outdated:
No
WP version:
6.3 or higher
PHP version:
7.4 or higher
Test up to WP version:
6.9
Total installations:
0
Last updated:
2026-01-30
Rating:
Times rated:
0
anti-spam
comments
honeypot
security
spam-protection