Skip to content
Sign in

Onsite Spam Guard

Spam protection for comments, Contact Form 7, WooCommerce, Jetpack and WP Job Manager forms — no external services, API keys or CAPTCHAs.

Not scanned yet WordPress plugin 20 installs

Install in

No install steps yet

Follow the steps on the source page.

Onsite Spam Guard blocks spam on the forms your visitors actually use — WordPress comments, Contact Form 7, WooCommerce product reviews, Jetpack contact forms and WP Job Manager job submissions, plus account registration and BuddyPress private messages if you want them — without sending anything to a third-party service, requiring an API key, or putting a CAPTCHA in front of your users.

Protection is built from a pipeline of independent guards. Each guard is a small, focused check (a hidden honeypot field, a submit-speed gate, a keyword filter, and so on). Every enabled guard looks at every submission, and one objection is enough to block it; the log records every guard that objected, so you can see exactly why. Every guard can be toggled and tuned from a single settings page — for the whole site, or form by form — and every block can be logged for review.

Spam guards

  • Honeypot — a hidden field that bots fill in but humans never see.
  • Duplicate detection — rejects identical submissions sent within a short window.
  • Time gate — rejects submissions completed faster than a human could plausibly type.
  • Signature — requires a server-signed token proving the form was served by this site, deterring automated cross-site posting.
  • Rate limit (optional) — throttles repeated submissions from the same sender within a short window, keyed on the logged-in user when there is one and the connection IP otherwise. An IPv6 address counts together with the rest of its network (its /64), since one household or office can use any address in it.
  • Link limit — flags submissions that contain too many URLs.
  • Keyword block — rejects submissions matching a configurable blocklist of words or phrases.
  • Behavioral analysis (optional) — scores mouse movement, clicks, and time on page to spot bot-like interaction.

Why you might choose it

  • No external services. Nothing leaves your site. No accounts, no API keys, no per-submission fees.
  • No CAPTCHA. Protection is invisible to legitimate visitors.
  • Try before you enforce. Monitor mode records what would have been blocked without blocking anything, for the whole site or a single form, and the Per-form tab sums up what enforcing a form would catch before you switch it on.
  • Tuned per form. A contact form can be stricter about links than a comment thread, and a form such as a job listing starts with limits that suit it.
  • Allowlist. Trusted IPs, CIDR ranges, email addresses, and email domains bypass every guard.
  • Logging with retention. Blocked submissions are recorded in a dedicated table with a paginated admin viewer, and old entries are pruned automatically on a schedule you control.
  • Privacy-aware. The plugin registers suggested privacy-policy text describing exactly what it records.
  • Modern, dependency-free code. PHP 8.2+, vanilla front-end JavaScript (no jQuery), and no runtime third-party libraries.

Works with

  • WordPress comments (always).
  • WooCommerce product reviews (when WooCommerce is active).
  • Jetpack contact form blocks (when Jetpack is active).
  • WP Job Manager job submissions (when WP Job Manager is active).
  • Contact Form 7 forms (when Contact Form 7 is active).
  • BuddyPress private messages (when BuddyPress is active; off by default).
  • Account registration forms — WordPress, WooCommerce My Account and BuddyPress signup (off by default).

Written by Joobi from the project's own listing. See the source page

antispamcommentshoneypotspamwoocommerce
23 Nov 2026
Version 1.7.3 released. Not scanned yet.

1.7.3

  • Fixed: on sites that send a strict Content Security Policy, which some security plugins and hosts do, every genuine comment and WooCommerce review was refused with “please enable JavaScript”. The policy blocked a small script the plugin relied on to add its hidden fields to those forms. The fields are now part of the form itself, so they no longer depend on that script. Recommended if you use a security plugin that sets security headers.
  • Changed: visitors with JavaScript turned off can now leave comments and reviews. They were refused before.
  • If you use a page cache, clear it after updating so cached pages pick this up.

1.7.2

  • Fixed: on sites running a current version of Jetpack, the plugin’s hidden checks (the honeypot, the minimum submission time and the signature) were not reaching Jetpack contact forms. Only the content checks applied, so a bot’s first submission could get through; only an immediate repeat was caught. The hidden fields are now built into Jetpack forms directly, so a bot that fills in every field is refused on its first attempt. Recommended for every site using Jetpack forms. If you use a page cache, clear it after updating so cached pages pick this up.

1.7.1

  • Fixed: the optional rate limit now counts an IPv6 address together with the rest of its network (its /64), which one household or office can use all of. Each address used to count as a separate sender, so a visitor on IPv6 could avoid the limit by changing address. Duplicate detection now groups IPv6 senders the same way. Recommended if you use the rate limit.
  • Fixed: an allowlisted IP address now matches however it is written — in capitals, with leading zeros, or an IPv4 address that the server reports in IPv6 form — and the spam log records each address in one consistent form.

