{"id":377695,"date":"2026-10-01T05:41:43","date_gmt":"2026-10-01T05:41:43","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/protect-from-ai\/"},"modified":"2026-10-01T07:29:56","modified_gmt":"2026-10-01T07:29:56","slug":"clownsteins-rogue-agent-defender","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/clownsteins-rogue-agent-defender\/","author":23575605,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1.2","requires":"5.8","requires_php":"7.2","requires_plugins":null,"header_name":"Clownsteins Rogue Agent Defender","header_author":"Albert Clownstein","header_description":"Blocks selected AI crawler user agents, adds matching robots.txt rules, and stops WordPress HTTP API calls to selected inference hosts.","assets_banners_color":"","last_updated":"2026-10-01 07:29:56","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":65,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"clownstein","date":"2026-10-01 07:29:56","revision":3722574}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[2353,12928,6499,600],"plugin_category":[54,55],"plugin_contributors":[283822],"plugin_business_model":[],"class_list":["post-377695","plugin","type-plugin","status-publish","hentry","plugin_tags-ai","plugin_tags-crawlers","plugin_tags-robots","plugin_tags-security","plugin_category-security-and-spam-protection","plugin_category-seo-and-marketing","plugin_contributors-clownstein","plugin_committers-clownstein"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/clownsteins-rogue-agent-defender.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Clownsteins Rogue Agent Defender protects your site from external attacks that rely on hosted AI.<\/p>\n\n<p>Outside agents use frontier models to decide how to attack a site and to interpret what they find there. Claude, GPT, Gemini, and the other frontier models are reachable only through their providers' APIs. This plugin blocks the inference providers you select, so those calls are refused. The block covers <code>wp_remote_*<\/code> and the other WordPress HTTP API functions. A program that opens its own connection needs a firewall, proxy, or DNS rule.<\/p>\n\n<p>The plugin also refuses selected AI crawlers that try to read the site. The user-agent check returns 403 when a request header contains a selected token that the operator sends as a user agent. <code>Google-Extended<\/code> and <code>Applebot-Extended<\/code> 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.<\/p>\n\n<p>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.<\/p>\n\n<p>Creator: Albert Clownstein.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>clownsteins-rogue-agent-defender<\/code> folder to <code>\/wp-content\/plugins\/<\/code>, or install the zip from the Plugins screen.<\/li>\n<li>Activate Clownsteins Rogue Agent Defender.<\/li>\n<li>Open Settings, Clownsteins Rogue Agent Defender.<\/li>\n<li>Choose Training crawlers, Recommended, or Full, or select individual tokens and inference services, then save.<\/li>\n<\/ol>\n\n<p>Activating the plugin applies the recommended selections until you save a different choice.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20stop%20every%20program%20on%20the%20server%20from%20calling%20an%20ai%20api%3F\"><h3>Does this stop every program on the server from calling an AI API?<\/h3><\/dt>\n<dd><p>No. It blocks requests that go through the WordPress HTTP API. Use a firewall, proxy, or DNS rule for other programs.<\/p><\/dd>\n<dt id=\"does%20robots.txt%20block%20a%20client%20that%20ignores%20it%3F\"><h3>Does robots.txt block a client that ignores it?<\/h3><\/dt>\n<dd><p>No. robots.txt is a request. The user-agent rule is what returns 403.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20connect%20to%20an%20external%20service%3F\"><h3>Does this plugin connect to an external service?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Protects the site from external AI attacks by blocking inference providers and selected crawlers.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/377695","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=377695"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/clownstein"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=377695"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=377695"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=377695"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=377695"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=377695"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=377695"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}