
LanceDesk Form Guard protects contact forms and WordPress post comments from spam using a two-layer defense system:
- Layer 1 — Heuristics: Fast deterministic checks for BBCode injection, link stuffing, suspicious image/shortener hosts, commercial/SEO cold outreach (including polite sales pitches), honeypot fields, and too-fast submissions.
- Layer 2 — AI Analysis: Optional semantic spam classification via Groq, OpenAI, or Anthropic (off by default; requires privacy acknowledgment and your API keys).
Supported integrations
- WPForms, Contact Form 7, Gravity Forms, Quform, and Ninja Forms (per-form toggles)
- WordPress Core — native post comment forms (site-wide toggle under Settings)
Blocked submissions are logged with hashed IP and email values. Legitimate submissions flow normally.
External services
This plugin optionally connects to third-party AI APIs to classify form submissions for spam. No submission text is sent until AI analysis is enabled, the privacy acknowledgment is checked in Settings, and at least one provider is enabled with an API key.
Groq — https://groq.com/
* Used for: Optional Layer 2 spam classification of form submissions.
* Data sent: Truncated form submission text (not stored passwords or payment data collected by this plugin).
* When: AI analysis is enabled, privacy is acknowledged, heuristics pass or the submission is ambiguous, and Groq is selected/enabled with a valid API key.
* Terms of Service: https://groq.com/terms-of-use/
* Privacy Policy: https://groq.com/privacy-policy/
OpenAI — https://openai.com/
* Used for: Optional Layer 2 spam classification of form submissions.
* Data sent: Truncated form submission text.
* When: AI analysis is enabled, privacy is acknowledged, and OpenAI is reached in the provider fallback order with a valid API key.
* Terms of Service: https://openai.com/policies/terms-of-use/
* Privacy Policy: https://openai.com/policies/privacy-policy/
Anthropic — https://www.anthropic.com/
* Used for: Optional Layer 2 spam classification of form submissions.
* Data sent: Truncated form submission text.
* When: AI analysis is enabled, privacy is acknowledged, and Anthropic is reached in the provider fallback order with a valid API key.
* Terms of Service: https://www.anthropic.com/legal/consumer-terms
* Privacy Policy: https://www.anthropic.com/legal/privacy
Screenshots

First-run setup checklist to get Form Guard protecting forms quickly.

Integrations screen showing WordPress Core and supported form plugins.

Forms list with per-form protection toggles.

Protection rules: default action and Layer 1 heuristic controls.

AI providers with encrypted API keys and connection testing.

Security logs with verdict, layer, confidence, and reason.

Log detail drawer with integration, layer, provider, confidence, reason, and captured fields.