1.7.0

  • Monitored forms now come with a review on the Per-form tab: how long the form has been monitored, how many submissions would have been blocked and by which checks, a link to those entries in the spam log, and an Enforce this form link that switches it on when you are ready.
  • Changed: WP Job Manager job listings now start with a limit of 10 links instead of 3. An ordinary listing linking to an about page, a benefits page, a team page and where to apply was being rejected. If you have changed the site-wide link limit, your setting still applies to job listings.
  • Each blank field on the Per-form tab now says what it inherits: the site-wide value, or a starting value the form brings with it.
  • On WordPress 6.9 and later, tools that use WordPress’s Abilities API — REST clients, MCP connectors and AI features — can read a summary of the last 7 days and a list of recent blocks. Only for administrators, and with no personal data: no IP addresses, browser details or submitted text.
  • A Settings link in the plugin’s row on the Plugins screen.
  • For developers: a plugin that registers its form through the simple_spam_shield_contexts filter can give it its own starting thresholds.
  • Fixed: the “submissions blocked” count at the top of the settings page included submissions that monitor mode let through.

1.6.0

  • Monitor mode: try the plugin, or a change to its settings, without blocking anyone. Every check still runs and anything it would have blocked is logged as “Would have blocked”, but the submission goes through. Turn it on for the whole site on the General tab, or for one form on the Per-form tab while the rest stay protected. While it is on for the whole site, a notice on every admin screen says so, so it cannot be forgotten.
  • Account registration forms can now be protected, off by default: WordPress’s own registration form, WooCommerce’s My Account registration, and BuddyPress signup. Accounts created at WooCommerce checkout, and accounts you add yourself under Users Add New, are never screened. Monitor mode is a good way to trial it first.
  • The Allowlist tab now shows what your server sees — the connecting address, any forwarded header, and the address the plugin will use — and whether Trust proxy headers is set correctly for how your site is reached. Site Health reports the same.
  • The spam log records whether each submission was blocked or only would have been, and the 7-day summary counts the two separately. The log table is upgraded; existing entries are kept.
  • Changed: blocked keywords now match words joined by underscores, as in usernames and email addresses, so “casino” matches “casino_bonus_77”. Words run together, such as “casinobonus”, still do not match.
  • Changed, for developers: the simple_spam_shield_blocked action no longer fires for a submission let through by monitor mode.
  • Fixed: after an automatic update that changed the log table, logging stopped until someone opened the WordPress admin. Spam was still blocked, but not recorded. The table is now upgraded on the first request of any kind.

1.5.1

  • Fixed: with Trust proxy headers enabled, the visitor’s address is now read from the entry your proxy added, which a visitor cannot set. Previously it could be taken from a value supplied by the visitor, which could affect the allowlist, the rate limit and duplicate detection. Updating is recommended for every site using this setting. The setting’s description and the FAQ now also explain what it relies on: your server accepting traffic only from the proxy.
  • Fixed: blocked keywords now match in every script. A single-word keyword written in Cyrillic, Greek, Chinese, Japanese or another non-Latin script never matched before, and upper- and lower-case versions of non-Latin text were treated as different. If you block words in a language other than English, they will start working with this update.
  • Fixed: “Clear all logs” could leave a blank, half-drawn admin page on some servers instead of returning to the log with a confirmation. The logs were still cleared.
  • Fixed: two different comments could occasionally be mistaken for duplicates of each other when their text differed only in where the author’s name ended and the message began.

1.5.0

  • Contact Form 7 forms are now protected. Every form is covered the moment the plugin is active — there is no tag to add to each form and no per-form setup, so forms you build later are protected too. A blocked submission is marked as spam, so the visitor sees the spam message you configured for that form, and the reason is recorded in Contact Form 7’s own spam log.
  • WP Job Manager job submissions are now protected, including the “save as draft” path. WP Job Manager’s built-in answer to submission spam is Google reCAPTCHA; this is the same protection with no third-party service and no puzzle for the person posting the job.
  • BuddyPress private messages can now be protected, off by default. BuddyPress applies WordPress’s blocklists to the activity stream but nothing at all to private messages. The checks that suit private messaging are the rate limit and duplicate detection, keyed on the sender rather than on what they wrote, and moderators are never throttled. Message bodies are never written to the spam log — a block records who sent it, when, and which check objected, so private correspondence does not accumulate in a table for an administrator to browse.
  • Each newly protected form gets its own section on the Per-form tab, so a contact form, a job listing and a comment thread can have thresholds suited to each.
  • Fixed: the link limit counted a linked web address twice whenever the link text was the address itself — which is what happens when a visual editor turns a pasted address into a link. An ordinary job description or comment with four links could be counted as five and rejected. Repeated addresses now count once.
  • Fixed: a field holding nothing but a web address is no longer counted as a link in Contact Form 7 forms, whether it was built as a URL field or a plain text one. Asking visitors for their website could otherwise push a genuine message over the link limit.

