Clownsteins Rogue Agent Defender

Plugin Banner

Clownsteins Rogue Agent Defender

by Albert

Download
Description

Clownsteins Rogue Agent Defender lets a site administrator choose which documented AI crawler tokens to block and which inference services WordPress itself may call.

The user-agent check returns 403 when a request header contains a selected token that the operator sends as a user agent. Google-Extended and Applebot-Extended are robots.txt tokens only, because those names are never sent as a User-Agent. Requests for the site’s robots.txt address are not blocked.

The robots.txt option adds one Disallow group to the robots.txt file WordPress generates. A robots.txt file already stored in the web root is left unchanged.

The HTTP API option blocks requests WordPress makes with wp_remote_* and the other WordPress HTTP API functions when the destination is a selected inference service. Programs that open their own connections are not affected.

Creator: Albert Clownstein.

  1. Upload the clownsteins-rogue-agent-defender folder to /wp-content/plugins/, or install the zip from the Plugins screen.
  2. Activate Clownsteins Rogue Agent Defender.
  3. Open Settings, Clownsteins Rogue Agent Defender.
  4. Choose Training crawlers, Recommended, or Full, or select individual tokens and inference services, then save.

Activating the plugin applies the recommended selections until you save a different choice.

Does this stop every program on the server from calling an AI API?

No. It blocks requests that go through the WordPress HTTP API. Use a firewall, proxy, or DNS rule for other programs.

Does robots.txt block a client that ignores it?

No. robots.txt is a request. The user-agent rule is what returns 403.

Does this plugin connect to an external service?

No. It does not send data anywhere. It does not check for, download, or install updates by itself. If you install it from WordPress.org, WordPress installs updates when you choose to update your plugins.

1.0.0

  • Initial release.
Back to top