Linux 软件免费装
Banner图

Agent Lane: AI Bot & Spam Protection for Forms

开发者 agentlane
更新时间 2026年11月23日 20:54
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

anti-spam comment spam contact form spam spam protection ai bots

下载

0.3.0 0.1.0 0.2.0 0.2.1

详情介绍:

Agent Lane sits behind the form plugins you already use. Every submission is scored on your server from request signals plus a small signed token that the browser fills in while a person uses the form. Submissions that look like a person are delivered as usual. Submissions that look like a bot, a script or an AI agent are held in a separate queue in wp-admin, where you can read them, release them or delete them. Why another anti-spam plugin Spam written with AI tools reads like a real message. It fills every field correctly, it carries none of the usual junk, and it passes honeypots and reCAPTCHA v3 scores. Site owners have been reporting exactly this on the WordPress.org and Shopify forums: 85 threads in 90 days by our count in September 2026, and at least one anti-spam vendor confirming in its own support forum that AI bots now bypass its checks. Agent Lane does not judge the text alone. It looks at how the request arrived. Did a browser render the page first? Did a pointer or a finger move before typing? How long between render and submit? Does the request carry the headers a real browser sends? Does the user agent belong to a known crawler or agent? Each answer adds to a score, and the score decides the lane. What you get How it works
  1. When a page with a supported form renders, a small script (about 11 KB, no dependencies) adds hidden fields: a signed token with the render time, a honeypot with a random name chosen for your site, and the agent purpose field. The token is tied to the visitor's network range and browser family, so a token carried to another network or browser counts against the submission (on a page that came from a cache the script first swaps the token for a fresh one, see the FAQ). It counts pointer moves, touches, key presses, focus order and timing. It never records what was typed.
  2. On submit, the form plugin hands the request to Agent Lane before anything is sent or saved. The plugin reads the request headers, the token, the counters and the user agent, and adds the weights into a score from 0 to 100.
  3. Below the queue threshold (default 55) the submission is a person and the form plugin continues as normal. At or above it, the submission is held in the Automation queue and the form plugin is told to treat it as spam. At or above the block threshold (default 90) the form shows a short message and the submission is kept for 7 days only.
  4. Declared agents (purpose field filled, or a valid signature from an operator in the bundled directory) are held by default with their own label. You can change that to allow or block, for all agents or per operator.
Which forms Contact Form 7, WPForms Lite and comments are tested on WordPress 7.1. The Gravity Forms and Elementor Pro integrations are written against the documented hooks of those plugins and have not been run against them on a live site yet. If you use one of them, watch the Automation tab during the first days and report anything odd in the support forum. Other form plugins are not touched. Agent Lane loads nothing on pages without a supported form. What it does not do Privacy Agent Lane is built to keep data on your site.

安装:

  1. Upload the agent-lane folder to /wp-content/plugins/, or install the plugin from the Plugins screen.
  2. Activate it. Agent Lane creates one database table and schedules a daily cleanup job.
  3. That is all. A notice on the Plugins screen confirms that the plugin is on and links to the queue and the settings. The defaults suit most sites; under Agent Lane > Settings you can check the email address that receives released submissions and the daily summary.
  4. When something is held, you get one short email a day with the count and a link. Open Agent Lane > Queue, look at the Automation tab and release anything that is a real person.
No changes to your forms are needed. Supported form plugins are detected automatically. If you later add or remove a form plugin, nothing has to be reconfigured.

屏幕截图:

  • People tab. Submissions delivered as usual, kept as a light copy so you can see what came through.
  • Settings. Scoring thresholds, hidden form fields, privacy and retention. No CAPTCHAs, no third-party services, no data leaves the server.
  • Per-agent policy. Allow, Queue or Block for every known AI agent and crawler, with a sensible default per agent.
  • Dashboard widget. People versus Automation for the last 7 days, counts per class, and how many submissions are held right now.

升级注意事项:

0.3.0 Works with full-page caches and warns you in the admin when the queue cannot store submissions. No upgrade steps. 0.2.1 Security fixes for sites that use "Verify signed agents" or "Allow" for declared agents, and a fix that keeps a held message from being lost when the queue cannot store it. No upgrade steps. 0.2.0 Adds a daily summary email about held submissions (on by default, one checkbox to turn off) and limits how often one page load can be reused. No upgrade steps. 0.1.0 First release. No upgrade steps.

常见问题:

Does it show a CAPTCHA?

No. Visitors see the form exactly as before. Agent Lane adds hidden fields and a small script, and all decisions happen on the server after submit. People are never asked to prove they are people.

Does the plugin send data anywhere?

No. Scoring, the agent directory and the datacenter IP list are bundled with the plugin and run on your server. There is one optional exception: if you turn on "Verify signed agents", the plugin fetches the public signing keys of an agent operator from that operator's own website in order to check a signature. That request contains nothing about your site or your visitors. The setting is off by default. There is no telemetry and no usage reporting.

What is the Automation queue?

It is the holding area for submissions that scored as a bot, a script or an agent. Each row shows the time, the form, the class, the score, the top reasons and a preview of the fields. From there you can release an item (it is marked as human and emailed to you with all fields), delete it, or mark it as bot (its fingerprint goes on a local blocklist). Items are removed automatically after the retention period, 30 days by default. The People tab is the other side: the last 200 submissions that were delivered as usual, with date, form, score, reasons, truncated IP address and user agent, so you can see both lanes. No field contents are stored for People.

What is a declared agent?

A declared agent is automated software that says so. Agent Lane gives it two ways: a hidden form field labelled "Leave this field empty. Automated agents: state your purpose and operator here.", and the Web Bot Auth signature header that some operators send with every request. Declared agents are not treated as spam. They go to the Automation queue with the label "declared agent" so you can read the purpose and decide. The default action for declared agents can be changed to allow or block, and overridden per operator.