1.4.0

  • The hidden honeypot field now has a different name on every site, derived from the site’s own secret. Previously every installation used the same name, so a spammer who learned it once could skip that field on every site running this plugin. Nothing to configure, and forms already open in a visitor’s browser keep working.
  • New Per-form settings tab. Guard thresholds used to apply identically to every form on the site, so making a contact form stricter also made the comment form stricter. Thresholds can now be set per form — a comment thread can allow several links while a contact form allows one, and a long application form can require a longer fill time than a comment box. Leave a field blank to use the global value.
  • Plugins that protect their own forms through this plugin can register them so they appear on the Per-form tab. A form that does not register is still protected; it uses the global thresholds.
  • The duplicate-detection window and the rate-limit window are now settable on the Guards tab. Both were fixed at 60 seconds and could only be changed by editing a file inside the plugin, which an update overwrote. A rate limit of “20 per hour” is now expressible, and a busy comment thread where several people legitimately post a short reply within a minute can use a shorter duplicate window instead of turning the guard off.
  • The rate-limit maximum is no longer labelled “per minute”, since the window is no longer always a minute.
  • Number settings are now range-checked when saved. Previously a value outside a field’s range was stored as given, and a negative number was stored as its positive equivalent.

1.3.0

  • The spam log now records every guard that matched a blocked submission, not just the first one. The guard that decided the outcome is still shown on its own line, with any additional matches listed beneath it.
  • Fixed: a submission rejected by one guard was recorded as “seen” by the duplicate guard, so a visitor who corrected the problem and resubmitted was refused a second time — told they had submitted a duplicate rather than what was actually wrong.
  • Fixed: the rate limit was not counting submissions that another guard had already rejected, which is most of what a spam bot sends. A bot could keep submitting indefinitely without ever reaching the limit, while a legitimate visitor who tripped a guard once did count against it. Rejected attempts now count.
  • For developers: other plugins can now register their own guard through the simple_spam_shield_guards filter. A registered guard runs in the pipeline, appears in the log, and gets its own toggle on the Guards tab. A new simple_spam_shield_blocked action fires whenever a submission is blocked. See the readme in the plugin’s repository.

1.2.1

  • Fixed: allowlist entries using an IPv6 range (for example 2001:db8::/32) never matched. IPv4 ranges, exact addresses and email rules were unaffected.
  • Fixed: rate-limit data left rows behind in the database when the plugin was deleted.
  • Fixed: the honeypot guard’s field name is no longer presented as configurable, since changing it disabled the guard rather than renaming the field.

1.2.0

  • New Rate limit guard: throttles repeated submissions from the same sender (the logged-in user where there is one, otherwise the connection IP). Off by default.
  • New option to also apply WordPress’s Disallowed Comment Keys (Settings Discussion) to every protected form, extending that one blocklist beyond comments to reviews, Jetpack forms, and forms added through the plugin’s API.

1.1.3

  • Tested with WordPress 7.1. No functional changes.

1.1.2

  • Renamed to Onsite Spam Guard. The previous name was too generic and overlapped existing plugins in the directory. Your settings and logs are unaffected by the rename.
  • Security hardening: the spam-log bulk-delete action now checks the current user’s capability directly, in addition to verifying the nonce.

1.1.1

  • Fixed: Jetpack contact form submissions could be wrongly flagged. The plugin inspected everything Jetpack passes its spam filter, which includes site and server metadata — the site address, the referrer, the page permalink, and request headers. Those count as links and text, so a legitimate submission containing no links of its own could still exceed the link limit, and keywords could match against the browser’s user-agent string. Only what the visitor actually submitted is inspected now.
  • Fixed: the sender’s name and email were not read from Jetpack submissions, so the keyword guard never checked them and duplicate detection was less accurate.

1.1.0

  • Settings are now organized into tabs (General, Guards, Allowlist, Logging) to reduce scrolling.
  • New setting to control whether all plugin data is removed when the plugin is deleted (on by default).
  • Uninstall now removes the plugin’s table, options, transients, and scheduled task on every site of a multisite network, not just the main site.

1.0.1

  • simple_spam_shield_check() accepts the hidden honeypot/token/behavioral fields explicitly, so REST/AJAX endpoints (JSON body, empty $_POST) can pass them from the request.
  • The time-gate and signature guards skip rather than block when no token is supplied for a custom context, so content-only integrations are not falsely rejected. Built-in comment and review forms still require the token.

1.0.0

  • Initial release.
  • Guard pipeline: honeypot, duplicate detection, time gate, signature, link limit, keyword block, and optional behavioral analysis.
  • Integrations for WordPress comments, WooCommerce product reviews, and Jetpack contact form blocks.
  • Allowlist supporting IPs, CIDR ranges, email addresses, and email domains, with an optional trusted-proxy mode for IP detection.
  • Blocked comments and reviews are routed to the spam queue by default (recoverable), with an option to reject them outright instead.
  • Database-backed logging with a paginated admin viewer and a configurable auto-purge retention window.
  • Public integration API (simple_spam_shield_check / simple_spam_shield_protect_selector / simple_spam_shield_field_markup) so other plugins can protect their own forms.
  • Suggested privacy-policy content and a clean uninstall routine.
  • Developed by Jerome Wincek, with engineering assistance from Anthropic’s Claude.
12 Aug 2026Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)