What is Web Bot Auth?

Web Bot Auth is a draft IETF standard built on HTTP Message Signatures (RFC 9421). An agent signs each request with a private key and names its operator in a Signature-Agent header. The operator publishes the matching public key at a well-known address on its own domain. Operators sending such signatures today include OpenAI (ChatGPT agent), Google, Anchor, Browserbase and Manus. Agent Lane always reads the Signature-Agent header and uses it as a label. If you turn on "Verify signed agents", the plugin also fetches the operator's public keys (cached for 24 hours) and checks that the signature is genuine, so nobody can claim to be ChatGPT agent without holding its key. A signature counts as verified only when the domain that signed is listed in the bundled agent directory (today: ChatGPT agent and Google). A valid signature from any other domain proves that domain and nothing more; such requests are held as suspected agents.

Where are IP addresses stored? Is this GDPR friendly?

IP addresses are truncated before they are stored: the last octet is zeroed for IPv4, and IPv6 addresses are cut to the first 64 bits. A truncated address cannot identify a single device. A setting lets you store the full address if you need it for abuse reports; it is off by default. Held submissions are deleted after the retention period you set (default 30 days). Blocked submissions are kept 7 days. Nothing is sent off-site. The plugin sets no cookies and collects no data about visitors beyond the submission itself. See the Privacy section under Description for the full list.

Which form plugins are supported?

Contact Form 7, WPForms and WordPress comments, plus experimental integrations for Gravity Forms and Elementor Pro Forms (see "Which forms" above). Each integration hooks the form plugin's own validation step, so the form plugin's spam handling and notifications behave as they normally do for spam. Other plugins are not affected. If you need another form plugin, open a thread in the support forum and say which one.

How do I release a held submission?

Open Agent Lane > Queue, switch to the Automation tab, find the row and click Release. The item is marked as human and a copy with all submitted fields is emailed to the notification address from settings. Use the checkboxes and the bulk action to release several at once. Releasing does not re-run the original form plugin, because that plugin already rejected the submission at submit time; the email is the delivery.

Is there a paid version?

Not yet. Everything on this page is free. A paid add-on with per-operator policies and request budgets is planned; the free plugin keeps everything described on this page.

Will it block Googlebot or hurt SEO?

No. Crawlers read pages; Agent Lane only acts on form submissions. It changes nothing in how your pages are served. If a crawler ever posts a form, which search crawlers do not, the submission is held, not blocked, and your pages stay indexable.

Does it work with page caching?

Yes. A cached page hands the same signed token to every visitor, and that token may be days old. When the script sees that the page came from a cache (the token in it is older than a minute), it fetches a fresh token for this visitor in the background on the first interaction with a form: one POST to your own admin-ajax.php (repeated at most twice, and only if the network failed) that adds only the cached token. The fresh token is tied to the visitor and goes through every usual check, including the minimum age of 3 seconds and the limit of three submissions per page load. Nothing is stored for the swap, and the answer is marked so that caches and CDNs do not keep it. You can keep "Tie the token to the visitor" on. Two limits to know. The swap accepts a cached page that is up to 30 days old (developers can change that with the agentlane_ticket_max_age filter); a page cached for longer falls back to the old behaviour, so purge the cache at least once a month. And the minimum age of the fresh token counts from the first touch of the form: a visitor who submits within 3 seconds of touching it (browser autofill, then Submit) collects the "token too young" weight of 30 points. On its own that does not hold a submission; together with other signals it can. This needs JavaScript and a reachable admin-ajax.php. Without them the old behaviour applies: the token in the cached page stays valid for up to 24 hours by default, so refresh the cache within that time or exclude pages with forms from the cache, and turn "Tie the token to the visitor" off, because it expects the token to come back from the same network range and browser family that loaded the page. Turning it off also turns off the limit of three submissions per page load. Developers can switch the swap off with the agentlane_token_refresh_after filter (return 0).

Can a determined spammer still get through?

Yes. Agent Lane raises the cost of spam; it is not a CAPTCHA and does not claim to be one. The page token proves that the sender loaded the page and waited a few seconds. The activity counters are reported by the browser, and a server cannot verify them. So a script written specifically against this plugin, one that fetches the page first, waits, and sends made-up counters with browser-like headers, scores like a person. Since 0.2.0 one page load is accepted for three submissions; after that the token no longer counts and the submission is held, so such a script has to load the page again, or ask the site for a fresh token the way a cached page does, every few posts. (The limit is active while "Tie the token to the visitor" is on.) What the plugin removes is the generic, high-volume kind of spam: direct POSTs that never loaded the page, made-up tokens, headless browsers, filled honeypots, known crawlers and agents, and submissions whose browser counters contradict the server-side facts. Anything that still gets through is in the People tab with its reasons, and "Mark as bot" puts its fingerprint on your blocklist.

A real person ended up in the Automation queue. What now?

Release the submission; you get the copy by email. Then look at the reasons shown on the row. If the same reason keeps appearing for real people, for example "No cookies sent" on a site that sets none, raise the queue threshold a little. Agent Lane holds rather than deletes for exactly this case.

Can I keep using Akismet or another anti-spam plugin?

Yes. Agent Lane runs at the form plugin's validation step and only acts on what it holds. Everything it lets through continues to Akismet, the form plugin's own filters and your other plugins as before.

更新日志:

0.3.0 Sites with a page cache, a visible warning when the queue cannot store submissions, and small fixes from the security review of 0.2.0. 0.2.1 Fixes from a security review of 0.2.0. The first two concern optional settings that are off by default. 0.2.0 0.1.0