diff --git a/packages/webdecoy/src/bots/bots.test.ts b/packages/webdecoy/src/bots/bots.test.ts index 4e0ed31..3fcc7f3 100644 --- a/packages/webdecoy/src/bots/bots.test.ts +++ b/packages/webdecoy/src/bots/bots.test.ts @@ -81,7 +81,7 @@ describe('matchUserAgent', () => { describe('registry integrity', () => { it('carries the full generated table', () => { - expect(BOT_REGISTRY.length).toBe(277); + expect(BOT_REGISTRY.length).toBe(403); expect(BOT_CATEGORIES).toContain('training_crawler'); expect(BOT_CATEGORIES).toContain('search_crawler'); }); diff --git a/packages/webdecoy/src/bots/parity-vectors.generated.json b/packages/webdecoy/src/bots/parity-vectors.generated.json index d22d45b..552033c 100644 --- a/packages/webdecoy/src/bots/parity-vectors.generated.json +++ b/packages/webdecoy/src/bots/parity-vectors.generated.json @@ -1,4 +1,16 @@ [ + { + "userAgent": "2ip bot", + "id": "2ip-bot", + "category": "monitoring", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; 2ip bot/1.0; +http://example.com/bot)", + "id": "2ip-bot", + "category": "monitoring", + "matched": true + }, { "userAgent": "360spider", "id": "360spider", @@ -11,6 +23,30 @@ "category": "search_crawler", "matched": true }, + { + "userAgent": "aasa-bot", + "id": "aasa-bot", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; aasa-bot/1.0; +http://example.com/bot)", + "id": "aasa-bot", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "abevalbot", + "id": "abevalbot", + "category": "monitoring", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; abevalbot/1.0; +http://example.com/bot)", + "id": "abevalbot", + "category": "monitoring", + "matched": true + }, { "userAgent": "ai2bot", "id": "ai2bot", @@ -23,6 +59,18 @@ "category": "training_crawler", "matched": true }, + { + "userAgent": "apis-google", + "id": "apis-google", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; apis-google/1.0; +http://example.com/bot)", + "id": "apis-google", + "category": "fetcher", + "matched": true + }, { "userAgent": "artex-enrich/", "id": "artex", @@ -47,6 +95,18 @@ "category": "training_crawler", "matched": true }, + { + "userAgent": "accessiblewebbot", + "id": "accessiblewebbot", + "category": "seo_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; accessiblewebbot/1.0; +http://example.com/bot)", + "id": "accessiblewebbot", + "category": "seo_crawler", + "matched": true + }, { "userAgent": "acunetix", "id": "acunetix", @@ -71,6 +131,18 @@ "category": "fetcher", "matched": true }, + { + "userAgent": "agentdrivesagent/", + "id": "agentdrivesagent", + "category": "ai_agent", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; agentdrivesagent//1.0; +http://example.com/bot)", + "id": "agentdrivesagent", + "category": "ai_agent", + "matched": true + }, { "userAgent": "agentreadyscan", "id": "agentreadyscan", @@ -107,6 +179,102 @@ "category": "seo_crawler", "matched": true }, + { + "userAgent": "amazon-bedrock-agentcore-browser", + "id": "amazon-bedrock-agentcore-browser", + "category": "ai_agent", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; amazon-bedrock-agentcore-browser/1.0; +http://example.com/bot)", + "id": "amazon-bedrock-agentcore-browser", + "category": "ai_agent", + "matched": true + }, + { + "userAgent": "amazon-bedrock-knowledgebase", + "id": "amazon-bedrock-knowledgebase", + "category": "ai_search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; amazon-bedrock-knowledgebase/1.0; +http://example.com/bot)", + "id": "amazon-bedrock-knowledgebase", + "category": "ai_search_crawler", + "matched": true + }, + { + "userAgent": "amazon-kendra", + "id": "amazon-kendra", + "category": "ai_search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; amazon-kendra/1.0; +http://example.com/bot)", + "id": "amazon-kendra", + "category": "ai_search_crawler", + "matched": true + }, + { + "userAgent": "amazonproductdiscovery", + "id": "amazon-product-discovery", + "category": "search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; amazonproductdiscovery/1.0; +http://example.com/bot)", + "id": "amazon-product-discovery", + "category": "search_crawler", + "matched": true + }, + { + "userAgent": "amazonsellerinitiatedlisting", + "id": "amazon-product-discovery", + "category": "search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; amazonsellerinitiatedlisting/1.0; +http://example.com/bot)", + "id": "amazon-product-discovery", + "category": "search_crawler", + "matched": true + }, + { + "userAgent": "amazon-qbusiness", + "id": "amazon-qbusiness", + "category": "ai_search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; amazon-qbusiness/1.0; +http://example.com/bot)", + "id": "amazon-qbusiness", + "category": "ai_search_crawler", + "matched": true + }, + { + "userAgent": "amazon-quick-on-behalf-of-", + "id": "amazon-quick", + "category": "ai_agent", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; amazon-quick-on-behalf-of-/1.0; +http://example.com/bot)", + "id": "amazon-quick", + "category": "ai_agent", + "matched": true + }, + { + "userAgent": "amazonadbot", + "id": "amazonadbot", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; amazonadbot/1.0; +http://example.com/bot)", + "id": "amazonadbot", + "category": "fetcher", + "matched": true + }, { "userAgent": "amazonbuyforme", "id": "amazon-buyforme", @@ -143,6 +311,30 @@ "category": "training_crawler", "matched": true }, + { + "userAgent": "amzn-searchbot", + "id": "amzn-searchbot", + "category": "ai_search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; amzn-searchbot/1.0; +http://example.com/bot)", + "id": "amzn-searchbot", + "category": "ai_search_crawler", + "matched": true + }, + { + "userAgent": "amzn-user", + "id": "amzn-user", + "category": "ai_agent", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; amzn-user/1.0; +http://example.com/bot)", + "id": "amzn-user", + "category": "ai_agent", + "matched": true + }, { "userAgent": "andi-searchbot", "id": "andi-searchbot", @@ -179,6 +371,18 @@ "category": "feed_reader", "matched": true }, + { + "userAgent": "anomura/", + "id": "anomura", + "category": "ai_search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; anomura//1.0; +http://example.com/bot)", + "id": "anomura", + "category": "ai_search_crawler", + "matched": true + }, { "userAgent": "anthropic-ai", "id": "anthropic", @@ -204,13 +408,25 @@ "matched": true }, { - "userAgent": "apache-httpclient", + "userAgent": "nutch", + "id": "nutch", + "category": "generic_scraper", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; nutch/1.0; +http://example.com/bot)", + "id": "nutch", + "category": "generic_scraper", + "matched": true + }, + { + "userAgent": "apache-httpclient/", "id": "apache-httpclient", "category": "generic_scraper", "matched": true }, { - "userAgent": "Mozilla/5.0 (compatible; apache-httpclient/1.0; +http://example.com/bot)", + "userAgent": "Mozilla/5.0 (compatible; apache-httpclient//1.0; +http://example.com/bot)", "id": "apache-httpclient", "category": "generic_scraper", "matched": true @@ -275,6 +491,18 @@ "category": "archiver", "matched": true }, + { + "userAgent": "augment-webfetch", + "id": "augment-code", + "category": "ai_agent", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; augment-webfetch/1.0; +http://example.com/bot)", + "id": "augment-code", + "category": "ai_agent", + "matched": true + }, { "userAgent": "awariobot", "id": "awariobot", @@ -311,6 +539,18 @@ "category": "generic_scraper", "matched": true }, + { + "userAgent": "appinsights", + "id": "azure-app-insights", + "category": "monitoring", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; appinsights/1.0; +http://example.com/bot)", + "id": "azure-app-insights", + "category": "monitoring", + "matched": true + }, { "userAgent": "azureai-searchbot", "id": "azureai-searchbot", @@ -383,6 +623,18 @@ "category": "monitoring", "matched": true }, + { + "userAgent": "bingpreview/", + "id": "bingpreview", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; bingpreview//1.0; +http://example.com/bot)", + "id": "bingpreview", + "category": "fetcher", + "matched": true + }, { "userAgent": "bingbot", "id": "bingbot", @@ -479,6 +731,18 @@ "category": "commercial_scraper", "matched": true }, + { + "userAgent": "brightedge crawler", + "id": "brightedge", + "category": "seo_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; brightedge crawler/1.0; +http://example.com/bot)", + "id": "brightedge", + "category": "seo_crawler", + "matched": true + }, { "userAgent": "brightbot", "id": "brightbot", @@ -599,6 +863,18 @@ "category": "security_scanner", "matched": true }, + { + "userAgent": "channel3bot", + "id": "channel3bot", + "category": "ai_search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; channel3bot/1.0; +http://example.com/bot)", + "id": "channel3bot", + "category": "ai_search_crawler", + "matched": true + }, { "userAgent": "chatglm-spider", "id": "chatglm-spider", @@ -623,6 +899,18 @@ "category": "ai_assistant", "matched": true }, + { + "userAgent": "claude-agent/", + "id": "claude-agent", + "category": "ai_agent", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; claude-agent//1.0; +http://example.com/bot)", + "id": "claude-agent", + "category": "ai_agent", + "matched": true + }, { "userAgent": "claude-searchbot", "id": "claude-searchbot", @@ -647,6 +935,18 @@ "category": "ai_agent", "matched": true }, + { + "userAgent": "claude-code/", + "id": "claude-user", + "category": "ai_agent", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; claude-code//1.0; +http://example.com/bot)", + "id": "claude-user", + "category": "ai_agent", + "matched": true + }, { "userAgent": "claude-web", "id": "claude-web", @@ -671,6 +971,30 @@ "category": "training_crawler", "matched": true }, + { + "userAgent": "cloudflare-ai-search", + "id": "cloudflare-ai-search", + "category": "ai_search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; cloudflare-ai-search/1.0; +http://example.com/bot)", + "id": "cloudflare-ai-search", + "category": "ai_search_crawler", + "matched": true + }, + { + "userAgent": "cloudflare-autorag", + "id": "cloudflare-ai-search", + "category": "ai_search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; cloudflare-autorag/1.0; +http://example.com/bot)", + "id": "cloudflare-ai-search", + "category": "ai_search_crawler", + "matched": true + }, { "userAgent": "cloudflarebrowserrenderingcrawler", "id": "cloudflare-crawl", @@ -695,6 +1019,18 @@ "category": "security_scanner", "matched": true }, + { + "userAgent": "clueweb-crawler", + "id": "clueweb-crawler", + "category": "training_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; clueweb-crawler/1.0; +http://example.com/bot)", + "id": "clueweb-crawler", + "category": "training_crawler", + "matched": true + }, { "userAgent": "coccocbot", "id": "coccocbot", @@ -707,6 +1043,18 @@ "category": "search_crawler", "matched": true }, + { + "userAgent": "help.coccoc.com", + "id": "coccocbot", + "category": "search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; help.coccoc.com/1.0; +http://example.com/bot)", + "id": "coccocbot", + "category": "search_crawler", + "matched": true + }, { "userAgent": "cohere-ai", "id": "cohere-ai", @@ -767,6 +1115,18 @@ "category": "seo_crawler", "matched": true }, + { + "userAgent": "context7-crawler", + "id": "context7-crawler", + "category": "ai_search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; context7-crawler/1.0; +http://example.com/bot)", + "id": "context7-crawler", + "category": "ai_search_crawler", + "matched": true + }, { "userAgent": "cortana", "id": "cortana", @@ -779,6 +1139,18 @@ "category": "ai_assistant", "matched": true }, + { + "userAgent": "crawl4ai", + "id": "crawl4ai", + "category": "generic_scraper", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; crawl4ai/1.0; +http://example.com/bot)", + "id": "crawl4ai", + "category": "generic_scraper", + "matched": true + }, { "userAgent": "crawlcheck/", "id": "crawlcheck", @@ -804,9 +1176,21 @@ "matched": true }, { - "userAgent": "crolbot", - "id": "crolbot", - "category": "seo_crawler", + "userAgent": "crawlspace", + "id": "crawlspace", + "category": "commercial_scraper", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; crawlspace/1.0; +http://example.com/bot)", + "id": "crawlspace", + "category": "commercial_scraper", + "matched": true + }, + { + "userAgent": "crolbot", + "id": "crolbot", + "category": "seo_crawler", "matched": true }, { @@ -839,6 +1223,18 @@ "category": "monitoring", "matched": true }, + { + "userAgent": "dataprovider.com", + "id": "dataprovider", + "category": "commercial_scraper", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; dataprovider.com/1.0; +http://example.com/bot)", + "id": "dataprovider", + "category": "commercial_scraper", + "matched": true + }, { "userAgent": "deepcrawl", "id": "deepcrawl", @@ -852,17 +1248,41 @@ "matched": true }, { - "userAgent": "deepseek", + "userAgent": "lumar", + "id": "deepcrawl", + "category": "seo_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; lumar/1.0; +http://example.com/bot)", + "id": "deepcrawl", + "category": "seo_crawler", + "matched": true + }, + { + "userAgent": "deepseekbot", "id": "deepseek", "category": "training_crawler", "matched": true }, { - "userAgent": "Mozilla/5.0 (compatible; deepseek/1.0; +http://example.com/bot)", + "userAgent": "Mozilla/5.0 (compatible; deepseekbot/1.0; +http://example.com/bot)", "id": "deepseek", "category": "training_crawler", "matched": true }, + { + "userAgent": "deno/", + "id": "deno", + "category": "generic_scraper", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; deno//1.0; +http://example.com/bot)", + "id": "deno", + "category": "generic_scraper", + "matched": true + }, { "userAgent": "detectify", "id": "detectify", @@ -899,6 +1319,18 @@ "category": "fetcher", "matched": true }, + { + "userAgent": "domaincrawler", + "id": "domaincrawler", + "category": "commercial_scraper", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; domaincrawler/1.0; +http://example.com/bot)", + "id": "domaincrawler", + "category": "commercial_scraper", + "matched": true + }, { "userAgent": "dotbot", "id": "dotbot", @@ -911,6 +1343,18 @@ "category": "seo_crawler", "matched": true }, + { + "userAgent": "internetmeasurement", + "id": "driftnet", + "category": "security_scanner", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; internetmeasurement/1.0; +http://example.com/bot)", + "id": "driftnet", + "category": "security_scanner", + "matched": true + }, { "userAgent": "duckassistbot", "id": "duckassistbot", @@ -936,15 +1380,15 @@ "matched": true }, { - "userAgent": "ecosia", - "id": "ecosia", - "category": "search_crawler", + "userAgent": "duplexweb-google", + "id": "duplexweb-google", + "category": "fetcher", "matched": true }, { - "userAgent": "Mozilla/5.0 (compatible; ecosia/1.0; +http://example.com/bot)", - "id": "ecosia", - "category": "search_crawler", + "userAgent": "Mozilla/5.0 (compatible; duplexweb-google/1.0; +http://example.com/bot)", + "id": "duplexweb-google", + "category": "fetcher", "matched": true }, { @@ -1079,6 +1523,18 @@ "category": "feed_reader", "matched": true }, + { + "userAgent": "feeder.co", + "id": "feeder-co", + "category": "feed_reader", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; feeder.co/1.0; +http://example.com/bot)", + "id": "feeder-co", + "category": "feed_reader", + "matched": true + }, { "userAgent": "feedfetcher", "id": "feedfetcher-google", @@ -1103,6 +1559,42 @@ "category": "feed_reader", "matched": true }, + { + "userAgent": "feedspot", + "id": "feedspot", + "category": "feed_reader", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; feedspot/1.0; +http://example.com/bot)", + "id": "feedspot", + "category": "feed_reader", + "matched": true + }, + { + "userAgent": "findfiles.net/", + "id": "findfiles-bot", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; findfiles.net//1.0; +http://example.com/bot)", + "id": "findfiles-bot", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "findfiles.net-faviconfetcher", + "id": "findfiles-bot", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; findfiles.net-faviconfetcher/1.0; +http://example.com/bot)", + "id": "findfiles-bot", + "category": "fetcher", + "matched": true + }, { "userAgent": "findfiles.net-linkchecker", "id": "findfiles-linkchecker", @@ -1115,6 +1607,18 @@ "category": "fetcher", "matched": true }, + { + "userAgent": "firecrawlagent", + "id": "firecrawl", + "category": "commercial_scraper", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; firecrawlagent/1.0; +http://example.com/bot)", + "id": "firecrawl", + "category": "commercial_scraper", + "matched": true + }, { "userAgent": "freshrss", "id": "freshrss", @@ -1176,39 +1680,63 @@ "matched": true }, { - "userAgent": "gemini", - "id": "gemini", - "category": "training_crawler", + "userAgent": "geedoshopproductfinder", + "id": "geedo", + "category": "search_crawler", "matched": true }, { - "userAgent": "Mozilla/5.0 (compatible; gemini/1.0; +http://example.com/bot)", - "id": "gemini", - "category": "training_crawler", + "userAgent": "Mozilla/5.0 (compatible; geedoshopproductfinder/1.0; +http://example.com/bot)", + "id": "geedo", + "category": "search_crawler", + "matched": true + }, + { + "userAgent": "geedoproductsearch", + "id": "geedo", + "category": "search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; geedoproductsearch/1.0; +http://example.com/bot)", + "id": "geedo", + "category": "search_crawler", + "matched": true + }, + { + "userAgent": "geedobot", + "id": "geedo", + "category": "search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; geedobot/1.0; +http://example.com/bot)", + "id": "geedo", + "category": "search_crawler", "matched": true }, { "userAgent": "gemini-deep-research", - "id": "gemini", - "category": "training_crawler", + "id": "gemini-deep-research", + "category": "ai_assistant", "matched": true }, { "userAgent": "Mozilla/5.0 (compatible; gemini-deep-research/1.0; +http://example.com/bot)", - "id": "gemini", - "category": "training_crawler", + "id": "gemini-deep-research", + "category": "ai_assistant", "matched": true }, { "userAgent": "gemini-user", - "id": "gemini", - "category": "training_crawler", + "id": "gemini-user", + "category": "ai_agent", "matched": true }, { "userAgent": "Mozilla/5.0 (compatible; gemini-user/1.0; +http://example.com/bot)", - "id": "gemini", - "category": "training_crawler", + "id": "gemini-user", + "category": "ai_agent", "matched": true }, { @@ -1223,6 +1751,18 @@ "category": "ai_search_crawler", "matched": true }, + { + "userAgent": "gluten free crawler", + "id": "gluten-free-crawler", + "category": "commercial_scraper", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; gluten free crawler/1.0; +http://example.com/bot)", + "id": "gluten-free-crawler", + "category": "commercial_scraper", + "matched": true + }, { "userAgent": "go-http-client", "id": "go-http-client", @@ -1235,6 +1775,174 @@ "category": "generic_scraper", "matched": true }, + { + "userAgent": "google-adwords-instant", + "id": "google-ads-landing", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; google-adwords-instant/1.0; +http://example.com/bot)", + "id": "google-ads-landing", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "google-display-ads-bot", + "id": "google-ads-landing", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; google-display-ads-bot/1.0; +http://example.com/bot)", + "id": "google-ads-landing", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "google-ads-conversions", + "id": "google-ads-landing", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; google-ads-conversions/1.0; +http://example.com/bot)", + "id": "google-ads-landing", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "google-jetski-antigravity", + "id": "google-antigravity", + "category": "ai_agent", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; google-jetski-antigravity/1.0; +http://example.com/bot)", + "id": "google-antigravity", + "category": "ai_agent", + "matched": true + }, + { + "userAgent": "googlestackdrivermonitoring", + "id": "google-cloud-monitoring", + "category": "monitoring", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; googlestackdrivermonitoring/1.0; +http://example.com/bot)", + "id": "google-cloud-monitoring", + "category": "monitoring", + "matched": true + }, + { + "userAgent": "google favicon", + "id": "google-favicon", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; google favicon/1.0; +http://example.com/bot)", + "id": "google-favicon", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "google search console", + "id": "google-search-console", + "category": "monitoring", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; google search console/1.0; +http://example.com/bot)", + "id": "google-search-console", + "category": "monitoring", + "matched": true + }, + { + "userAgent": "google-structured-data-testing-tool", + "id": "google-structured-data-testing-tool", + "category": "monitoring", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; google-structured-data-testing-tool/1.0; +http://example.com/bot)", + "id": "google-structured-data-testing-tool", + "category": "monitoring", + "matched": true + }, + { + "userAgent": "google web preview", + "id": "google-web-preview", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; google web preview/1.0; +http://example.com/bot)", + "id": "google-web-preview", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "google-pagerenderer", + "id": "google-web-preview", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; google-pagerenderer/1.0; +http://example.com/bot)", + "id": "google-web-preview", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "google-agent", + "id": "google-agent", + "category": "ai_agent", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; google-agent/1.0; +http://example.com/bot)", + "id": "google-agent", + "category": "ai_agent", + "matched": true + }, + { + "userAgent": "google-cws", + "id": "google-cws", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; google-cws/1.0; +http://example.com/bot)", + "id": "google-cws", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "google-certificates-bridge", + "id": "google-certificates-bridge", + "category": "monitoring", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; google-certificates-bridge/1.0; +http://example.com/bot)", + "id": "google-certificates-bridge", + "category": "monitoring", + "matched": true + }, + { + "userAgent": "google-cloudvertexbot", + "id": "google-cloudvertexbot", + "category": "ai_search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; google-cloudvertexbot/1.0; +http://example.com/bot)", + "id": "google-cloudvertexbot", + "category": "ai_search_crawler", + "matched": true + }, { "userAgent": "google-extended", "id": "google-extended", @@ -1259,6 +1967,54 @@ "category": "search_crawler", "matched": true }, + { + "userAgent": "google-notebooklm", + "id": "google-notebooklm", + "category": "ai_assistant", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; google-notebooklm/1.0; +http://example.com/bot)", + "id": "google-notebooklm", + "category": "ai_assistant", + "matched": true + }, + { + "userAgent": "google-gemininotebook", + "id": "google-notebooklm", + "category": "ai_assistant", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; google-gemininotebook/1.0; +http://example.com/bot)", + "id": "google-notebooklm", + "category": "ai_assistant", + "matched": true + }, + { + "userAgent": "google-physicalweb", + "id": "google-physicalweb", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; google-physicalweb/1.0; +http://example.com/bot)", + "id": "google-physicalweb", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "google-pinpoint", + "id": "google-pinpoint", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; google-pinpoint/1.0; +http://example.com/bot)", + "id": "google-pinpoint", + "category": "fetcher", + "matched": true + }, { "userAgent": "google-read-aloud", "id": "google-read-aloud", @@ -1283,6 +2039,18 @@ "category": "fetcher", "matched": true }, + { + "userAgent": "google-site-verification", + "id": "google-site-verification", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; google-site-verification/1.0; +http://example.com/bot)", + "id": "google-site-verification", + "category": "fetcher", + "matched": true + }, { "userAgent": "googleagent-mariner", "id": "googleagent-mariner", @@ -1307,6 +2075,78 @@ "category": "ai_agent", "matched": true }, + { + "userAgent": "googleagent-urlcontext", + "id": "googleagent-urlcontext", + "category": "ai_agent", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; googleagent-urlcontext/1.0; +http://example.com/bot)", + "id": "googleagent-urlcontext", + "category": "ai_agent", + "matched": true + }, + { + "userAgent": "googleassociationservice", + "id": "googleassociationservice", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; googleassociationservice/1.0; +http://example.com/bot)", + "id": "googleassociationservice", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "googleimageproxy", + "id": "googleimageproxy", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; googleimageproxy/1.0; +http://example.com/bot)", + "id": "googleimageproxy", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "googlemessages", + "id": "google-messages", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; googlemessages/1.0; +http://example.com/bot)", + "id": "google-messages", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "googleother", + "id": "googleother", + "category": "search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; googleother/1.0; +http://example.com/bot)", + "id": "googleother", + "category": "search_crawler", + "matched": true + }, + { + "userAgent": "googleproducer", + "id": "google-producer", + "category": "feed_reader", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; googleproducer/1.0; +http://example.com/bot)", + "id": "google-producer", + "category": "feed_reader", + "matched": true + }, { "userAgent": "googlebot", "id": "googlebot", @@ -1343,6 +2183,18 @@ "category": "ai_search_crawler", "matched": true }, + { + "userAgent": "grub-client", + "id": "grub", + "category": "generic_scraper", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; grub-client/1.0; +http://example.com/bot)", + "id": "grub", + "category": "generic_scraper", + "matched": true + }, { "userAgent": "guzzlehttp", "id": "guzzlehttp", @@ -1379,6 +2231,30 @@ "category": "fetcher", "matched": true }, + { + "userAgent": "hanaleibot", + "id": "hanaleibot", + "category": "monitoring", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; hanaleibot/1.0; +http://example.com/bot)", + "id": "hanaleibot", + "category": "monitoring", + "matched": true + }, + { + "userAgent": "hatena", + "id": "hatena", + "category": "feed_reader", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; hatena/1.0; +http://example.com/bot)", + "id": "hatena", + "category": "feed_reader", + "matched": true + }, { "userAgent": "headlesschrome", "id": "headlesschrome", @@ -1427,6 +2303,42 @@ "category": "seo_crawler", "matched": true }, + { + "userAgent": "hubspot webcrawler", + "id": "hubspot-crawler", + "category": "seo_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; hubspot webcrawler/1.0; +http://example.com/bot)", + "id": "hubspot-crawler", + "category": "seo_crawler", + "matched": true + }, + { + "userAgent": "hubspot single page link check", + "id": "hubspot-crawler", + "category": "seo_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; hubspot single page link check/1.0; +http://example.com/bot)", + "id": "hubspot-crawler", + "category": "seo_crawler", + "matched": true + }, + { + "userAgent": "hubspot connect", + "id": "hubspot-crawler", + "category": "seo_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; hubspot connect/1.0; +http://example.com/bot)", + "id": "hubspot-crawler", + "category": "seo_crawler", + "matched": true + }, { "userAgent": "hunyuan/", "id": "hunyuan", @@ -1439,6 +2351,30 @@ "category": "training_crawler", "matched": true }, + { + "userAgent": "ias_crawler", + "id": "integral-ad-science", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; ias_crawler/1.0; +http://example.com/bot)", + "id": "integral-ad-science", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "icc-crawler", + "id": "icc-crawler", + "category": "training_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; icc-crawler/1.0; +http://example.com/bot)", + "id": "icc-crawler", + "category": "training_crawler", + "matched": true + }, { "userAgent": "isscyberriskcrawler", "id": "isscyberriskcrawler", @@ -1487,6 +2423,18 @@ "category": "fetcher", "matched": true }, + { + "userAgent": "imagesiftbot", + "id": "imagesiftbot", + "category": "commercial_scraper", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; imagesiftbot/1.0; +http://example.com/bot)", + "id": "imagesiftbot", + "category": "commercial_scraper", + "matched": true + }, { "userAgent": "import.io", "id": "import-io", @@ -1499,6 +2447,18 @@ "category": "commercial_scraper", "matched": true }, + { + "userAgent": "collection@infegy.com", + "id": "infegy", + "category": "commercial_scraper", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; collection@infegy.com/1.0; +http://example.com/bot)", + "id": "infegy", + "category": "commercial_scraper", + "matched": true + }, { "userAgent": "inoreader", "id": "inoreader", @@ -1535,6 +2495,18 @@ "category": "security_scanner", "matched": true }, + { + "userAgent": "isonai-user/", + "id": "isonai-user", + "category": "ai_agent", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; isonai-user//1.0; +http://example.com/bot)", + "id": "isonai-user", + "category": "ai_agent", + "matched": true + }, { "userAgent": "isonsearchbot", "id": "isonsearchbot", @@ -1643,6 +2615,18 @@ "category": "ai_search_crawler", "matched": true }, + { + "userAgent": "keybasebot", + "id": "keybasebot", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; keybasebot/1.0; +http://example.com/bot)", + "id": "keybasebot", + "category": "fetcher", + "matched": true + }, { "userAgent": "kimi-searchbot", "id": "kimi-searchbot", @@ -1679,6 +2663,18 @@ "category": "training_crawler", "matched": true }, + { + "userAgent": "kiroserver/", + "id": "kiro", + "category": "ai_agent", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; kiroserver//1.0; +http://example.com/bot)", + "id": "kiro", + "category": "ai_agent", + "matched": true + }, { "userAgent": "klaviyoaibot", "id": "klaviyoaibot", @@ -1763,6 +2759,30 @@ "category": "monitoring", "matched": true }, + { + "userAgent": "liner-user/", + "id": "liner-user", + "category": "ai_agent", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; liner-user//1.0; +http://example.com/bot)", + "id": "liner-user", + "category": "ai_agent", + "matched": true + }, + { + "userAgent": "linerbot", + "id": "linerbot", + "category": "ai_search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; linerbot/1.0; +http://example.com/bot)", + "id": "linerbot", + "category": "ai_search_crawler", + "matched": true + }, { "userAgent": "linkedinbot", "id": "linkedinbot", @@ -1775,6 +2795,18 @@ "category": "fetcher", "matched": true }, + { + "userAgent": "linkfluence", + "id": "linkfluence", + "category": "commercial_scraper", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; linkfluence/1.0; +http://example.com/bot)", + "id": "linkfluence", + "category": "commercial_scraper", + "matched": true + }, { "userAgent": "linkupbot", "id": "linkupbot", @@ -1835,6 +2867,18 @@ "category": "ai_agent", "matched": true }, + { + "userAgent": "mastodon/", + "id": "mastodon", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; mastodon//1.0; +http://example.com/bot)", + "id": "mastodon", + "category": "fetcher", + "matched": true + }, { "userAgent": "mechanize", "id": "mechanize", @@ -1847,6 +2891,30 @@ "category": "generic_scraper", "matched": true }, + { + "userAgent": "mediapartners-google", + "id": "mediapartners-google", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; mediapartners-google/1.0; +http://example.com/bot)", + "id": "mediapartners-google", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "mediatoolkitbot", + "id": "mediatoolkitbot", + "category": "commercial_scraper", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; mediatoolkitbot/1.0; +http://example.com/bot)", + "id": "mediatoolkitbot", + "category": "commercial_scraper", + "matched": true + }, { "userAgent": "meta-externalagent", "id": "meta-externalagent", @@ -1871,6 +2939,18 @@ "category": "ai_assistant", "matched": true }, + { + "userAgent": "meta-externalhit", + "id": "meta-externalhit", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; meta-externalhit/1.0; +http://example.com/bot)", + "id": "meta-externalhit", + "category": "fetcher", + "matched": true + }, { "userAgent": "meta-webindexer", "id": "meta-webindexer", @@ -1907,6 +2987,30 @@ "category": "ai_assistant", "matched": true }, + { + "userAgent": "microsoftpreview/", + "id": "microsoftpreview", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; microsoftpreview//1.0; +http://example.com/bot)", + "id": "microsoftpreview", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "minimaxagent", + "id": "minimax-agent", + "category": "ai_agent", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; minimaxagent/1.0; +http://example.com/bot)", + "id": "minimax-agent", + "category": "ai_agent", + "matched": true + }, { "userAgent": "miniflux", "id": "miniflux", @@ -1919,6 +3023,30 @@ "category": "feed_reader", "matched": true }, + { + "userAgent": "mistralai-index", + "id": "mistralai-index", + "category": "ai_search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; mistralai-index/1.0; +http://example.com/bot)", + "id": "mistralai-index", + "category": "ai_search_crawler", + "matched": true + }, + { + "userAgent": "mistralai-training", + "id": "mistralai-training", + "category": "training_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; mistralai-training/1.0; +http://example.com/bot)", + "id": "mistralai-training", + "category": "training_crawler", + "matched": true + }, { "userAgent": "mistralai-user", "id": "mistralai-user", @@ -1943,6 +3071,18 @@ "category": "training_crawler", "matched": true }, + { + "userAgent": "mixrankbot", + "id": "mixrankbot", + "category": "commercial_scraper", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; mixrankbot/1.0; +http://example.com/bot)", + "id": "mixrankbot", + "category": "commercial_scraper", + "matched": true + }, { "userAgent": "modatscanner", "id": "modatscanner", @@ -1979,6 +3119,18 @@ "category": "training_crawler", "matched": true }, + { + "userAgent": "mozilla-tabstack", + "id": "mozilla-tabstack", + "category": "ai_agent", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; mozilla-tabstack/1.0; +http://example.com/bot)", + "id": "mozilla-tabstack", + "category": "ai_agent", + "matched": true + }, { "userAgent": "multion", "id": "multion", @@ -1992,25 +3144,37 @@ "matched": true }, { - "userAgent": "naver", + "userAgent": "ntentbot", + "id": "ntentbot", + "category": "search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; ntentbot/1.0; +http://example.com/bot)", + "id": "ntentbot", + "category": "search_crawler", + "matched": true + }, + { + "userAgent": "yeti/", "id": "naver", "category": "search_crawler", "matched": true }, { - "userAgent": "Mozilla/5.0 (compatible; naver/1.0; +http://example.com/bot)", + "userAgent": "Mozilla/5.0 (compatible; yeti//1.0; +http://example.com/bot)", "id": "naver", "category": "search_crawler", "matched": true }, { - "userAgent": "yeti", + "userAgent": "naverbot", "id": "naver", "category": "search_crawler", "matched": true }, { - "userAgent": "Mozilla/5.0 (compatible; yeti/1.0; +http://example.com/bot)", + "userAgent": "Mozilla/5.0 (compatible; naverbot/1.0; +http://example.com/bot)", "id": "naver", "category": "search_crawler", "matched": true @@ -2051,6 +3215,18 @@ "category": "commercial_scraper", "matched": true }, + { + "userAgent": "netcraftsurveyagent", + "id": "netcraft", + "category": "security_scanner", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; netcraftsurveyagent/1.0; +http://example.com/bot)", + "id": "netcraft", + "category": "security_scanner", + "matched": true + }, { "userAgent": "netsparker", "id": "netsparker", @@ -2087,6 +3263,30 @@ "category": "feed_reader", "matched": true }, + { + "userAgent": "nextcloud-server-crawler", + "id": "nextcloud", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; nextcloud-server-crawler/1.0; +http://example.com/bot)", + "id": "nextcloud", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "nextcloud-news", + "id": "nextcloud", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; nextcloud-news/1.0; +http://example.com/bot)", + "id": "nextcloud", + "category": "fetcher", + "matched": true + }, { "userAgent": "nikto", "id": "nikto", @@ -2304,13 +3504,13 @@ "matched": true }, { - "userAgent": "perplexitybot", + "userAgent": "perplexitybot/", "id": "perplexitybot", "category": "ai_search_crawler", "matched": true }, { - "userAgent": "Mozilla/5.0 (compatible; perplexitybot/1.0; +http://example.com/bot)", + "userAgent": "Mozilla/5.0 (compatible; perplexitybot//1.0; +http://example.com/bot)", "id": "perplexitybot", "category": "ai_search_crawler", "matched": true @@ -2411,6 +3611,42 @@ "category": "headless_browser", "matched": true }, + { + "userAgent": "pomothy-bot", + "id": "pomothy-bot", + "category": "monitoring", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; pomothy-bot/1.0; +http://example.com/bot)", + "id": "pomothy-bot", + "category": "monitoring", + "matched": true + }, + { + "userAgent": "primalbot", + "id": "primalbot", + "category": "commercial_scraper", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; primalbot/1.0; +http://example.com/bot)", + "id": "primalbot", + "category": "commercial_scraper", + "matched": true + }, + { + "userAgent": "proratainc", + "id": "prorata", + "category": "ai_search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; proratainc/1.0; +http://example.com/bot)", + "id": "prorata", + "category": "ai_search_crawler", + "matched": true + }, { "userAgent": "puppeteer", "id": "puppeteer", @@ -2459,6 +3695,18 @@ "category": "generic_scraper", "matched": true }, + { + "userAgent": "qodercli", + "id": "qoder", + "category": "ai_agent", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; qodercli/1.0; +http://example.com/bot)", + "id": "qoder", + "category": "ai_agent", + "matched": true + }, { "userAgent": "qualys", "id": "qualys", @@ -2507,6 +3755,18 @@ "category": "training_crawler", "matched": true }, + { + "userAgent": "rssbot/", + "id": "rssbot", + "category": "feed_reader", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; rssbot//1.0; +http://example.com/bot)", + "id": "rssbot", + "category": "feed_reader", + "matched": true + }, { "userAgent": "recordedfuture", "id": "recordedfuture", @@ -2568,17 +3828,53 @@ "matched": true }, { - "userAgent": "ruby", + "userAgent": "amazon route 53 health check service", + "id": "route53-health-check", + "category": "monitoring", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; amazon route 53 health check service/1.0; +http://example.com/bot)", + "id": "route53-health-check", + "category": "monitoring", + "matched": true + }, + { + "userAgent": "ruby/", "id": "ruby", "category": "generic_scraper", "matched": true }, { - "userAgent": "Mozilla/5.0 (compatible; ruby/1.0; +http://example.com/bot)", + "userAgent": "Mozilla/5.0 (compatible; ruby//1.0; +http://example.com/bot)", "id": "ruby", "category": "generic_scraper", "matched": true }, + { + "userAgent": "sbintuitionsbot", + "id": "sbintuitionsbot", + "category": "training_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; sbintuitionsbot/1.0; +http://example.com/bot)", + "id": "sbintuitionsbot", + "category": "training_crawler", + "matched": true + }, + { + "userAgent": "sebot-wa", + "id": "se-ranking", + "category": "seo_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; sebot-wa/1.0; +http://example.com/bot)", + "id": "se-ranking", + "category": "seo_crawler", + "matched": true + }, { "userAgent": "seojuice-searchbot", "id": "seojuice-searchbot", @@ -2615,6 +3911,18 @@ "category": "seo_crawler", "matched": true }, + { + "userAgent": "safednsbot", + "id": "safednsbot", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; safednsbot/1.0; +http://example.com/bot)", + "id": "safednsbot", + "category": "fetcher", + "matched": true + }, { "userAgent": "scrapingant", "id": "scrapingant", @@ -2675,6 +3983,18 @@ "category": "seo_crawler", "matched": true }, + { + "userAgent": "searchatlas", + "id": "searchatlas", + "category": "seo_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; searchatlas/1.0; +http://example.com/bot)", + "id": "searchatlas", + "category": "seo_crawler", + "matched": true + }, { "userAgent": "searchgpt", "id": "searchgpt", @@ -2699,6 +4019,18 @@ "category": "headless_browser", "matched": true }, + { + "userAgent": "semanticscholarbot", + "id": "semanticscholarbot", + "category": "search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; semanticscholarbot/1.0; +http://example.com/bot)", + "id": "semanticscholarbot", + "category": "search_crawler", + "matched": true + }, { "userAgent": "semrushbot", "id": "semrushbot", @@ -2826,9 +4158,33 @@ "matched": true }, { - "userAgent": "Mozilla/5.0 (compatible; sitebulb/1.0; +http://example.com/bot)", - "id": "sitebulb", - "category": "seo_crawler", + "userAgent": "Mozilla/5.0 (compatible; sitebulb/1.0; +http://example.com/bot)", + "id": "sitebulb", + "category": "seo_crawler", + "matched": true + }, + { + "userAgent": "skypeuripreview", + "id": "skypeuripreview", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; skypeuripreview/1.0; +http://example.com/bot)", + "id": "skypeuripreview", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "slack-imgproxy", + "id": "slack-imgproxy", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; slack-imgproxy/1.0; +http://example.com/bot)", + "id": "slack-imgproxy", + "category": "fetcher", "matched": true }, { @@ -2843,6 +4199,18 @@ "category": "fetcher", "matched": true }, + { + "userAgent": "snap url preview service", + "id": "snap-url-preview", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; snap url preview service/1.0; +http://example.com/bot)", + "id": "snap-url-preview", + "category": "fetcher", + "matched": true + }, { "userAgent": "sofyabot", "id": "sofyabot", @@ -2951,6 +4319,30 @@ "category": "monitoring", "matched": true }, + { + "userAgent": "storebot-google", + "id": "storebot-google", + "category": "search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; storebot-google/1.0; +http://example.com/bot)", + "id": "storebot-google", + "category": "search_crawler", + "matched": true + }, + { + "userAgent": "storygizebot", + "id": "storygizebot", + "category": "commercial_scraper", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; storygizebot/1.0; +http://example.com/bot)", + "id": "storygizebot", + "category": "commercial_scraper", + "matched": true + }, { "userAgent": "stripebot", "id": "stripebot", @@ -2963,6 +4355,18 @@ "category": "fetcher", "matched": true }, + { + "userAgent": "summalybot", + "id": "summalybot", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; summalybot/1.0; +http://example.com/bot)", + "id": "summalybot", + "category": "fetcher", + "matched": true + }, { "userAgent": "talarionsearchbot", "id": "talarionsearchbot", @@ -3023,6 +4427,18 @@ "category": "feed_reader", "matched": true }, + { + "userAgent": "tiktokspider", + "id": "tiktokspider", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; tiktokspider/1.0; +http://example.com/bot)", + "id": "tiktokspider", + "category": "fetcher", + "matched": true + }, { "userAgent": "timpibot", "id": "timpibot", @@ -3071,6 +4487,18 @@ "category": "fetcher", "matched": true }, + { + "userAgent": "turnitin", + "id": "turnitinbot", + "category": "commercial_scraper", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; turnitin/1.0; +http://example.com/bot)", + "id": "turnitinbot", + "category": "commercial_scraper", + "matched": true + }, { "userAgent": "twitterbot", "id": "twitterbot", @@ -3083,6 +4511,30 @@ "category": "fetcher", "matched": true }, + { + "userAgent": "ubermetrics-technologies.com", + "id": "ubermetrics", + "category": "commercial_scraper", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; ubermetrics-technologies.com/1.0; +http://example.com/bot)", + "id": "ubermetrics", + "category": "commercial_scraper", + "matched": true + }, + { + "userAgent": "um-ln/", + "id": "ubermetrics", + "category": "commercial_scraper", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; um-ln//1.0; +http://example.com/bot)", + "id": "ubermetrics", + "category": "commercial_scraper", + "matched": true + }, { "userAgent": "umaibot", "id": "umaibot", @@ -3179,6 +4631,18 @@ "category": "monitoring", "matched": true }, + { + "userAgent": "ptst/", + "id": "webpagetest", + "category": "monitoring", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; ptst//1.0; +http://example.com/bot)", + "id": "webpagetest", + "category": "monitoring", + "matched": true + }, { "userAgent": "webscrapingapi", "id": "webscrapingapi", @@ -3227,6 +4691,30 @@ "category": "fetcher", "matched": true }, + { + "userAgent": "wordpress/", + "id": "wordpress-site", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; wordpress//1.0; +http://example.com/bot)", + "id": "wordpress-site", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "yacybot", + "id": "yacybot", + "category": "search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; yacybot/1.0; +http://example.com/bot)", + "id": "yacybot", + "category": "search_crawler", + "matched": true + }, { "userAgent": "slurp", "id": "yahoo-slurp", @@ -3251,6 +4739,18 @@ "category": "search_crawler", "matched": true }, + { + "userAgent": "yandex.com/bots", + "id": "yandexbot", + "category": "search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; yandex.com/bots/1.0; +http://example.com/bot)", + "id": "yandexbot", + "category": "search_crawler", + "matched": true + }, { "userAgent": "yepbot", "id": "yepbot", @@ -3263,6 +4763,18 @@ "category": "search_crawler", "matched": true }, + { + "userAgent": "yextbot", + "id": "yextbot", + "category": "seo_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; yextbot/1.0; +http://example.com/bot)", + "id": "yextbot", + "category": "seo_crawler", + "matched": true + }, { "userAgent": "yisouspider", "id": "yisouspider", @@ -3287,6 +4799,30 @@ "category": "training_crawler", "matched": true }, + { + "userAgent": "zcode-webfetch", + "id": "zcode", + "category": "ai_agent", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; zcode-webfetch/1.0; +http://example.com/bot)", + "id": "zcode", + "category": "ai_agent", + "matched": true + }, + { + "userAgent": "zanistabot", + "id": "zanistabot", + "category": "ai_search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; zanistabot/1.0; +http://example.com/bot)", + "id": "zanistabot", + "category": "ai_search_crawler", + "matched": true + }, { "userAgent": "zyte", "id": "zyte", @@ -3311,6 +4847,18 @@ "category": "commercial_scraper", "matched": true }, + { + "userAgent": "aihitbot", + "id": "aihitbot", + "category": "commercial_scraper", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; aihitbot/1.0; +http://example.com/bot)", + "id": "aihitbot", + "category": "commercial_scraper", + "matched": true + }, { "userAgent": "aiohttp", "id": "aiohttp", @@ -3323,6 +4871,18 @@ "category": "generic_scraper", "matched": true }, + { + "userAgent": "atlassian-bot", + "id": "atlassian-bot", + "category": "ai_search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; atlassian-bot/1.0; +http://example.com/bot)", + "id": "atlassian-bot", + "category": "ai_search_crawler", + "matched": true + }, { "userAgent": "curl/", "id": "curl", @@ -3335,6 +4895,54 @@ "category": "fetcher", "matched": true }, + { + "userAgent": "cl0q-crawler", + "id": "cl0q", + "category": "search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; cl0q-crawler/1.0; +http://example.com/bot)", + "id": "cl0q", + "category": "search_crawler", + "matched": true + }, + { + "userAgent": "cl0q-discovery", + "id": "cl0q", + "category": "search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; cl0q-discovery/1.0; +http://example.com/bot)", + "id": "cl0q", + "category": "search_crawler", + "matched": true + }, + { + "userAgent": "cl0q-favicon", + "id": "cl0q", + "category": "search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; cl0q-favicon/1.0; +http://example.com/bot)", + "id": "cl0q", + "category": "search_crawler", + "matched": true + }, + { + "userAgent": "deepseek-harness", + "id": "deepseek-harness", + "category": "ai_agent", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; deepseek-harness/1.0; +http://example.com/bot)", + "id": "deepseek-harness", + "category": "ai_agent", + "matched": true + }, { "userAgent": "ev-crawler", "id": "ev-crawler", @@ -3347,6 +4955,18 @@ "category": "commercial_scraper", "matched": true }, + { + "userAgent": "facebookcatalog/", + "id": "facebookcatalog", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; facebookcatalog//1.0; +http://example.com/bot)", + "id": "facebookcatalog", + "category": "fetcher", + "matched": true + }, { "userAgent": "fyndbot", "id": "fyndbot", @@ -3359,6 +4979,30 @@ "category": "search_crawler", "matched": true }, + { + "userAgent": "google-xrawler", + "id": "google-xrawler", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; google-xrawler/1.0; +http://example.com/bot)", + "id": "google-xrawler", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "grok-agent/", + "id": "grok-agent", + "category": "ai_agent", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; grok-agent//1.0; +http://example.com/bot)", + "id": "grok-agent", + "category": "ai_agent", + "matched": true + }, { "userAgent": "hstspreload-bot", "id": "hstspreload-bot", @@ -3371,6 +5015,30 @@ "category": "fetcher", "matched": true }, + { + "userAgent": "iaskspider", + "id": "iaskspider", + "category": "ai_search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; iaskspider/1.0; +http://example.com/bot)", + "id": "iaskspider", + "category": "ai_search_crawler", + "matched": true + }, + { + "userAgent": "imagespider", + "id": "imagespider", + "category": "training_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; imagespider/1.0; +http://example.com/bot)", + "id": "imagespider", + "category": "training_crawler", + "matched": true + }, { "userAgent": "img2dataset", "id": "img2dataset", @@ -3395,6 +5063,18 @@ "category": "seo_crawler", "matched": true }, + { + "userAgent": "laion-huggingface-processor", + "id": "laion-huggingface-processor", + "category": "training_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; laion-huggingface-processor/1.0; +http://example.com/bot)", + "id": "laion-huggingface-processor", + "category": "training_crawler", + "matched": true + }, { "userAgent": "libwww-perl", "id": "libwww-perl", @@ -3419,6 +5099,18 @@ "category": "seo_crawler", "matched": true }, + { + "userAgent": "newsai/", + "id": "newsai", + "category": "feed_reader", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; newsai//1.0; +http://example.com/bot)", + "id": "newsai", + "category": "feed_reader", + "matched": true + }, { "userAgent": "node-fetch", "id": "node-fetch", @@ -3431,6 +5123,30 @@ "category": "generic_scraper", "matched": true }, + { + "userAgent": "officestorebot", + "id": "officestorebot", + "category": "search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; officestorebot/1.0; +http://example.com/bot)", + "id": "officestorebot", + "category": "search_crawler", + "matched": true + }, + { + "userAgent": "opencode-smartfetch", + "id": "opencode-smartfetch", + "category": "ai_agent", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; opencode-smartfetch/1.0; +http://example.com/bot)", + "id": "opencode-smartfetch", + "category": "ai_agent", + "matched": true + }, { "userAgent": "oursignal/", "id": "oursignal", @@ -3443,6 +5159,18 @@ "category": "feed_reader", "matched": true }, + { + "userAgent": "t3versionsbot", + "id": "t3versionsbot", + "category": "security_scanner", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; t3versionsbot/1.0; +http://example.com/bot)", + "id": "t3versionsbot", + "category": "security_scanner", + "matched": true + }, { "userAgent": "tphotobot", "id": "tphotobot", diff --git a/packages/webdecoy/src/bots/registry.generated.ts b/packages/webdecoy/src/bots/registry.generated.ts index 6518606..8b45731 100644 --- a/packages/webdecoy/src/bots/registry.generated.ts +++ b/packages/webdecoy/src/bots/registry.generated.ts @@ -11,7 +11,7 @@ * agents share User-Agent substrings, so sorting this array changes how real * traffic is classified. * - * 277 agents across 15 categories. + * 403 agents across 15 categories. */ /** @@ -94,9 +94,9 @@ export const BOT_REGISTRY: readonly BotAgent[] = [ { id: "applebot-extended", name: "Applebot-Extended", category: "training_crawler", organization: "Apple", baseScore: 75, respectsRobots: true, uaPatterns: ["applebot-extended"] }, { id: "youbot", name: "YouBot", category: "training_crawler", organization: "You.com", baseScore: 75, respectsRobots: true, uaPatterns: ["youbot"] }, { id: "mistral", name: "MistralBot", category: "training_crawler", organization: "Mistral AI", baseScore: 80, respectsRobots: true, uaPatterns: ["mistralbot"] }, - { id: "gemini", name: "Gemini", category: "training_crawler", organization: "Google", baseScore: 80, respectsRobots: true, uaPatterns: ["gemini"] }, + { id: "gemini", name: "Gemini", category: "training_crawler", organization: "Google", baseScore: 80, respectsRobots: true, uaPatterns: [] }, { id: "ai2bot", name: "AI2Bot", category: "training_crawler", organization: "Allen Institute for AI", baseScore: 75, respectsRobots: true, uaPatterns: ["ai2bot"] }, - { id: "deepseek", name: "DeepSeek", category: "training_crawler", organization: "DeepSeek", baseScore: 80, respectsRobots: true, uaPatterns: ["deepseek"] }, + { id: "deepseek", name: "DeepSeek", category: "training_crawler", organization: "DeepSeek", baseScore: 80, respectsRobots: true, uaPatterns: ["deepseekbot"] }, { id: "qwen", name: "Qwen", category: "training_crawler", organization: "Alibaba", baseScore: 75, respectsRobots: true, uaPatterns: ["qwen"] }, { id: "webzio", name: "Webz.io", category: "training_crawler", organization: "Webz.io", baseScore: 70, respectsRobots: false, uaPatterns: ["webzio"] }, { id: "sentibot", name: "Sentibot", category: "training_crawler", organization: "Sentibot", baseScore: 70, respectsRobots: false, uaPatterns: ["sentibot"] }, @@ -111,6 +111,12 @@ export const BOT_REGISTRY: readonly BotAgent[] = [ { id: "kimibot", name: "KimiBot", category: "training_crawler", organization: "Moonshot AI", baseScore: 80, respectsRobots: true, uaPatterns: ["kimibot"] }, { id: "moonshotbot", name: "MoonshotBot", category: "training_crawler", organization: "Moonshot AI", baseScore: 80, respectsRobots: false, uaPatterns: ["moonshotbot"] }, { id: "chatglm-spider", name: "ChatGLM-Spider", category: "training_crawler", organization: "Zhipu AI", baseScore: 80, respectsRobots: false, uaPatterns: ["chatglm-spider"] }, + { id: "mistralai-training", name: "MistralAI-Training", category: "training_crawler", organization: "Mistral AI", baseScore: 80, respectsRobots: true, uaPatterns: ["mistralai-training"] }, + { id: "imagespider", name: "imageSpider", category: "training_crawler", organization: "Unknown", baseScore: 75, respectsRobots: false, uaPatterns: ["imagespider"] }, + { id: "laion-huggingface-processor", name: "laion-huggingface-processor", category: "training_crawler", organization: "LAION", baseScore: 75, respectsRobots: false, uaPatterns: ["laion-huggingface-processor"] }, + { id: "sbintuitionsbot", name: "SBIntuitionsBot", category: "training_crawler", organization: "SB Intuitions", baseScore: 80, respectsRobots: true, uaPatterns: ["sbintuitionsbot"] }, + { id: "clueweb-crawler", name: "ClueWeb-Crawler", category: "training_crawler", organization: "Carnegie Mellon University", baseScore: 70, respectsRobots: true, uaPatterns: ["clueweb-crawler"] }, + { id: "icc-crawler", name: "ICC-Crawler", category: "training_crawler", organization: "NICT", baseScore: 70, respectsRobots: true, uaPatterns: ["icc-crawler"] }, { id: "generalretrievalbot", name: "GeneralRetrievalBot", category: "ai_search_crawler", organization: "General Retrieval", baseScore: 60, respectsRobots: true, uaPatterns: ["generalretrievalbot"] }, { id: "andi-searchbot", name: "Andi-SearchBot", category: "ai_search_crawler", organization: "Andi", baseScore: 55, respectsRobots: true, uaPatterns: ["andi-searchbot"] }, { id: "talarionsearchbot", name: "TalarionSearchBot", category: "ai_search_crawler", organization: "Talarion", baseScore: 65, respectsRobots: false, uaPatterns: ["talarionsearchbot"] }, @@ -120,7 +126,7 @@ export const BOT_REGISTRY: readonly BotAgent[] = [ { id: "sofyabot", name: "SofyaBot", category: "ai_search_crawler", organization: "Sofya", baseScore: 65, respectsRobots: true, uaPatterns: ["sofyabot"] }, { id: "xai-searchbot", name: "xAI-SearchBot", category: "ai_search_crawler", organization: "xAI", baseScore: 70, respectsRobots: true, uaPatterns: ["xai-searchbot"] }, { id: "linkupbot", name: "LinkupBot", category: "ai_search_crawler", organization: "Linkup", baseScore: 65, respectsRobots: true, uaPatterns: ["linkupbot"] }, - { id: "perplexitybot", name: "PerplexityBot", category: "ai_search_crawler", organization: "Perplexity AI", baseScore: 80, respectsRobots: true, uaPatterns: ["perplexitybot"] }, + { id: "perplexitybot", name: "PerplexityBot", category: "ai_search_crawler", organization: "Perplexity AI", baseScore: 80, respectsRobots: true, uaPatterns: ["perplexitybot/"] }, { id: "claude-searchbot", name: "Claude-SearchBot", category: "ai_search_crawler", organization: "Anthropic", baseScore: 75, respectsRobots: true, uaPatterns: ["claude-searchbot"] }, { id: "oai-searchbot", name: "OAI-SearchBot", category: "ai_search_crawler", organization: "OpenAI", baseScore: 80, respectsRobots: true, uaPatterns: ["oai-searchbot"] }, { id: "searchgpt", name: "SearchGPT", category: "ai_search_crawler", organization: "OpenAI", baseScore: 75, respectsRobots: true, uaPatterns: ["searchgpt"] }, @@ -138,8 +144,23 @@ export const BOT_REGISTRY: readonly BotAgent[] = [ { id: "keenablebot", name: "KeenableBot", category: "ai_search_crawler", organization: "Keenable", baseScore: 65, respectsRobots: true, uaPatterns: ["keenablebot"] }, { id: "azureai-searchbot", name: "AzureAI-SearchBot", category: "ai_search_crawler", organization: "Microsoft", baseScore: 65, respectsRobots: false, uaPatterns: ["azureai-searchbot"] }, { id: "grokbot", name: "GrokBot", category: "ai_search_crawler", organization: "xAI", baseScore: 70, respectsRobots: false, uaPatterns: ["grokbot"] }, + { id: "mistralai-index", name: "MistralAI-Index", category: "ai_search_crawler", organization: "Mistral AI", baseScore: 75, respectsRobots: true, uaPatterns: ["mistralai-index"] }, + { id: "amzn-searchbot", name: "Amzn-SearchBot", category: "ai_search_crawler", organization: "Amazon", baseScore: 70, respectsRobots: true, uaPatterns: ["amzn-searchbot"] }, + { id: "google-cloudvertexbot", name: "Google-CloudVertexBot", category: "ai_search_crawler", organization: "Google", baseScore: 65, respectsRobots: true, uaPatterns: ["google-cloudvertexbot"] }, + { id: "cloudflare-ai-search", name: "Cloudflare AI Search", category: "ai_search_crawler", organization: "Cloudflare", baseScore: 65, respectsRobots: true, uaPatterns: ["cloudflare-ai-search", "cloudflare-autorag"] }, + { id: "atlassian-bot", name: "atlassian-bot", category: "ai_search_crawler", organization: "Atlassian", baseScore: 60, respectsRobots: true, uaPatterns: ["atlassian-bot"] }, + { id: "amazon-bedrock-knowledgebase", name: "Amazon Bedrock Knowledge Bases", category: "ai_search_crawler", organization: "Amazon", baseScore: 65, respectsRobots: true, uaPatterns: ["amazon-bedrock-knowledgebase"] }, + { id: "amazon-qbusiness", name: "Amazon Q Business", category: "ai_search_crawler", organization: "Amazon", baseScore: 65, respectsRobots: true, uaPatterns: ["amazon-qbusiness"] }, + { id: "amazon-kendra", name: "Amazon Kendra", category: "ai_search_crawler", organization: "Amazon", baseScore: 60, respectsRobots: true, uaPatterns: ["amazon-kendra"] }, + { id: "linerbot", name: "LinerBot", category: "ai_search_crawler", organization: "Liner", baseScore: 70, respectsRobots: true, uaPatterns: ["linerbot"] }, + { id: "context7-crawler", name: "Context7-Crawler", category: "ai_search_crawler", organization: "Upstash", baseScore: 65, respectsRobots: true, uaPatterns: ["context7-crawler"] }, + { id: "zanistabot", name: "ZanistaBot", category: "ai_search_crawler", organization: "Zanista", baseScore: 70, respectsRobots: true, uaPatterns: ["zanistabot"] }, + { id: "iaskspider", name: "iaskspider", category: "ai_search_crawler", organization: "Unknown", baseScore: 70, respectsRobots: false, uaPatterns: ["iaskspider"] }, + { id: "anomura", name: "Anomura", category: "ai_search_crawler", organization: "Direqt", baseScore: 70, respectsRobots: true, uaPatterns: ["anomura/"] }, + { id: "channel3bot", name: "Channel3Bot", category: "ai_search_crawler", organization: "Channel3", baseScore: 70, respectsRobots: true, uaPatterns: ["channel3bot"] }, + { id: "prorata", name: "ProRata", category: "ai_search_crawler", organization: "ProRata.ai", baseScore: 70, respectsRobots: true, uaPatterns: ["proratainc"] }, { id: "operator", name: "Operator", category: "ai_agent", organization: "OpenAI", baseScore: 75, respectsRobots: true, uaPatterns: ["operator"] }, - { id: "claude-user", name: "Claude-User", category: "ai_agent", organization: "Anthropic", baseScore: 75, respectsRobots: true, uaPatterns: ["claude-user"] }, + { id: "claude-user", name: "Claude-User", category: "ai_agent", organization: "Anthropic", baseScore: 75, respectsRobots: true, uaPatterns: ["claude-user", "claude-code/"] }, { id: "gemini-user", name: "Gemini-User", category: "ai_agent", organization: "Google", baseScore: 75, respectsRobots: true, uaPatterns: ["gemini-user"] }, { id: "googleagent-mariner", name: "GoogleAgent-Mariner", category: "ai_agent", organization: "Google", baseScore: 75, respectsRobots: true, uaPatterns: ["googleagent-mariner", "mariner"] }, { id: "amazon-buyforme", name: "AmazonBuyForMe", category: "ai_agent", organization: "Amazon", baseScore: 70, respectsRobots: true, uaPatterns: ["amazonbuyforme", "buyforme"] }, @@ -148,6 +169,25 @@ export const BOT_REGISTRY: readonly BotAgent[] = [ { id: "manus-user", name: "Manus-User", category: "ai_agent", organization: "Manus", baseScore: 70, respectsRobots: false, uaPatterns: ["manus-user"] }, { id: "multion", name: "MultiOn", category: "ai_agent", organization: "MultiOn", baseScore: 70, respectsRobots: false, uaPatterns: ["multion"] }, { id: "opencode-user", name: "OpenCode-User", category: "ai_agent", organization: "OpenCode", baseScore: 75, respectsRobots: false, uaPatterns: ["opencode-user"] }, + { id: "google-agent", name: "Google-Agent", category: "ai_agent", organization: "Google", baseScore: 75, respectsRobots: false, uaPatterns: ["google-agent"] }, + { id: "googleagent-urlcontext", name: "GoogleAgent-URLContext", category: "ai_agent", organization: "Google", baseScore: 75, respectsRobots: false, uaPatterns: ["googleagent-urlcontext"] }, + { id: "google-antigravity", name: "Google Antigravity", category: "ai_agent", organization: "Google", baseScore: 75, respectsRobots: false, uaPatterns: ["google-jetski-antigravity"] }, + { id: "amzn-user", name: "Amzn-User", category: "ai_agent", organization: "Amazon", baseScore: 75, respectsRobots: false, uaPatterns: ["amzn-user"] }, + { id: "amazon-quick", name: "Amazon Quick", category: "ai_agent", organization: "Amazon", baseScore: 75, respectsRobots: false, uaPatterns: ["amazon-quick-on-behalf-of-"] }, + { id: "amazon-bedrock-agentcore-browser", name: "Amazon Bedrock AgentCore Browser", category: "ai_agent", organization: "Amazon", baseScore: 75, respectsRobots: false, uaPatterns: ["amazon-bedrock-agentcore-browser"] }, + { id: "kiro", name: "Kiro", category: "ai_agent", organization: "Amazon", baseScore: 75, respectsRobots: false, uaPatterns: ["kiroserver/"] }, + { id: "claude-agent", name: "Claude-Agent", category: "ai_agent", organization: "Anthropic", baseScore: 75, respectsRobots: false, uaPatterns: ["claude-agent/"] }, + { id: "grok-agent", name: "grok-agent", category: "ai_agent", organization: "xAI", baseScore: 75, respectsRobots: false, uaPatterns: ["grok-agent/"] }, + { id: "mozilla-tabstack", name: "Mozilla Tabstack", category: "ai_agent", organization: "Mozilla", baseScore: 75, respectsRobots: true, uaPatterns: ["mozilla-tabstack"] }, + { id: "isonai-user", name: "IsonAI-User", category: "ai_agent", organization: "IsonAI", baseScore: 75, respectsRobots: false, uaPatterns: ["isonai-user/"] }, + { id: "liner-user", name: "Liner-User", category: "ai_agent", organization: "Liner", baseScore: 75, respectsRobots: false, uaPatterns: ["liner-user/"] }, + { id: "minimax-agent", name: "MiniMaxAgent", category: "ai_agent", organization: "MiniMax", baseScore: 75, respectsRobots: false, uaPatterns: ["minimaxagent"] }, + { id: "qoder", name: "Qoder", category: "ai_agent", organization: "Qoder", baseScore: 75, respectsRobots: false, uaPatterns: ["qodercli"] }, + { id: "zcode", name: "ZCode", category: "ai_agent", organization: "ZCode", baseScore: 75, respectsRobots: false, uaPatterns: ["zcode-webfetch"] }, + { id: "augment-code", name: "Augment Code", category: "ai_agent", organization: "Augment Code", baseScore: 75, respectsRobots: false, uaPatterns: ["augment-webfetch"] }, + { id: "opencode-smartfetch", name: "opencode-smartfetch", category: "ai_agent", organization: "OpenCode", baseScore: 75, respectsRobots: false, uaPatterns: ["opencode-smartfetch"] }, + { id: "deepseek-harness", name: "deepseek-harness", category: "ai_agent", organization: "Unknown", baseScore: 75, respectsRobots: false, uaPatterns: ["deepseek-harness"] }, + { id: "agentdrivesagent", name: "AgentDrivesAgent", category: "ai_agent", organization: "AgentDrives", baseScore: 70, respectsRobots: false, uaPatterns: ["agentdrivesagent/"] }, { id: "jambot", name: "Jambot", category: "search_crawler", organization: "Jambot", baseScore: 40, respectsRobots: true, uaPatterns: ["jambot"] }, { id: "fyndbot", name: "fyndbot", category: "search_crawler", organization: "Fynd", baseScore: 40, respectsRobots: true, uaPatterns: ["fyndbot"] }, { id: "pexelsbot", name: "PexelsBot", category: "search_crawler", organization: "pexels.de", baseScore: 40, respectsRobots: true, uaPatterns: ["pexelsbot"] }, @@ -158,22 +198,31 @@ export const BOT_REGISTRY: readonly BotAgent[] = [ { id: "google-inspectiontool", name: "Google-InspectionTool", category: "search_crawler", organization: "Google", baseScore: 30, respectsRobots: true, uaPatterns: ["google-inspectiontool"] }, { id: "bingbot", name: "Bingbot", category: "search_crawler", organization: "Microsoft", baseScore: 30, respectsRobots: true, uaPatterns: ["bingbot"] }, { id: "msnbot", name: "MSNBot", category: "search_crawler", organization: "Microsoft", baseScore: 30, respectsRobots: true, uaPatterns: ["msnbot"] }, - { id: "yandexbot", name: "YandexBot", category: "search_crawler", organization: "Yandex", baseScore: 35, respectsRobots: true, uaPatterns: ["yandexbot"] }, + { id: "yandexbot", name: "YandexBot", category: "search_crawler", organization: "Yandex", baseScore: 35, respectsRobots: true, uaPatterns: ["yandexbot", "yandex.com/bots"] }, { id: "baiduspider", name: "Baiduspider", category: "search_crawler", organization: "Baidu", baseScore: 40, respectsRobots: true, uaPatterns: ["baiduspider"] }, { id: "petalbot", name: "PetalBot", category: "search_crawler", organization: "Huawei", baseScore: 40, respectsRobots: true, uaPatterns: ["petalbot"] }, { id: "duckduckbot", name: "DuckDuckBot", category: "search_crawler", organization: "DuckDuckGo", baseScore: 30, respectsRobots: true, uaPatterns: ["duckduckbot"] }, { id: "applebot", name: "Applebot", category: "search_crawler", organization: "Apple", baseScore: 30, respectsRobots: true, uaPatterns: ["applebot"] }, { id: "sogou", name: "Sogou Spider", category: "search_crawler", organization: "Sogou", baseScore: 40, respectsRobots: true, uaPatterns: ["sogou"] }, { id: "qwantify", name: "Qwantify", category: "search_crawler", organization: "Qwant", baseScore: 35, respectsRobots: true, uaPatterns: ["qwantify", "qwantbot"] }, - { id: "naver", name: "Naver", category: "search_crawler", organization: "Naver", baseScore: 35, respectsRobots: true, uaPatterns: ["naver", "yeti"] }, + { id: "naver", name: "Naver", category: "search_crawler", organization: "Naver", baseScore: 35, respectsRobots: true, uaPatterns: ["yeti/", "naverbot"] }, { id: "seznam", name: "SeznamBot", category: "search_crawler", organization: "Seznam", baseScore: 35, respectsRobots: true, uaPatterns: ["seznambot"] }, - { id: "ecosia", name: "Ecosia", category: "search_crawler", organization: "Ecosia", baseScore: 30, respectsRobots: true, uaPatterns: ["ecosia"] }, + { id: "ecosia", name: "Ecosia", category: "search_crawler", organization: "Ecosia", baseScore: 30, respectsRobots: true, uaPatterns: [] }, { id: "mojeek", name: "MojeekBot", category: "search_crawler", organization: "Mojeek", baseScore: 35, respectsRobots: true, uaPatterns: ["mojeekbot"] }, { id: "yahoo-slurp", name: "Yahoo! Slurp", category: "search_crawler", organization: "Yahoo", baseScore: 30, respectsRobots: true, uaPatterns: ["slurp"] }, { id: "bravebot", name: "Bravebot", category: "search_crawler", organization: "Brave", baseScore: 30, respectsRobots: true, uaPatterns: ["bravebot"] }, - { id: "coccocbot", name: "Coc Coc", category: "search_crawler", organization: "Coc Coc", baseScore: 35, respectsRobots: true, uaPatterns: ["coccocbot"] }, + { id: "coccocbot", name: "Coc Coc", category: "search_crawler", organization: "Coc Coc", baseScore: 35, respectsRobots: true, uaPatterns: ["coccocbot", "help.coccoc.com"] }, { id: "yisouspider", name: "YisouSpider", category: "search_crawler", organization: "Alibaba", baseScore: 40, respectsRobots: true, uaPatterns: ["yisouspider"] }, { id: "yepbot", name: "YepBot", category: "search_crawler", organization: "Ahrefs", baseScore: 30, respectsRobots: true, uaPatterns: ["yepbot"] }, + { id: "googleother", name: "GoogleOther", category: "search_crawler", organization: "Google", baseScore: 35, respectsRobots: true, uaPatterns: ["googleother"] }, + { id: "storebot-google", name: "Storebot-Google", category: "search_crawler", organization: "Google", baseScore: 30, respectsRobots: true, uaPatterns: ["storebot-google"] }, + { id: "geedo", name: "Geedo", category: "search_crawler", organization: "Geedo", baseScore: 35, respectsRobots: true, uaPatterns: ["geedoshopproductfinder", "geedoproductsearch", "geedobot"] }, + { id: "yacybot", name: "YaCy", category: "search_crawler", organization: "YaCy", baseScore: 35, respectsRobots: true, uaPatterns: ["yacybot"] }, + { id: "cl0q", name: "cl0q", category: "search_crawler", organization: "cl0q", baseScore: 30, respectsRobots: true, uaPatterns: ["cl0q-crawler", "cl0q-discovery", "cl0q-favicon"] }, + { id: "amazon-product-discovery", name: "Amazon Product Discovery", category: "search_crawler", organization: "Amazon", baseScore: 35, respectsRobots: true, uaPatterns: ["amazonproductdiscovery", "amazonsellerinitiatedlisting"] }, + { id: "officestorebot", name: "officestorebot", category: "search_crawler", organization: "Microsoft", baseScore: 30, respectsRobots: true, uaPatterns: ["officestorebot"] }, + { id: "semanticscholarbot", name: "SemanticScholarBot", category: "search_crawler", organization: "Allen Institute for AI", baseScore: 35, respectsRobots: true, uaPatterns: ["semanticscholarbot"] }, + { id: "ntentbot", name: "NTENTbot", category: "search_crawler", organization: "NTENT", baseScore: 35, respectsRobots: true, uaPatterns: ["ntentbot"] }, { id: "agentreadyscan", name: "AgentReadyScan", category: "seo_crawler", organization: "Agent Ready", baseScore: 45, respectsRobots: true, uaPatterns: ["agentreadyscan"] }, { id: "crawlcheck", name: "CrawlCheck", category: "seo_crawler", organization: "CrawlCheck", baseScore: 45, respectsRobots: true, uaPatterns: ["crawlcheck/"] }, { id: "kostobot", name: "KostoBot", category: "seo_crawler", organization: "Kosto", baseScore: 50, respectsRobots: true, uaPatterns: ["kostobot"] }, @@ -186,7 +235,7 @@ export const BOT_REGISTRY: readonly BotAgent[] = [ { id: "rogerbot", name: "Rogerbot", category: "seo_crawler", organization: "Moz", baseScore: 50, respectsRobots: true, uaPatterns: ["rogerbot"] }, { id: "screaming-frog", name: "Screaming Frog", category: "seo_crawler", organization: "Screaming Frog", baseScore: 55, respectsRobots: true, uaPatterns: ["screaming frog"] }, { id: "sitebulb", name: "Sitebulb", category: "seo_crawler", organization: "Sitebulb", baseScore: 55, respectsRobots: true, uaPatterns: ["sitebulb"] }, - { id: "deepcrawl", name: "DeepCrawl", category: "seo_crawler", organization: "Lumar", baseScore: 50, respectsRobots: true, uaPatterns: ["deepcrawl"] }, + { id: "deepcrawl", name: "DeepCrawl", category: "seo_crawler", organization: "Lumar", baseScore: 50, respectsRobots: true, uaPatterns: ["deepcrawl", "lumar"] }, { id: "oncrawl", name: "OnCrawl", category: "seo_crawler", organization: "OnCrawl", baseScore: 50, respectsRobots: true, uaPatterns: ["oncrawl"] }, { id: "botify", name: "Botify", category: "seo_crawler", organization: "Botify", baseScore: 50, respectsRobots: true, uaPatterns: ["botify"] }, { id: "contentking", name: "ContentKing", category: "seo_crawler", organization: "ContentKing", baseScore: 50, respectsRobots: true, uaPatterns: ["contentking"] }, @@ -202,7 +251,12 @@ export const BOT_REGISTRY: readonly BotAgent[] = [ { id: "awariobot", name: "AwarioBot", category: "seo_crawler", organization: "Awario", baseScore: 50, respectsRobots: true, uaPatterns: ["awariobot", "awariosmartbot"] }, { id: "seojuice-searchbot", name: "SEOJuice-SearchBot", category: "seo_crawler", organization: "SEOJuice", baseScore: 50, respectsRobots: true, uaPatterns: ["seojuice-searchbot"] }, { id: "trendictionbot", name: "trendictionbot", category: "seo_crawler", organization: "Talkwalker", baseScore: 50, respectsRobots: true, uaPatterns: ["trendictionbot"] }, - { id: "hubspot-crawler", name: "HubSpot Crawler", category: "seo_crawler", organization: "HubSpot", baseScore: 45, respectsRobots: true, uaPatterns: ["hubspot crawler"] }, + { id: "hubspot-crawler", name: "HubSpot Crawler", category: "seo_crawler", organization: "HubSpot", baseScore: 45, respectsRobots: true, uaPatterns: ["hubspot crawler", "hubspot webcrawler", "hubspot single page link check", "hubspot connect"] }, + { id: "brightedge", name: "BrightEdge Crawler", category: "seo_crawler", organization: "BrightEdge", baseScore: 45, respectsRobots: true, uaPatterns: ["brightedge crawler"] }, + { id: "se-ranking", name: "SE Ranking", category: "seo_crawler", organization: "SE Ranking", baseScore: 45, respectsRobots: true, uaPatterns: ["sebot-wa"] }, + { id: "searchatlas", name: "Search Atlas", category: "seo_crawler", organization: "Search Atlas", baseScore: 45, respectsRobots: true, uaPatterns: ["searchatlas"] }, + { id: "yextbot", name: "YextBot", category: "seo_crawler", organization: "Yext", baseScore: 45, respectsRobots: true, uaPatterns: ["yextbot"] }, + { id: "accessiblewebbot", name: "AccessibleWebBot", category: "seo_crawler", organization: "AccessibleWeb", baseScore: 35, respectsRobots: true, uaPatterns: ["accessiblewebbot"] }, { id: "bitsightbot", name: "BitSightBot", category: "security_scanner", organization: "BitSight", baseScore: 70, respectsRobots: false, uaPatterns: ["bitsightbot"] }, { id: "leakix", name: "LeakIX", category: "security_scanner", organization: "LeakIX", baseScore: 75, respectsRobots: false, uaPatterns: ["l9scan"] }, { id: "modatscanner", name: "ModatScanner", category: "security_scanner", organization: "Modat", baseScore: 75, respectsRobots: false, uaPatterns: ["modatscanner"] }, @@ -225,6 +279,9 @@ export const BOT_REGISTRY: readonly BotAgent[] = [ { id: "cloudflare-security-center", name: "Cloudflare Security Center", category: "security_scanner", organization: "Cloudflare", baseScore: 40, respectsRobots: false, uaPatterns: ["developers.cloudflare.com/security-center"] }, { id: "virustotal-cloud", name: "VirusTotal", category: "security_scanner", organization: "Google", baseScore: 40, respectsRobots: false, uaPatterns: ["virustotalcloud"] }, { id: "intruder", name: "Intruder", category: "security_scanner", organization: "Intruder", baseScore: 65, respectsRobots: false, uaPatterns: ["intruder"] }, + { id: "netcraft", name: "Netcraft", category: "security_scanner", organization: "Netcraft", baseScore: 55, respectsRobots: false, uaPatterns: ["netcraftsurveyagent"] }, + { id: "driftnet", name: "Driftnet", category: "security_scanner", organization: "Driftnet", baseScore: 60, respectsRobots: false, uaPatterns: ["internetmeasurement"] }, + { id: "t3versionsbot", name: "t3versionsBot", category: "security_scanner", organization: "t3versions", baseScore: 55, respectsRobots: true, uaPatterns: ["t3versionsbot"] }, { id: "norma", name: "Norma WebFetch", category: "generic_scraper", organization: "Open Source", baseScore: 70, respectsRobots: false, uaPatterns: ["norma/"] }, { id: "python-requests", name: "Python-Requests", category: "generic_scraper", organization: "Open Source", baseScore: 55, respectsRobots: false, uaPatterns: ["python-requests"] }, { id: "python-urllib", name: "Python-urllib", category: "generic_scraper", organization: "Python", baseScore: 55, respectsRobots: false, uaPatterns: ["python-urllib"] }, @@ -241,13 +298,17 @@ export const BOT_REGISTRY: readonly BotAgent[] = [ { id: "colly", name: "Colly", category: "generic_scraper", organization: "Open Source", baseScore: 65, respectsRobots: true, uaPatterns: ["colly"] }, { id: "java", name: "Java", category: "generic_scraper", organization: "Oracle", baseScore: 50, respectsRobots: false, uaPatterns: ["java/"] }, { id: "okhttp", name: "OkHttp", category: "generic_scraper", organization: "Square", baseScore: 55, respectsRobots: false, uaPatterns: ["okhttp"] }, - { id: "apache-httpclient", name: "Apache-HttpClient", category: "generic_scraper", organization: "Apache", baseScore: 55, respectsRobots: false, uaPatterns: ["apache-httpclient"] }, + { id: "apache-httpclient", name: "Apache-HttpClient", category: "generic_scraper", organization: "Apache", baseScore: 55, respectsRobots: false, uaPatterns: ["apache-httpclient/"] }, { id: "jsoup", name: "Jsoup", category: "generic_scraper", organization: "Open Source", baseScore: 60, respectsRobots: false, uaPatterns: ["jsoup"] }, { id: "guzzlehttp", name: "GuzzleHttp", category: "generic_scraper", organization: "Open Source", baseScore: 55, respectsRobots: false, uaPatterns: ["guzzlehttp"] }, { id: "php", name: "PHP", category: "generic_scraper", organization: "PHP", baseScore: 50, respectsRobots: false, uaPatterns: ["php/"] }, - { id: "ruby", name: "Ruby", category: "generic_scraper", organization: "Ruby", baseScore: 50, respectsRobots: false, uaPatterns: ["ruby"] }, + { id: "ruby", name: "Ruby", category: "generic_scraper", organization: "Ruby", baseScore: 50, respectsRobots: false, uaPatterns: ["ruby/"] }, { id: "faraday", name: "Faraday", category: "generic_scraper", organization: "Open Source", baseScore: 55, respectsRobots: false, uaPatterns: ["faraday"] }, { id: "mechanize", name: "Mechanize", category: "generic_scraper", organization: "Open Source", baseScore: 60, respectsRobots: false, uaPatterns: ["mechanize"] }, + { id: "nutch", name: "Apache Nutch", category: "generic_scraper", organization: "Apache", baseScore: 60, respectsRobots: true, uaPatterns: ["nutch"] }, + { id: "grub", name: "Grub", category: "generic_scraper", organization: "Open Source", baseScore: 60, respectsRobots: false, uaPatterns: ["grub-client"] }, + { id: "crawl4ai", name: "Crawl4AI", category: "generic_scraper", organization: "Open Source", baseScore: 65, respectsRobots: false, uaPatterns: ["crawl4ai"] }, + { id: "deno", name: "Deno", category: "generic_scraper", organization: "Deno", baseScore: 55, respectsRobots: false, uaPatterns: ["deno/"] }, { id: "headlesschrome", name: "HeadlessChrome", category: "headless_browser", organization: "Google", baseScore: 70, respectsRobots: false, uaPatterns: ["headlesschrome"] }, { id: "puppeteer", name: "Puppeteer", category: "headless_browser", organization: "Google", baseScore: 70, respectsRobots: false, uaPatterns: ["puppeteer"] }, { id: "playwright", name: "Playwright", category: "headless_browser", organization: "Microsoft", baseScore: 70, respectsRobots: false, uaPatterns: ["playwright"] }, @@ -262,7 +323,9 @@ export const BOT_REGISTRY: readonly BotAgent[] = [ { id: "heritrix", name: "Heritrix", category: "archiver", organization: "Internet Archive", baseScore: 30, respectsRobots: true, uaPatterns: ["heritrix"] }, { id: "brozzler", name: "Brozzler", category: "archiver", organization: "Internet Archive", baseScore: 30, respectsRobots: true, uaPatterns: ["brozzler"] }, { id: "findfiles-linkchecker", name: "FindFiles.net LinkChecker", category: "fetcher", organization: "FindFiles.net", baseScore: 30, respectsRobots: true, uaPatterns: ["findfiles.net-linkchecker"] }, + { id: "findfiles-bot", name: "FindFiles.net", category: "fetcher", organization: "FindFiles.net", baseScore: 30, respectsRobots: true, uaPatterns: ["findfiles.net/", "findfiles.net-faviconfetcher"] }, { id: "hstspreload-bot", name: "hstspreload-bot", category: "fetcher", organization: "Chromium", baseScore: 20, respectsRobots: false, uaPatterns: ["hstspreload-bot"] }, + { id: "google-messages", name: "GoogleMessages", category: "fetcher", organization: "Google", baseScore: 25, respectsRobots: false, uaPatterns: ["googlemessages"] }, { id: "facebookexternalhit", name: "Facebook", category: "fetcher", organization: "Meta", baseScore: 25, respectsRobots: true, uaPatterns: ["facebookexternalhit"] }, { id: "facebot", name: "Facebot", category: "fetcher", organization: "Meta", baseScore: 25, respectsRobots: true, uaPatterns: ["facebot"] }, { id: "twitterbot", name: "Twitterbot", category: "fetcher", organization: "X Corp", baseScore: 25, respectsRobots: true, uaPatterns: ["twitterbot"] }, @@ -282,6 +345,36 @@ export const BOT_REGISTRY: readonly BotAgent[] = [ { id: "google-safety", name: "Google-Safety", category: "fetcher", organization: "Google", baseScore: 25, respectsRobots: false, uaPatterns: ["google-safety"] }, { id: "oai-adsbot", name: "OAI-AdsBot", category: "fetcher", organization: "OpenAI", baseScore: 30, respectsRobots: true, uaPatterns: ["oai-adsbot"] }, { id: "kakaobot", name: "KakaoBot", category: "fetcher", organization: "Kakao", baseScore: 25, respectsRobots: true, uaPatterns: ["kakaobot"] }, + { id: "meta-externalhit", name: "Meta-ExternalHit", category: "fetcher", organization: "Meta", baseScore: 25, respectsRobots: true, uaPatterns: ["meta-externalhit"] }, + { id: "facebookcatalog", name: "facebookcatalog", category: "fetcher", organization: "Meta", baseScore: 30, respectsRobots: true, uaPatterns: ["facebookcatalog/"] }, + { id: "slack-imgproxy", name: "Slack-ImgProxy", category: "fetcher", organization: "Slack", baseScore: 25, respectsRobots: true, uaPatterns: ["slack-imgproxy"] }, + { id: "skypeuripreview", name: "SkypeUriPreview", category: "fetcher", organization: "Microsoft", baseScore: 25, respectsRobots: true, uaPatterns: ["skypeuripreview"] }, + { id: "bingpreview", name: "BingPreview", category: "fetcher", organization: "Microsoft", baseScore: 25, respectsRobots: true, uaPatterns: ["bingpreview/"] }, + { id: "microsoftpreview", name: "MicrosoftPreview", category: "fetcher", organization: "Microsoft", baseScore: 25, respectsRobots: true, uaPatterns: ["microsoftpreview/"] }, + { id: "snap-url-preview", name: "Snap URL Preview", category: "fetcher", organization: "Snap", baseScore: 25, respectsRobots: true, uaPatterns: ["snap url preview service"] }, + { id: "keybasebot", name: "KeybaseBot", category: "fetcher", organization: "Keybase", baseScore: 25, respectsRobots: true, uaPatterns: ["keybasebot"] }, + { id: "mastodon", name: "Mastodon", category: "fetcher", organization: "Open Source", baseScore: 25, respectsRobots: false, uaPatterns: ["mastodon/"] }, + { id: "summalybot", name: "SummalyBot", category: "fetcher", organization: "Open Source", baseScore: 25, respectsRobots: false, uaPatterns: ["summalybot"] }, + { id: "tiktokspider", name: "TikTokSpider", category: "fetcher", organization: "Unknown", baseScore: 40, respectsRobots: false, uaPatterns: ["tiktokspider"] }, + { id: "nextcloud", name: "Nextcloud", category: "fetcher", organization: "Open Source", baseScore: 25, respectsRobots: false, uaPatterns: ["nextcloud-server-crawler", "nextcloud-news"] }, + { id: "wordpress-site", name: "WordPress site", category: "fetcher", organization: "Open Source", baseScore: 30, respectsRobots: false, uaPatterns: ["wordpress/"] }, + { id: "google-web-preview", name: "Google Web Preview", category: "fetcher", organization: "Google", baseScore: 25, respectsRobots: false, uaPatterns: ["google web preview", "google-pagerenderer"] }, + { id: "google-favicon", name: "Google Favicon", category: "fetcher", organization: "Google", baseScore: 20, respectsRobots: false, uaPatterns: ["google favicon"] }, + { id: "googleimageproxy", name: "GoogleImageProxy", category: "fetcher", organization: "Google", baseScore: 20, respectsRobots: false, uaPatterns: ["googleimageproxy"] }, + { id: "google-cws", name: "Google-CWS", category: "fetcher", organization: "Google", baseScore: 20, respectsRobots: false, uaPatterns: ["google-cws"] }, + { id: "google-pinpoint", name: "Google-Pinpoint", category: "fetcher", organization: "Google", baseScore: 20, respectsRobots: false, uaPatterns: ["google-pinpoint"] }, + { id: "google-site-verification", name: "Google-Site-Verification", category: "fetcher", organization: "Google", baseScore: 20, respectsRobots: false, uaPatterns: ["google-site-verification"] }, + { id: "googleassociationservice", name: "GoogleAssociationService", category: "fetcher", organization: "Google", baseScore: 20, respectsRobots: false, uaPatterns: ["googleassociationservice"] }, + { id: "aasa-bot", name: "AASA-Bot", category: "fetcher", organization: "Apple", baseScore: 20, respectsRobots: false, uaPatterns: ["aasa-bot"] }, + { id: "apis-google", name: "APIs-Google", category: "fetcher", organization: "Google", baseScore: 20, respectsRobots: false, uaPatterns: ["apis-google"] }, + { id: "duplexweb-google", name: "DuplexWeb-Google", category: "fetcher", organization: "Google", baseScore: 25, respectsRobots: false, uaPatterns: ["duplexweb-google"] }, + { id: "google-xrawler", name: "google-xrawler", category: "fetcher", organization: "Google", baseScore: 25, respectsRobots: false, uaPatterns: ["google-xrawler"] }, + { id: "google-physicalweb", name: "Google-PhysicalWeb", category: "fetcher", organization: "Google", baseScore: 25, respectsRobots: false, uaPatterns: ["google-physicalweb"] }, + { id: "mediapartners-google", name: "Mediapartners-Google", category: "fetcher", organization: "Google", baseScore: 25, respectsRobots: true, uaPatterns: ["mediapartners-google"] }, + { id: "google-ads-landing", name: "Google Ads fetchers", category: "fetcher", organization: "Google", baseScore: 25, respectsRobots: false, uaPatterns: ["google-adwords-instant", "google-display-ads-bot", "google-ads-conversions"] }, + { id: "amazonadbot", name: "AmazonAdBot", category: "fetcher", organization: "Amazon", baseScore: 25, respectsRobots: true, uaPatterns: ["amazonadbot"] }, + { id: "integral-ad-science", name: "IAS crawler", category: "fetcher", organization: "Integral Ad Science", baseScore: 30, respectsRobots: true, uaPatterns: ["ias_crawler"] }, + { id: "safednsbot", name: "SafeDNSBot", category: "fetcher", organization: "SafeDNS", baseScore: 30, respectsRobots: true, uaPatterns: ["safednsbot"] }, { id: "curl", name: "cURL", category: "fetcher", organization: "Open Source", baseScore: 45, respectsRobots: false, uaPatterns: ["curl/"] }, { id: "wget", name: "Wget", category: "fetcher", organization: "GNU", baseScore: 45, respectsRobots: false, uaPatterns: ["wget/"] }, { id: "libwww-perl", name: "libwww-perl", category: "fetcher", organization: "Perl", baseScore: 50, respectsRobots: false, uaPatterns: ["libwww-perl"] }, @@ -301,11 +394,23 @@ export const BOT_REGISTRY: readonly BotAgent[] = [ { id: "nodeping", name: "NodePing", category: "monitoring", organization: "NodePing", baseScore: 20, respectsRobots: true, uaPatterns: ["nodeping"] }, { id: "gtmetrix", name: "GTmetrix", category: "monitoring", organization: "GTmetrix", baseScore: 20, respectsRobots: true, uaPatterns: ["gtmetrix"] }, { id: "chrome-lighthouse", name: "Lighthouse", category: "monitoring", organization: "Google", baseScore: 20, respectsRobots: true, uaPatterns: ["chrome-lighthouse", "google page speed"] }, + { id: "google-structured-data-testing-tool", name: "Google Structured Data Testing Tool", category: "monitoring", organization: "Google", baseScore: 15, respectsRobots: false, uaPatterns: ["google-structured-data-testing-tool"] }, + { id: "google-search-console", name: "Google Search Console", category: "monitoring", organization: "Google", baseScore: 15, respectsRobots: false, uaPatterns: ["google search console"] }, + { id: "google-certificates-bridge", name: "Google-Certificates-Bridge", category: "monitoring", organization: "Google", baseScore: 15, respectsRobots: false, uaPatterns: ["google-certificates-bridge"] }, + { id: "google-cloud-monitoring", name: "Google Cloud Monitoring", category: "monitoring", organization: "Google", baseScore: 15, respectsRobots: false, uaPatterns: ["googlestackdrivermonitoring"] }, + { id: "azure-app-insights", name: "Azure Application Insights", category: "monitoring", organization: "Microsoft", baseScore: 15, respectsRobots: false, uaPatterns: ["appinsights"] }, + { id: "route53-health-check", name: "Route 53 Health Check", category: "monitoring", organization: "Amazon", baseScore: 15, respectsRobots: false, uaPatterns: ["amazon route 53 health check service"] }, + { id: "webpagetest", name: "WebPageTest", category: "monitoring", organization: "Catchpoint", baseScore: 15, respectsRobots: false, uaPatterns: ["ptst/"] }, + { id: "2ip-bot", name: "2ip bot", category: "monitoring", organization: "2ip", baseScore: 20, respectsRobots: false, uaPatterns: ["2ip bot"] }, + { id: "abevalbot", name: "ABEvalBot", category: "monitoring", organization: "Unknown", baseScore: 30, respectsRobots: false, uaPatterns: ["abevalbot"] }, + { id: "hanaleibot", name: "HanaleiBot", category: "monitoring", organization: "Unknown", baseScore: 30, respectsRobots: false, uaPatterns: ["hanaleibot"] }, + { id: "pomothy-bot", name: "Pomothy-Bot", category: "monitoring", organization: "Unknown", baseScore: 30, respectsRobots: false, uaPatterns: ["pomothy-bot"] }, { id: "andifeedbot", name: "AndiFeedBot", category: "feed_reader", organization: "Andi", baseScore: 30, respectsRobots: true, uaPatterns: ["andifeedbot"] }, { id: "librarianbot", name: "LibrarianBot", category: "feed_reader", organization: "GenioFab", baseScore: 30, respectsRobots: true, uaPatterns: ["librarianbot"] }, { id: "oursignal", name: "oursignal", category: "feed_reader", organization: "oursignal", baseScore: 25, respectsRobots: true, uaPatterns: ["oursignal/"] }, { id: "feedly", name: "Feedly", category: "feed_reader", organization: "Feedly", baseScore: 25, respectsRobots: true, uaPatterns: ["feedly"] }, { id: "livelapbot", name: "LivelapBot", category: "feed_reader", organization: "Livelap", baseScore: 30, respectsRobots: true, uaPatterns: ["livelapbot"] }, + { id: "feedspot", name: "Feedspot", category: "feed_reader", organization: "Feedspot", baseScore: 25, respectsRobots: true, uaPatterns: ["feedspot"] }, { id: "feedfetcher-google", name: "Feedfetcher-Google", category: "feed_reader", organization: "Google", baseScore: 25, respectsRobots: true, uaPatterns: ["feedfetcher"] }, { id: "newsblur", name: "NewsBlur", category: "feed_reader", organization: "NewsBlur", baseScore: 25, respectsRobots: true, uaPatterns: ["newsblur"] }, { id: "inoreader", name: "Inoreader", category: "feed_reader", organization: "Inoreader", baseScore: 25, respectsRobots: true, uaPatterns: ["inoreader"] }, @@ -314,6 +419,11 @@ export const BOT_REGISTRY: readonly BotAgent[] = [ { id: "miniflux", name: "Miniflux", category: "feed_reader", organization: "Open Source", baseScore: 25, respectsRobots: true, uaPatterns: ["miniflux"] }, { id: "freshrss", name: "FreshRSS", category: "feed_reader", organization: "Open Source", baseScore: 25, respectsRobots: true, uaPatterns: ["freshrss"] }, { id: "commafeed", name: "CommaFeed", category: "feed_reader", organization: "Open Source", baseScore: 25, respectsRobots: true, uaPatterns: ["commafeed"] }, + { id: "google-producer", name: "GoogleProducer", category: "feed_reader", organization: "Google", baseScore: 20, respectsRobots: false, uaPatterns: ["googleproducer"] }, + { id: "feeder-co", name: "Feeder", category: "feed_reader", organization: "Feeder", baseScore: 25, respectsRobots: true, uaPatterns: ["feeder.co"] }, + { id: "rssbot", name: "RSSBot", category: "feed_reader", organization: "Open Source", baseScore: 25, respectsRobots: false, uaPatterns: ["rssbot/"] }, + { id: "hatena", name: "Hatena", category: "feed_reader", organization: "Hatena", baseScore: 25, respectsRobots: false, uaPatterns: ["hatena"] }, + { id: "newsai", name: "newsai", category: "feed_reader", organization: "Unknown", baseScore: 40, respectsRobots: false, uaPatterns: ["newsai/"] }, { id: "tphotobot", name: "tphotobot", category: "commercial_scraper", organization: "Estidraft", baseScore: 50, respectsRobots: true, uaPatterns: ["tphotobot"] }, { id: "bangobot", name: "BangoBot", category: "commercial_scraper", organization: "Bango API", baseScore: 55, respectsRobots: false, uaPatterns: ["bangobot"] }, { id: "kamatabot", name: "KamataBot", category: "commercial_scraper", organization: "Kamata", baseScore: 55, respectsRobots: true, uaPatterns: ["kamatabot"] }, @@ -337,6 +447,21 @@ export const BOT_REGISTRY: readonly BotAgent[] = [ { id: "apify", name: "Apify", category: "commercial_scraper", organization: "Apify", baseScore: 65, respectsRobots: true, uaPatterns: ["apify"] }, { id: "crawlbase", name: "Crawlbase", category: "commercial_scraper", organization: "Crawlbase", baseScore: 65, respectsRobots: true, uaPatterns: ["crawlbase"] }, { id: "webscrapingapi", name: "WebScrapingAPI", category: "commercial_scraper", organization: "WebScrapingAPI", baseScore: 65, respectsRobots: true, uaPatterns: ["webscrapingapi"] }, + { id: "firecrawl", name: "Firecrawl", category: "commercial_scraper", organization: "Firecrawl", baseScore: 65, respectsRobots: true, uaPatterns: ["firecrawlagent"] }, + { id: "crawlspace", name: "Crawlspace", category: "commercial_scraper", organization: "Crawlspace", baseScore: 65, respectsRobots: true, uaPatterns: ["crawlspace"] }, + { id: "imagesiftbot", name: "ImagesiftBot", category: "commercial_scraper", organization: "Hive", baseScore: 65, respectsRobots: true, uaPatterns: ["imagesiftbot"] }, + { id: "dataprovider", name: "Dataprovider.com", category: "commercial_scraper", organization: "Dataprovider.com", baseScore: 60, respectsRobots: true, uaPatterns: ["dataprovider.com"] }, + { id: "mixrankbot", name: "MixrankBot", category: "commercial_scraper", organization: "MixRank", baseScore: 60, respectsRobots: true, uaPatterns: ["mixrankbot"] }, + { id: "domaincrawler", name: "DomainCrawler", category: "commercial_scraper", organization: "DomainCrawler", baseScore: 60, respectsRobots: true, uaPatterns: ["domaincrawler"] }, + { id: "linkfluence", name: "Linkfluence", category: "commercial_scraper", organization: "Linkfluence", baseScore: 55, respectsRobots: true, uaPatterns: ["linkfluence"] }, + { id: "ubermetrics", name: "Ubermetrics", category: "commercial_scraper", organization: "Ubermetrics", baseScore: 55, respectsRobots: true, uaPatterns: ["ubermetrics-technologies.com", "um-ln/"] }, + { id: "mediatoolkitbot", name: "Mediatoolkitbot", category: "commercial_scraper", organization: "Mediatoolkit", baseScore: 55, respectsRobots: true, uaPatterns: ["mediatoolkitbot"] }, + { id: "infegy", name: "Infegy", category: "commercial_scraper", organization: "Infegy", baseScore: 55, respectsRobots: true, uaPatterns: ["collection@infegy.com"] }, + { id: "storygizebot", name: "StorygizeBot", category: "commercial_scraper", organization: "Storygize", baseScore: 55, respectsRobots: true, uaPatterns: ["storygizebot"] }, + { id: "aihitbot", name: "aiHitBot", category: "commercial_scraper", organization: "aiHit", baseScore: 60, respectsRobots: true, uaPatterns: ["aihitbot"] }, + { id: "turnitinbot", name: "TurnitinBot", category: "commercial_scraper", organization: "Turnitin", baseScore: 55, respectsRobots: true, uaPatterns: ["turnitin"] }, + { id: "primalbot", name: "Primalbot", category: "commercial_scraper", organization: "Primal", baseScore: 55, respectsRobots: true, uaPatterns: ["primalbot"] }, + { id: "gluten-free-crawler", name: "Gluten Free Crawler", category: "commercial_scraper", organization: "Unknown", baseScore: 55, respectsRobots: false, uaPatterns: ["gluten free crawler"] }, { id: "andi-user", name: "Andi-User", category: "ai_assistant", organization: "Andi", baseScore: 60, respectsRobots: false, uaPatterns: ["andi-user"] }, { id: "chatgpt-user", name: "ChatGPT-User", category: "ai_assistant", organization: "OpenAI", baseScore: 85, respectsRobots: true, uaPatterns: ["chatgpt-user"] }, { id: "perplexity-user", name: "Perplexity-User", category: "ai_assistant", organization: "Perplexity AI", baseScore: 75, respectsRobots: false, uaPatterns: ["perplexity-user"] }, @@ -352,4 +477,5 @@ export const BOT_REGISTRY: readonly BotAgent[] = [ { id: "keenable-user", name: "Keenable-User", category: "ai_assistant", organization: "Keenable", baseScore: 70, respectsRobots: true, uaPatterns: ["keenable-user"] }, { id: "elevenlabsbot", name: "ElevenlabsBot", category: "ai_assistant", organization: "ElevenLabs", baseScore: 70, respectsRobots: true, uaPatterns: ["elevenlabsbot"] }, { id: "klaviyoaibot", name: "KlaviyoAIBot", category: "ai_assistant", organization: "Klaviyo", baseScore: 60, respectsRobots: true, uaPatterns: ["klaviyoaibot"] }, + { id: "google-notebooklm", name: "Google-NotebookLM", category: "ai_assistant", organization: "Google", baseScore: 60, respectsRobots: false, uaPatterns: ["google-notebooklm", "google-gemininotebook"] }, ]; diff --git a/packages/webdecoy/src/clearance/gate.generated.js b/packages/webdecoy/src/clearance/gate.generated.js index 708bf8f..98a4579 100644 --- a/packages/webdecoy/src/clearance/gate.generated.js +++ b/packages/webdecoy/src/clearance/gate.generated.js @@ -1,7 +1,7 @@ // GENERATED by WebDecoy edge/vercel-validator/scripts/bundle.mjs. DO NOT EDIT. -// Build vercel-3e117311b62d. Regenerate from the validator source; gate-bundle.test.ts fails on a hand edit. -var R={"chat.deepseek.com":"DeepSeek","chat.openai.com":"ChatGPT","chatgpt.com":"ChatGPT","claude.ai":"Claude","copilot.microsoft.com":"Copilot","deepseek.com":"DeepSeek","gemini.google.com":"Gemini","grok.com":"Grok","kagi.com":"Kagi","meta.ai":"Meta AI","perplexity.ai":"Perplexity","phind.com":"Phind","www.deepseek.com":"DeepSeek","www.grok.com":"Grok","www.kagi.com":"Kagi","www.meta.ai":"Meta AI","www.perplexity.ai":"Perplexity","www.phind.com":"Phind","www.you.com":"You.com","you.com":"You.com"};var ot=["utm_source","ref","utm_medium"],ie=500;function at(e,t){let r=(e??"").trim();if(r)try{return R[new URL(r).hostname.toLowerCase()]??""}catch{return""}let n;try{n=new URL(t)}catch{return""}for(let o of ot)for(let a of n.searchParams.getAll(o)){let i=it(a);if(i)return i}return""}var se=e=>e.replace(/[ \-_.]/g,"");function it(e){let t=e.trim().toLowerCase();if(!t)return"";try{let n=new URL(t).hostname;n&&(t=n.toLowerCase())}catch{}if(t=t.replace(/\.$/,""),R[t])return R[t];let r=se(t);for(let[n,o]of Object.entries(R))if(r===se(o.toLowerCase())||r===n.replace(/^www\./,"").replace(/\./g,""))return o;return""}function ce(e,t){if(e.method!=="GET")return null;let r=e.headers;if(r.get("sec-fetch-mode")!=="navigate")return null;let n=r.get("sec-fetch-dest");if(n&&n!=="document")return null;let o=at(r.get("referer")??"",t.toString());if(!o)return null;let a=t.pathname||"/";return a.length>ie&&(a=a.slice(0,ie)),{platform:o,path:a}}var st="web-bot-auth";async function le(e,t){let r=e.headers.get("signature-input"),n=e.headers.get("signature");if(!r&&!n)return{status:"none"};if(!r||!n)return{status:"invalid"};if(!t||t.length===0)return{status:"unknown_key"};let o,a;try{o=pt(r),a=ht(n)}catch{return{status:"invalid"}}let i=!1,s=!1;for(let c of o){if(c.params.get("tag")!==st)continue;i=!0;let g=a.get(c.label);if(!g)continue;let l=c.params.get("keyid");if(typeof l!="string")continue;let h;try{h=ct(e,c)}catch{s||=t.some(f=>f.keyid===l);continue}let p=t.find(f=>{if(f.keyid!==l)return!1;try{return ue(f.directory)===h}catch{return!1}});if(!p)continue;s=!0;let w=Date.now()/1e3,b=c.params.get("created"),v=c.params.get("expires");if(typeof b!="number"||typeof v!="number"||w>=v+10||w+101440*60||!c.components.some(f=>f.name==="@authority"||f.name==="@target-uri"))continue;let d;try{d=ut(e,c)}catch{continue}let u=!1;try{let f=await crypto.subtle.importKey("raw",he(p.public_key),{name:"Ed25519"},!1,["verify"]);u=await crypto.subtle.verify({name:"Ed25519"},f,g,new TextEncoder().encode(d))}catch{u=!1}if(u)return{status:"verified",name:p.name,category:p.category,keyid:l}}return s?{status:"invalid"}:i?{status:"unknown_key"}:{status:"none"}}function ct(e,t){let r=e.headers.get("signature-agent");if(r===null)throw new Error("missing signature-agent");let n=t.components.find(i=>i.name.toLowerCase()==="signature-agent");if(!n)throw new Error("signature-agent is not covered");let o=r.trim(),a;if(o.startsWith('"')){if(n.keyParam!==void 0)throw new Error("legacy string cannot select a member");let i=new T(o);if(a=pe(i),i.skipSP(),!i.eof())throw new Error("trailing signature-agent data")}else{if(n.keyParam===void 0)throw new Error("dictionary member is not covered");let i=O(o).find(c=>c.key===n.keyParam),s=i?.items[0];if(!i||i.isList||i.items.length!==1||typeof s?.value!="string")throw new Error("signature-agent member is not a string");if(s.hasParams)throw new Error("signature-agent member carries parameters");a=s.value}return ue(a)}var lt="/.well-known/http-message-signatures-directory";function ue(e){if(!/^https:\/\/[^/\\]/i.test(e))throw new Error("signature-agent must be an https URL");let t=new URL(e);if(t.protocol!=="https:"||!t.hostname||t.username||t.password)throw new Error("signature-agent must be an https URL");t.hash="";let r=t.href.includes("?"),n=t.pathname;return n==="/"&&!r&&(n=lt),n=n.replace(/%[0-9a-f]{2}/gi,o=>o.toUpperCase()),`https://${V(t)}${n}`}function ut(e,t){let r=new URL(e.url),n=[];for(let o of t.components)n.push(`${gt(o)}: ${dt(e,r,o)}`);return n.push(`"@signature-params": ${t.raw.trim()}`),n.join(` -`)}function gt(e){let t=`"${e.name.toLowerCase()}"`;return e.keyParam!==void 0?`${t};key="${e.keyParam}"`:t}function dt(e,t,r){let n=r.name.toLowerCase();if(n==="@authority")return V(t);if(n==="@target-uri")return`${t.protocol}//${V(t)}${t.pathname}${t.search}`;if(n==="signature-agent"){let o=e.headers.get("signature-agent");if(o===null)throw new Error("signature-agent covered but absent");return r.keyParam!==void 0?ft(o,r.keyParam):o.trim().replace(/\s+/g," ")}throw new Error(`unsupported covered component ${n}`)}function V(e){let t=e.hostname.toLowerCase(),r=e.port;return!r||e.protocol==="https:"&&r==="443"||e.protocol==="http:"&&r==="80"?t:`${t}:${r}`}function ft(e,t){let n=O(e).find(o=>o.key===t);if(!n)throw new Error(`signature-agent has no member ${t}`);return n.raw}function pt(e){return O(e).map(r=>{if(!r.isList)throw new Error(`Signature-Input member ${r.key} is not an inner list`);let n=r.items.map(o=>{if(typeof o.value!="string")throw new Error("component identifier is not a string");let a=o.params.get("key");return{name:o.value,keyParam:typeof a=="string"?a:void 0}});return{label:r.key,components:n,params:r.params,raw:r.raw}})}function ht(e){let t=O(e),r=new Map;for(let n of t){if(n.isList||n.items.length!==1)throw new Error(`Signature member ${n.key} is not a byte sequence`);let o=n.items[0].bytes;if(!o)throw new Error(`Signature member ${n.key} is not a byte sequence`);r.set(n.key,o)}return r}var T=class{constructor(t,r=0){this.s=t;this.i=r}eof(){return this.i>=this.s.length}peek(){return this.s[this.i]}skipSP(){for(;!this.eof()&&(this.peek()===" "||this.peek()===" ");)this.i++}};function O(e){let t=new T(e),r=[];for(t.skipSP();!t.eof();){let o={key:de(t),raw:"",isList:!1,items:[],params:new Map};if(!t.eof()&&t.peek()==="="){t.i++;let a=t.i;if(!t.eof()&&t.peek()==="(")o.isList=!0,mt(t,o);else{let{value:i,params:s,hasParams:c,bytes:g}=ge(t);o.items.push({value:i,params:s,hasParams:c,...g?{bytes:g}:{}})}o.raw=e.slice(a,t.i)}else o.params=z(t),o.items.push({value:!0,params:new Map});if(r.push(o),t.skipSP(),t.eof())break;if(t.peek()!==",")throw new Error(`expected ',' at ${t.i}`);if(t.i++,t.skipSP(),t.eof())throw new Error("trailing comma")}return r}function mt(e,t){for(e.i++;;){if(e.skipSP(),e.eof())throw new Error("unterminated inner list");if(e.peek()===")"){e.i++;break}let{value:r,params:n}=ge(e);if(t.items.push({value:r,params:n}),e.eof())throw new Error("unterminated inner list");let o=e.peek();if(o!==" "&&o!==")")throw new Error(`bad inner list at ${e.i}`)}t.params=z(e)}function ge(e){let{value:t,bytes:r}=fe(e),n=!e.eof()&&e.peek()===";",o=z(e);return{value:t,params:o,hasParams:n,bytes:r}}function z(e){let t=new Map;for(;!e.eof()&&e.peek()===";";){e.i++,e.skipSP();let r=de(e),n=!0;if(!e.eof()&&e.peek()==="="){e.i++;let o=fe(e);n=(typeof o.value=="boolean",o.value)}typeof n!="boolean"&&t.set(r,n)}return t}function de(e){let t=e.peek();if(!t||!/[a-z*]/.test(t))throw new Error(`invalid key at ${e.i}`);let r=e.i;for(;!e.eof()&&/[a-z0-9_\-.*]/.test(e.peek());)e.i++;return e.s.slice(r,e.i)}function fe(e){let t=e.peek();if(t==='"')return{value:pe(e)};if(t===":")return{value:"",bytes:wt(e)};if(t==="?"){e.i++;let r=e.peek();if(e.i++,r==="1")return{value:!0};if(r==="0")return{value:!1};throw new Error("bad boolean")}if(t==="-"||/[0-9]/.test(t))return{value:bt(e)};if(/[a-zA-Z*]/.test(t))return{value:yt(e)};throw new Error(`invalid bare item at ${e.i}`)}function pe(e){e.i++;let t="";for(;!e.eof();){let r=e.s[e.i++];if(r==='"')return t;if(r==="\\"){let n=e.s[e.i++];if(n!=='"'&&n!=="\\")throw new Error("bad escape");t+=n}else{let n=r.charCodeAt(0);if(n<32||n>126)throw new Error("bad char in string");t+=r}}throw new Error("unterminated string")}function wt(e){e.i++;let t=e.i;for(;!e.eof()&&e.peek()!==":";)e.i++;if(e.eof())throw new Error("unterminated byte sequence");let r=e.s.slice(t,e.i);return e.i++,he(r)}function bt(e){let t=e.i;for(e.peek()==="-"&&e.i++;!e.eof()&&/[0-9]/.test(e.peek());)e.i++;if(!e.eof()&&e.peek()===".")for(e.i++;!e.eof()&&/[0-9]/.test(e.peek());)e.i++;return Number(e.s.slice(t,e.i))}function yt(e){let t=e.i;for(e.i++;!e.eof()&&/[a-zA-Z0-9!#$%&'*+\-.^_`|~:/]/.test(e.peek());)e.i++;return e.s.slice(t,e.i)}function he(e){let t=atob(e),r=new Uint8Array(new ArrayBuffer(t.length));for(let n=0;n0?Object.keys(F).find(t=>F[t]===e)??"":""}function we(e){return e=_t(e),e=kt(e),e.toLowerCase()}function _t(e){for(let t=0;t<4;t++){let r=xt(e);if(r===e)break;e=r}return e}function xt(e){if(!e.includes("%"))return e;let t="";for(let r=0;r=0&&o>=0){let a=n<<4|o;if(a<128){t+=String.fromCharCode(a),r+=2;continue}}}t+=e[r]}return t}function be(e){return e>=48&&e<=57?e-48:e>=97&&e<=102?e-97+10:e>=65&&e<=70?e-65+10:-1}function kt(e){if(e==="")return e;let t=e.length>1&&e[e.length-1]==="/",r=[];for(let o of e.split("/"))if(!(o===""||o===".")){if(o===".."){r.length>0&&r.pop();continue}r.push(o)}let n="/"+r.join("/");return t&&n!=="/"&&(n+="/"),n}function M(e,t){let r=we(e),n=we(t);if(n.endsWith("/*")){let o=n.slice(0,-2);return o===""?!0:r===o||r.startsWith(o+"/")}return r===n}function I(e){return e.endsWith("/*")?e.length-2:1<<20}function ye(e,t,r){let n=new Map,o=new Set,a=[],i=[],s=new Map,c=(u,f)=>{let _=new Set(u);for(let C of f)for(let B of s.get(C)??[])_.add(B);return _.size===0?void 0:[..._].sort()},g=(u,f,_)=>_?{pattern:u,required_trust:f,refused_behaviors:_}:{pattern:u,required_trust:f};for(let u of t){if(!M(e,u.pattern))continue;if((u.exceptions??[]).some(C=>M(e,C))){i.push(u.pattern);continue}let f=n.get(u.pattern);f===void 0&&a.push(u.pattern);let _=vt(u.min_trust);(f===void 0||_>f)&&n.set(u.pattern,_),u.mode!=="monitor"&&o.add(u.pattern);for(let C of u.refuse_behaviors??[])s.has(u.pattern)||s.set(u.pattern,new Set),s.get(u.pattern)?.add(C)}let l=[];if(a.length===0){let u="";for(let f of i)(u===""||I(f)>I(u))&&(u=f);return{covering:a,deciding_mode:"",attributed:"",required_trust:"",requirement_source:"",previews:l,excepted_by:u,refused_behaviors:[]}}a.sort((u,f)=>I(f)-I(u));let h=r==="monitor",p=a.filter(u=>o.has(u)),w=h?"monitor":"enforce";if(p.length===0){if(!h)for(let u of a)l.push(g(u,W(n.get(u)??0),c([],[u])));p=a,w="monitor"}let b=0,v="";for(let u of p){let f=n.get(u)??0;f>b&&(b=f,v=u)}let d=c([],p)??[];if(w==="enforce")for(let u of a)o.has(u)||l.push(g(u,W(Math.max(b,n.get(u)??0)),c(d,[u])));return{covering:a,deciding_mode:w,attributed:p[0],required_trust:W(b),requirement_source:v,previews:l,excepted_by:"",refused_behaviors:d}}var At="other",Ct={"search engine crawler":"search","ai search":"search","ai assistant":"agent","ai crawler":"training","page preview":"link_preview","feed fetcher":"feeds","monitoring & analytics":"monitoring","search engine optimization":"seo",security:"security_testing"};function D(e){let t=e.trim().toLowerCase();return t?Ct[t]??At:""}function j(e,t){let r=D(e);return r!==""&&t.includes(r)}var St={search_engines:["search engine crawler"],ai_crawlers:["ai assistant","ai crawler","ai search"],monitoring:["monitoring & analytics"]};function ve(e,t){let r=St[e];return r?r.every(n=>j(n,t)):!1}var Rt=M;function _e(e,t,r){return e?t?t.some(n=>Rt(r,n)):!0:!1}var Et="x-wd-service-token",Pt="wd_clearance";function xe(e,t,r=[]){if(e.graded&&t&&!Dt(e.graded.trust,t))return{pass:!1,label:"insufficient-trust"};if(e.crawler&&r.length>0){if(e.crawler.behavior&&r.includes(e.crawler.behavior))return{pass:!1,label:"crawler-refused"};if(!e.crawler.behavior&&e.crawler.exempted)return{pass:!1,label:"missing"}}return{pass:e.pass,label:e.label}}async function Se(e,t,r){let n=new URL(e.url).pathname,o=ye(n,It(t),t.mode),a=o.deciding_mode||t.mode,i=await Bt(e,t,r,o.covering.length>0,o.excepted_by!==""),s=i.behavior??"",c=xe(i,o.required_trust,o.refused_behaviors),g=c.label==="excepted"?o.excepted_by:c.label==="unscoped"?"":o.attributed,l=!c.pass&&a==="enforce",h=o.previews.map(p=>{let w=xe(i,p.required_trust,p.refused_behaviors??[]);return{pattern:p.pattern,refused:!w.pass&&!l?w.label:""}});return{pass:c.pass,label:c.label,pattern:g,mode:a,previews:h,behavior:c.pass?s:"",crawlerBehavior:i.crawler?.behavior??"",referral:ce(e,new URL(e.url)),outsideReach:i.outsideReach??"",credentialUsed:i.credentialUsed??""}}async function Bt(e,t,r,n,o){let a=await Tt(e,t,r);if(a.grants)return{pass:!0,label:"machine",credentialUsed:a.id};let i=await Ot(e,t,r,n,o);return a.outsideReach?{...i,outsideReach:a.outsideReach}:i}async function Tt(e,t,r){let n=e.headers.get(Et);if(!n)return{grants:!1,id:"",outsideReach:""};let o=await Ee(n,t.keys,r.siteKey);if(!o||o.typ!=="machine"||!o.sub)return{grants:!1,id:"",outsideReach:""};if(t.active_credentials.includes(o.sub))return{grants:!0,id:o.sub,outsideReach:""};let a=(t.restricted_credentials??[]).find(s=>s&&s.id===o.sub);if(!a)return{grants:!1,id:"",outsideReach:""};let i=new URL(e.url).pathname;return _e(a.here,a.paths,i)?{grants:!0,id:o.sub,outsideReach:""}:{grants:!1,id:"",outsideReach:o.sub}}async function Ot(e,t,r,n,o){let a=await r.verifiedBotCategory(e,n)||"",i=a?{behavior:D(a),exempted:!1}:void 0;if(a&&Lt(a,t)){let l=D(a);return{pass:!0,label:"verified-bot",behavior:l,crawler:{behavior:l,exempted:!0}}}let s=await le(e,t.signed_agents);if(s.status==="verified"&&Ut(s.category,t))return{pass:!0,label:"signed-agent",behavior:Ae(s.category),crawler:{behavior:Ae(s.category),exempted:!0}};if(s.status==="invalid"&&n)return{pass:!1,label:"agent-impersonation",crawler:i};if(!n)return o?{pass:!0,label:"excepted",crawler:i}:{pass:!0,label:"unscoped",crawler:i};let c=J(e.headers.get("cookie")??"",Pt);if(!c)return{pass:!1,label:"missing",crawler:i};let g=await Ee(c,t.keys,r.siteKey);return!g||(g.typ??"")!==""?{pass:!1,label:"invalid",crawler:i}:t.denied_fps&&t.denied_fps.includes(g.fp)?{pass:!1,label:"revoked",crawler:i}:{pass:!0,label:"valid",graded:{trust:g.trust},crawler:i}}function It(e){let t=new Set(e.routes),r=new Map;for(let o of e.route_exceptions??[])t.has(o.pattern)&&Array.isArray(o.except)&&r.set(o.pattern,o.except);let n=e.routes.map(o=>({pattern:o,exceptions:r.get(o)}));for(let o of e.route_min_trust??[])t.has(o.pattern)&&n.push({pattern:o.pattern,min_trust:o.min_trust,exceptions:r.get(o.pattern)});for(let o of e.monitor_routes??[])n.push({pattern:o.pattern,min_trust:o.min_trust,mode:"monitor",exceptions:o.except});for(let o of e.route_refusals??[])!Array.isArray(o.refuse_behaviors)||o.refuse_behaviors.length===0||(o.mode==="monitor"?n.push({pattern:o.pattern,mode:"monitor",refuse_behaviors:o.refuse_behaviors}):t.has(o.pattern)&&n.push({pattern:o.pattern,exceptions:r.get(o.pattern),refuse_behaviors:o.refuse_behaviors}));return n}var Mt={"attested-human":2,"human-likely":1,clean:0};function ke(e){return Mt[e??""]??0}function Dt(e,t){return ke(e)>=ke(t)}function Lt(e,t){let r=t.allow_behaviors;return r?j(e,r):Nt(e,t.allow)}function Ut(e,t){let r=t.allow_behaviors;return r?ve(e,r):me(e,t.allow)}function Ae(e){return e==="search_engines"?"search":e==="monitoring"?"monitoring":""}function Nt(e,t){let r=e.trim().toLowerCase();return!!(t.search_engines&&r.includes("search engine crawler")||t.ai_crawlers&&r.startsWith("ai ")||t.monitoring&&r.includes("monitoring"))}function q(e){return!e.pass&&e.mode==="enforce"&&(e.label==="missing"||e.label==="invalid")}function Re(e){return q(e)?{...e,pass:!0,label:"outage-pass"}:e}function J(e,t){for(let r of e.split(";")){let n=r.indexOf("=");if(!(n<0)&&r.slice(0,n).trim()===t)return r.slice(n+1).trim()||null}return null}async function Ee(e,t,r){try{let n=e.indexOf(".");if(n<0)return null;let o=Ce(e.slice(0,n)),a=Ce(e.slice(n+1)),i=JSON.parse(new TextDecoder().decode(o)),s=t.find(l=>l.kid===i.kid);if(!s)return null;let c=await crypto.subtle.importKey("raw",Kt(s.public_key),{name:"Ed25519"},!1,["verify"]);return!await crypto.subtle.verify({name:"Ed25519"},c,a,o)||i.tenant!==r||Date.now()/1e3>=i.exp?null:i}catch{return null}}function Ce(e){let t=e.replace(/-/g,"+").replace(/_/g,"/")+"=".repeat((4-e.length%4)%4);return Pe(atob(t))}function Kt(e){return Pe(atob(e))}function Pe(e){let t=new Uint8Array(new ArrayBuffer(e.length));for(let r=0;r{let o=!1;try{let a=new AbortController,i=setTimeout(()=>a.abort(),3e3);try{let s=await n(e.replace(/\/+$/,"")+"/api/v1/clearance",{method:"POST",headers:{"content-type":"application/json","user-agent":"WebDecoy-OutageProbe/1"},body:JSON.stringify({aid:t,fp:"wd-outage-probe",scope:"",ua:"WebDecoy-OutageProbe/1"}),signal:a.signal});s.status===429?o=!0:s.status<300&&(o=typeof(await s.json())?.granted=="boolean")}finally{clearTimeout(i)}}catch{o=!1}return L={at:r,available:o},o})();try{return await E}finally{E=null}}function Be(e){let t="";for(let r of new Uint8Array(e))t+=String.fromCharCode(r);return btoa(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function Te(e,t){let r=await crypto.subtle.importKey("raw",new TextEncoder().encode(e),{name:"HMAC",hash:"SHA-256"},!1,["sign"]);return Be(await crypto.subtle.sign("HMAC",r,new TextEncoder().encode(t)))}async function Oe(e){return Be(await crypto.subtle.digest("SHA-256",new TextEncoder().encode(e))).slice(0,16)}function Ie(e,t,r){return`${Gt}|${e}|${t}|${r}`}async function Ht(e,t,r,n){let o=Math.floor(n/1e3)+300;return`${o}.${await Te(e,Ie(t,o,await Oe(r)))}`}async function Me(e,t,r,n,o){if(!t||!e)return!1;let a=e.indexOf(".");if(a<=0)return!1;let i=Number(e.slice(0,a));if(!Number.isInteger(i)||i<=Math.floor(o/1e3)||i>Math.floor(o/1e3)+300)return!1;let s=await Te(t,Ie(r,i,await Oe(n))),c=e.slice(a+1);if(c.length!==s.length)return!1;let g=0;for(let l=0;lnew Response(JSON.stringify(s),{status:i,headers:{"content-type":"application/json","cache-control":"no-store",...c}});if(e.method!=="POST")return o(405,{pass:!1});if(!t.sensorKey)return o(503,{pass:!1,reason:"unsupported"});if(await $t(t.apiBase,t.siteKey,r,n))return o(409,{pass:!1,reason:"mint_available"});let a=await Ht(t.sensorKey,t.host,e.headers.get("user-agent")??"",r);return o(200,{pass:!0,expires_in:300},{"set-cookie":`${Y}=${a}; Path=/; Secure; SameSite=Lax; HttpOnly; Max-Age=300`})}var Vt="wdfp1",Le=` +// Build vercel-8dd3c25aab42. Regenerate from the validator source; gate-bundle.test.ts fails on a hand edit. +var R={"chat.deepseek.com":"DeepSeek","chat.openai.com":"ChatGPT","chatgpt.com":"ChatGPT","claude.ai":"Claude","copilot.microsoft.com":"Copilot","deepseek.com":"DeepSeek","gemini.google.com":"Gemini","grok.com":"Grok","kagi.com":"Kagi","meta.ai":"Meta AI","perplexity.ai":"Perplexity","phind.com":"Phind","www.deepseek.com":"DeepSeek","www.grok.com":"Grok","www.kagi.com":"Kagi","www.meta.ai":"Meta AI","www.perplexity.ai":"Perplexity","www.phind.com":"Phind","www.you.com":"You.com","you.com":"You.com"};var nt=["utm_source","ref","utm_medium"],ie=500;function at(e,t){let r=(e??"").trim();if(r)try{return R[new URL(r).hostname.toLowerCase()]??""}catch{return""}let o;try{o=new URL(t)}catch{return""}for(let n of nt)for(let a of o.searchParams.getAll(n)){let i=it(a);if(i)return i}return""}var se=e=>e.replace(/[ \-_.]/g,"");function it(e){let t=e.trim().toLowerCase();if(!t)return"";try{let o=new URL(t).hostname;o&&(t=o.toLowerCase())}catch{}if(t=t.replace(/\.$/,""),R[t])return R[t];let r=se(t);for(let[o,n]of Object.entries(R))if(r===se(n.toLowerCase())||r===o.replace(/^www\./,"").replace(/\./g,""))return n;return""}function ce(e,t){if(e.method!=="GET")return null;let r=e.headers;if(r.get("sec-fetch-mode")!=="navigate")return null;let o=r.get("sec-fetch-dest");if(o&&o!=="document")return null;let n=at(r.get("referer")??"",t.toString());if(!n)return null;let a=t.pathname||"/";return a.length>ie&&(a=a.slice(0,ie)),{platform:n,path:a}}var st="web-bot-auth";async function le(e,t){let r=e.headers.get("signature-input"),o=e.headers.get("signature");if(!r&&!o)return{status:"none"};if(!r||!o)return{status:"invalid"};if(!t||t.length===0)return{status:"unknown_key"};let n,a;try{n=ft(r),a=wt(o)}catch{return{status:"invalid"}}let i=!1,s=!1;for(let c of n){if(c.params.get("tag")!==st)continue;i=!0;let g=a.get(c.label);if(!g)continue;let l=c.params.get("keyid");if(typeof l!="string")continue;let w;try{w=ct(e,c)}catch{s||=t.some(p=>p.keyid===l);continue}let f=t.find(p=>{if(p.keyid!==l)return!1;try{return ue(p.directory)===w}catch{return!1}});if(!f)continue;s=!0;let b=Date.now()/1e3,m=c.params.get("created"),v=c.params.get("expires");if(typeof m!="number"||typeof v!="number"||b>=v+10||b+101440*60||!c.components.some(p=>p.name==="@authority"||p.name==="@target-uri"))continue;let d;try{d=ut(e,c)}catch{continue}let u=!1;try{let p=await crypto.subtle.importKey("raw",we(f.public_key),{name:"Ed25519"},!1,["verify"]);u=await crypto.subtle.verify({name:"Ed25519"},p,g,new TextEncoder().encode(d))}catch{u=!1}if(u)return{status:"verified",name:f.name,category:f.category,keyid:l}}return s?{status:"invalid"}:i?{status:"unknown_key"}:{status:"none"}}function ct(e,t){let r=e.headers.get("signature-agent");if(r===null)throw new Error("missing signature-agent");let o=t.components.find(i=>i.name.toLowerCase()==="signature-agent");if(!o)throw new Error("signature-agent is not covered");let n=r.trim(),a;if(n.startsWith('"')){if(o.keyParam!==void 0)throw new Error("legacy string cannot select a member");let i=new T(n);if(a=fe(i),i.skipSP(),!i.eof())throw new Error("trailing signature-agent data")}else{if(o.keyParam===void 0)throw new Error("dictionary member is not covered");let i=I(n).find(c=>c.key===o.keyParam),s=i?.items[0];if(!i||i.isList||i.items.length!==1||typeof s?.value!="string")throw new Error("signature-agent member is not a string");if(s.hasParams)throw new Error("signature-agent member carries parameters");a=s.value}return ue(a)}var lt="/.well-known/http-message-signatures-directory";function ue(e){if(!/^https:\/\/[^/\\]/i.test(e))throw new Error("signature-agent must be an https URL");let t=new URL(e);if(t.protocol!=="https:"||!t.hostname||t.username||t.password)throw new Error("signature-agent must be an https URL");t.hash="";let r=t.href.includes("?"),o=t.pathname;return o==="/"&&!r&&(o=lt),o=o.replace(/%[0-9a-f]{2}/gi,n=>n.toUpperCase()),`https://${$(t)}${o}`}function ut(e,t){let r=new URL(e.url),o=[];for(let n of t.components)o.push(`${gt(n)}: ${dt(e,r,n)}`);return o.push(`"@signature-params": ${t.raw.trim()}`),o.join(` +`)}function gt(e){let t=`"${e.name.toLowerCase()}"`;return e.keyParam!==void 0?`${t};key="${e.keyParam}"`:t}function dt(e,t,r){let o=r.name.toLowerCase();if(o==="@authority")return $(t);if(o==="@target-uri")return`${t.protocol}//${$(t)}${t.pathname}${t.search}`;if(o==="signature-agent"){let n=e.headers.get("signature-agent");if(n===null)throw new Error("signature-agent covered but absent");return r.keyParam!==void 0?pt(n,r.keyParam):n.trim().replace(/\s+/g," ")}throw new Error(`unsupported covered component ${o}`)}function $(e){let t=e.hostname.toLowerCase(),r=e.port;return!r||e.protocol==="https:"&&r==="443"||e.protocol==="http:"&&r==="80"?t:`${t}:${r}`}function pt(e,t){let o=I(e).find(n=>n.key===t);if(!o)throw new Error(`signature-agent has no member ${t}`);return o.raw}function ft(e){return I(e).map(r=>{if(!r.isList)throw new Error(`Signature-Input member ${r.key} is not an inner list`);let o=r.items.map(n=>{if(typeof n.value!="string")throw new Error("component identifier is not a string");let a=n.params.get("key");return{name:n.value,keyParam:typeof a=="string"?a:void 0}});return{label:r.key,components:o,params:r.params,raw:r.raw}})}function wt(e){let t=I(e),r=new Map;for(let o of t){if(o.isList||o.items.length!==1)throw new Error(`Signature member ${o.key} is not a byte sequence`);let n=o.items[0].bytes;if(!n)throw new Error(`Signature member ${o.key} is not a byte sequence`);r.set(o.key,n)}return r}var T=class{constructor(t,r=0){this.s=t;this.i=r}eof(){return this.i>=this.s.length}peek(){return this.s[this.i]}skipSP(){for(;!this.eof()&&(this.peek()===" "||this.peek()===" ");)this.i++}};function I(e){let t=new T(e),r=[];for(t.skipSP();!t.eof();){let n={key:de(t),raw:"",isList:!1,items:[],params:new Map};if(!t.eof()&&t.peek()==="="){t.i++;let a=t.i;if(!t.eof()&&t.peek()==="(")n.isList=!0,ht(t,n);else{let{value:i,params:s,hasParams:c,bytes:g}=ge(t);n.items.push({value:i,params:s,hasParams:c,...g?{bytes:g}:{}})}n.raw=e.slice(a,t.i)}else n.params=V(t),n.items.push({value:!0,params:new Map});if(r.push(n),t.skipSP(),t.eof())break;if(t.peek()!==",")throw new Error(`expected ',' at ${t.i}`);if(t.i++,t.skipSP(),t.eof())throw new Error("trailing comma")}return r}function ht(e,t){for(e.i++;;){if(e.skipSP(),e.eof())throw new Error("unterminated inner list");if(e.peek()===")"){e.i++;break}let{value:r,params:o}=ge(e);if(t.items.push({value:r,params:o}),e.eof())throw new Error("unterminated inner list");let n=e.peek();if(n!==" "&&n!==")")throw new Error(`bad inner list at ${e.i}`)}t.params=V(e)}function ge(e){let{value:t,bytes:r}=pe(e),o=!e.eof()&&e.peek()===";",n=V(e);return{value:t,params:n,hasParams:o,bytes:r}}function V(e){let t=new Map;for(;!e.eof()&&e.peek()===";";){e.i++,e.skipSP();let r=de(e),o=!0;if(!e.eof()&&e.peek()==="="){e.i++;let n=pe(e);o=(typeof n.value=="boolean",n.value)}typeof o!="boolean"&&t.set(r,o)}return t}function de(e){let t=e.peek();if(!t||!/[a-z*]/.test(t))throw new Error(`invalid key at ${e.i}`);let r=e.i;for(;!e.eof()&&/[a-z0-9_\-.*]/.test(e.peek());)e.i++;return e.s.slice(r,e.i)}function pe(e){let t=e.peek();if(t==='"')return{value:fe(e)};if(t===":")return{value:"",bytes:bt(e)};if(t==="?"){e.i++;let r=e.peek();if(e.i++,r==="1")return{value:!0};if(r==="0")return{value:!1};throw new Error("bad boolean")}if(t==="-"||/[0-9]/.test(t))return{value:mt(e)};if(/[a-zA-Z*]/.test(t))return{value:yt(e)};throw new Error(`invalid bare item at ${e.i}`)}function fe(e){e.i++;let t="";for(;!e.eof();){let r=e.s[e.i++];if(r==='"')return t;if(r==="\\"){let o=e.s[e.i++];if(o!=='"'&&o!=="\\")throw new Error("bad escape");t+=o}else{let o=r.charCodeAt(0);if(o<32||o>126)throw new Error("bad char in string");t+=r}}throw new Error("unterminated string")}function bt(e){e.i++;let t=e.i;for(;!e.eof()&&e.peek()!==":";)e.i++;if(e.eof())throw new Error("unterminated byte sequence");let r=e.s.slice(t,e.i);return e.i++,we(r)}function mt(e){let t=e.i;for(e.peek()==="-"&&e.i++;!e.eof()&&/[0-9]/.test(e.peek());)e.i++;if(!e.eof()&&e.peek()===".")for(e.i++;!e.eof()&&/[0-9]/.test(e.peek());)e.i++;return Number(e.s.slice(t,e.i))}function yt(e){let t=e.i;for(e.i++;!e.eof()&&/[a-zA-Z0-9!#$%&'*+\-.^_`|~:/]/.test(e.peek());)e.i++;return e.s.slice(t,e.i)}function we(e){let t=atob(e),r=new Uint8Array(new ArrayBuffer(t.length));for(let o=0;o0?Object.keys(F).find(t=>F[t]===e)??"":""}function be(e){return e=xt(e),e=_t(e),e.toLowerCase()}function xt(e){for(let t=0;t<4;t++){let r=kt(e);if(r===e)break;e=r}return e}function kt(e){if(!e.includes("%"))return e;let t="";for(let r=0;r=0&&n>=0){let a=o<<4|n;if(a<128){t+=String.fromCharCode(a),r+=2;continue}}}t+=e[r]}return t}function me(e){return e>=48&&e<=57?e-48:e>=97&&e<=102?e-97+10:e>=65&&e<=70?e-65+10:-1}function _t(e){if(e==="")return e;let t=e.length>1&&e[e.length-1]==="/",r=[];for(let n of e.split("/"))if(!(n===""||n===".")){if(n===".."){r.length>0&&r.pop();continue}r.push(n)}let o="/"+r.join("/");return t&&o!=="/"&&(o+="/"),o}function M(e,t){let r=be(e),o=be(t);if(o.endsWith("/*")){let n=o.slice(0,-2);return n===""?!0:r===n||r.startsWith(n+"/")}return r===o}function O(e){return e.endsWith("/*")?e.length-2:1<<20}function ye(e,t,r){let o=new Map,n=new Set,a=[],i=[],s=new Map,c=(u,p)=>{let x=new Set(u);for(let C of p)for(let E of s.get(C)??[])x.add(E);return x.size===0?void 0:[...x].sort()},g=(u,p,x)=>x?{pattern:u,required_trust:p,refused_behaviors:x}:{pattern:u,required_trust:p};for(let u of t){if(!M(e,u.pattern))continue;if((u.exceptions??[]).some(C=>M(e,C))){i.push(u.pattern);continue}let p=o.get(u.pattern);p===void 0&&a.push(u.pattern);let x=vt(u.min_trust);(p===void 0||x>p)&&o.set(u.pattern,x),u.mode!=="monitor"&&n.add(u.pattern);for(let C of u.refuse_behaviors??[])s.has(u.pattern)||s.set(u.pattern,new Set),s.get(u.pattern)?.add(C)}let l=[];if(a.length===0){let u="";for(let p of i)(u===""||O(p)>O(u))&&(u=p);return{covering:a,deciding_mode:"",attributed:"",required_trust:"",requirement_source:"",previews:l,excepted_by:u,refused_behaviors:[]}}a.sort((u,p)=>O(p)-O(u));let w=r==="monitor",f=a.filter(u=>n.has(u)),b=w?"monitor":"enforce";if(f.length===0){if(!w)for(let u of a)l.push(g(u,W(o.get(u)??0),c([],[u])));f=a,b="monitor"}let m=0,v="";for(let u of f){let p=o.get(u)??0;p>m&&(m=p,v=u)}let d=c([],f)??[];if(b==="enforce")for(let u of a)n.has(u)||l.push(g(u,W(Math.max(m,o.get(u)??0)),c(d,[u])));return{covering:a,deciding_mode:b,attributed:f[0],required_trust:W(m),requirement_source:v,previews:l,excepted_by:"",refused_behaviors:d}}var At="other",Ct={"search engine crawler":"search","ai search":"search","ai assistant":"agent","ai crawler":"training","page preview":"link_preview","feed fetcher":"feeds","monitoring & analytics":"monitoring","search engine optimization":"seo",security:"security_testing"};function D(e){let t=e.trim().toLowerCase();return t?Ct[t]??At:""}function j(e,t){let r=D(e);return r!==""&&t.includes(r)}var St={search_engines:["search engine crawler"],ai_crawlers:["ai assistant","ai crawler","ai search"],monitoring:["monitoring & analytics"]};function ve(e,t){let r=St[e];return r?r.every(o=>j(o,t)):!1}var Rt=M;function xe(e,t,r){return e?t?t.some(o=>Rt(r,o)):!0:!1}var Pt="x-wd-service-token",Bt="wd_clearance";function ke(e,t,r=[]){if(e.graded&&t&&!Dt(e.graded.trust,t))return{pass:!1,label:"insufficient-trust"};if(e.crawler&&r.length>0){if(e.crawler.behavior&&r.includes(e.crawler.behavior))return{pass:!1,label:"crawler-refused"};if(!e.crawler.behavior&&e.crawler.exempted)return{pass:!1,label:"missing"}}return{pass:e.pass,label:e.label}}async function Se(e,t,r){let o=new URL(e.url).pathname,n=ye(o,Ot(t),t.mode),a=n.deciding_mode||t.mode,i=await Et(e,t,r,n.covering.length>0,n.excepted_by!==""),s=i.behavior??"",c=ke(i,n.required_trust,n.refused_behaviors),g=c.label==="excepted"?n.excepted_by:c.label==="unscoped"?"":n.attributed,l=!c.pass&&a==="enforce",w=n.previews.map(f=>{let b=ke(i,f.required_trust,f.refused_behaviors??[]);return{pattern:f.pattern,refused:!b.pass&&!l?b.label:""}});return{pass:c.pass,label:c.label,pattern:g,mode:a,previews:w,behavior:c.pass?s:"",crawlerBehavior:i.crawler?.behavior??"",referral:ce(e,new URL(e.url)),outsideReach:i.outsideReach??"",credentialUsed:i.credentialUsed??""}}async function Et(e,t,r,o,n){let a=await Tt(e,t,r);if(a.grants)return{pass:!0,label:"machine",credentialUsed:a.id};let i=await It(e,t,r,o,n);return a.outsideReach?{...i,outsideReach:a.outsideReach}:i}async function Tt(e,t,r){let o=e.headers.get(Pt);if(!o)return{grants:!1,id:"",outsideReach:""};let n=await Pe(o,t.keys,r.siteKey);if(!n||n.typ!=="machine"||!n.sub)return{grants:!1,id:"",outsideReach:""};if(t.active_credentials.includes(n.sub))return{grants:!0,id:n.sub,outsideReach:""};let a=(t.restricted_credentials??[]).find(s=>s&&s.id===n.sub);if(!a)return{grants:!1,id:"",outsideReach:""};let i=new URL(e.url).pathname;return xe(a.here,a.paths,i)?{grants:!0,id:n.sub,outsideReach:""}:{grants:!1,id:"",outsideReach:n.sub}}async function It(e,t,r,o,n){let a=await r.verifiedBotCategory(e,o)||"",i=a?{behavior:D(a),exempted:!1}:void 0;if(a&&Ut(a,t)){let l=D(a);return{pass:!0,label:"verified-bot",behavior:l,crawler:{behavior:l,exempted:!0}}}let s=await le(e,t.signed_agents);if(s.status==="verified"&&Lt(s.category,t))return{pass:!0,label:"signed-agent",behavior:Ae(s.category),crawler:{behavior:Ae(s.category),exempted:!0}};if(s.status==="invalid"&&o)return{pass:!1,label:"agent-impersonation",crawler:i};if(!o)return n?{pass:!0,label:"excepted",crawler:i}:{pass:!0,label:"unscoped",crawler:i};let c=Y(e.headers.get("cookie")??"",Bt);if(!c)return{pass:!1,label:"missing",crawler:i};let g=await Pe(c,t.keys,r.siteKey);return!g||(g.typ??"")!==""?{pass:!1,label:"invalid",crawler:i}:t.denied_fps&&t.denied_fps.includes(g.fp)?{pass:!1,label:"revoked",crawler:i}:{pass:!0,label:"valid",graded:{trust:g.trust},crawler:i}}function Ot(e){let t=new Set(e.routes),r=new Map;for(let n of e.route_exceptions??[])t.has(n.pattern)&&Array.isArray(n.except)&&r.set(n.pattern,n.except);let o=e.routes.map(n=>({pattern:n,exceptions:r.get(n)}));for(let n of e.route_min_trust??[])t.has(n.pattern)&&o.push({pattern:n.pattern,min_trust:n.min_trust,exceptions:r.get(n.pattern)});for(let n of e.monitor_routes??[])o.push({pattern:n.pattern,min_trust:n.min_trust,mode:"monitor",exceptions:n.except});for(let n of e.route_refusals??[])!Array.isArray(n.refuse_behaviors)||n.refuse_behaviors.length===0||(n.mode==="monitor"?o.push({pattern:n.pattern,mode:"monitor",refuse_behaviors:n.refuse_behaviors}):t.has(n.pattern)&&o.push({pattern:n.pattern,exceptions:r.get(n.pattern),refuse_behaviors:n.refuse_behaviors}));return o}var Mt={"attested-human":2,"human-likely":1,clean:0};function _e(e){return Mt[e??""]??0}function Dt(e,t){return _e(e)>=_e(t)}function Ut(e,t){let r=t.allow_behaviors;return r?j(e,r):Gt(e,t.allow)}function Lt(e,t){let r=t.allow_behaviors;return r?ve(e,r):he(e,t.allow)}function Ae(e){return e==="search_engines"?"search":e==="monitoring"?"monitoring":""}function Gt(e,t){let r=e.trim().toLowerCase();return!!(t.search_engines&&r.includes("search engine crawler")||t.ai_crawlers&&r.startsWith("ai ")||t.monitoring&&r.includes("monitoring"))}function q(e){return!e.pass&&e.mode==="enforce"&&(e.label==="missing"||e.label==="invalid")}function Re(e){return q(e)?{...e,pass:!0,label:"outage-pass"}:e}function Y(e,t){for(let r of e.split(";")){let o=r.indexOf("=");if(!(o<0)&&r.slice(0,o).trim()===t)return r.slice(o+1).trim()||null}return null}async function Pe(e,t,r){try{let o=e.indexOf(".");if(o<0)return null;let n=Ce(e.slice(0,o)),a=Ce(e.slice(o+1)),i=JSON.parse(new TextDecoder().decode(n)),s=t.find(l=>l.kid===i.kid);if(!s)return null;let c=await crypto.subtle.importKey("raw",zt(s.public_key),{name:"Ed25519"},!1,["verify"]);return!await crypto.subtle.verify({name:"Ed25519"},c,a,n)||i.tenant!==r||Date.now()/1e3>=i.exp?null:i}catch{return null}}function Ce(e){let t=e.replace(/-/g,"+").replace(/_/g,"/")+"=".repeat((4-e.length%4)%4);return Be(atob(t))}function zt(e){return Be(atob(e))}function Be(e){let t=new Uint8Array(new ArrayBuffer(e.length));for(let r=0;r{let n=!1;try{let a=new AbortController,i=setTimeout(()=>a.abort(),3e3);try{let s=await o(e.replace(/\/+$/,"")+"/api/v1/clearance",{method:"POST",headers:{"content-type":"application/json","user-agent":"WebDecoy-OutageProbe/1"},body:JSON.stringify({aid:t,fp:"wd-outage-probe",scope:"",ua:"WebDecoy-OutageProbe/1"}),signal:a.signal});s.status===429?n=!0:s.status<300&&(n=typeof(await s.json())?.granted=="boolean")}finally{clearTimeout(i)}}catch{n=!1}return U={at:r,available:n},n})();try{return await P}finally{P=null}}function Ee(e){let t="";for(let r of new Uint8Array(e))t+=String.fromCharCode(r);return btoa(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function Te(e,t){let r=await crypto.subtle.importKey("raw",new TextEncoder().encode(e),{name:"HMAC",hash:"SHA-256"},!1,["sign"]);return Ee(await crypto.subtle.sign("HMAC",r,new TextEncoder().encode(t)))}async function Ie(e){return Ee(await crypto.subtle.digest("SHA-256",new TextEncoder().encode(e))).slice(0,16)}function Oe(e,t,r){return`${Nt}|${e}|${t}|${r}`}async function Ht(e,t,r,o){let n=Math.floor(o/1e3)+300;return`${n}.${await Te(e,Oe(t,n,await Ie(r)))}`}async function Me(e,t,r,o,n){if(!t||!e)return!1;let a=e.indexOf(".");if(a<=0)return!1;let i=Number(e.slice(0,a));if(!Number.isInteger(i)||i<=Math.floor(n/1e3)||i>Math.floor(n/1e3)+300)return!1;let s=await Te(t,Oe(r,i,await Ie(o))),c=e.slice(a+1);if(c.length!==s.length)return!1;let g=0;for(let l=0;lnew Response(JSON.stringify(s),{status:i,headers:{"content-type":"application/json","cache-control":"no-store",...c}});if(e.method!=="POST")return n(405,{pass:!1});if(!t.sensorKey)return n(503,{pass:!1,reason:"unsupported"});if(await Kt(t.apiBase,t.siteKey,r,o))return n(409,{pass:!1,reason:"mint_available"});let a=await Ht(t.sensorKey,t.host,e.headers.get("user-agent")??"",r);return n(200,{pass:!0,expires_in:300},{"set-cookie":`${J}=${a}; Path=/; Secure; SameSite=Lax; HttpOnly; Max-Age=300`})}var $t="wdfp1",Ue=` async function wdDeviceFP() { // Canvas: 32-bit rolling hash of the dataURL, matching // EnvironmentalCollector._getCanvasHash in @webdecoy/client. The drawing @@ -37,7 +37,7 @@ async function wdDeviceFP() { var tz = 'na'; try { tz = Intl.DateTimeFormat().resolvedOptions().timeZone || 'na'; } catch (e) {} - var raw = ['${Vt}', canvas32, webgl, + var raw = ['${$t}', canvas32, webgl, screen.width + 'x' + screen.height + 'x' + screen.colorDepth, tz, navigator.platform || 'na', navigator.language || 'na' ].join('|'); @@ -48,7 +48,7 @@ async function wdDeviceFP() { return { fp: fp, canvas32: canvas32, webgl: webgl }; } -`;function X(e){let r=["missing","invalid","insufficient-trust","revoked","crawler-refused","agent-impersonation"].includes(e)?e:"denied";return{version:1,reason:r,recoverable:r==="missing"||r==="invalid"||r==="insufficient-trust"}}function Ue(e){let t=X(e);return{"cache-control":"no-store","x-wd-clearance":"challenged","x-wd-challenge":String(t.version),"x-wd-challenge-reason":t.reason,"x-wd-challenge-recoverable":String(t.recoverable)}}var zt=6e4,N="x-wd-clearance",Ne="x-wd-class",Ke="__wd_clearance_check",ee="/.well-known/wd-clearance/pat",P=new Map,Wt=16,Ft=3e4,jt=3e5,Q=new Map,Z=new Map,qt=86400;function Ge(e,t){return`https://wd-config.invalid/${encodeURIComponent(e)}/${encodeURIComponent(t)}`}function $e(){try{return globalThis.caches?.default??null}catch{return null}}async function He(e,t){let r=$e();if(!r)return null;try{let n=await r.match(Ge(e,t));return n?await n.json():null}catch{return null}}async function Jt(e,t,r){let n=$e();if(n)try{await n.put(Ge(e,t),new Response(JSON.stringify(r),{headers:{"content-type":"application/json","cache-control":`max-age=${qt}`}}))}catch{}}function Yt(e){let t=e?.headers.get("retry-after"),r=t?Number(t):NaN;return Number.isFinite(r)&&r>0?Math.min(Math.max(r*1e3,5e3),jt):Ft}async function Ve(e,t){let r=Date.now(),n=t,o=P.get(n);if(o&&r-o.atWt){let c=P.keys().next();c.done||P.delete(c.value)}return await Jt(e.siteKey,t,s),s}}catch{}return Q.set(r,n+Yt(a)),o??await He(e.siteKey,t)}function ze(e,t,r,n){return new Response(JSON.stringify({wd_clearance:!0,nonce:e,mode:t,site_key:r,capabilities:n}),{status:200,headers:{"content-type":"application/json","cache-control":"no-store","access-control-allow-origin":"*"}})}var Zt=3e3;async function We(e,t){let r=new URL(e.url).searchParams.get("fp")??"",n=`${t}/api/v1/clearance/pat?fp=${encodeURIComponent(r)}`,o=new Headers,a=e.headers.get("authorization");a&&o.set("authorization",a);let i;try{i=await fetch(n,{method:"GET",headers:o,redirect:"manual",signal:AbortSignal.timeout(Zt)})}catch{return new Response(JSON.stringify({attested:!1,reason:"unreachable"}),{status:200,headers:{"content-type":"application/json","cache-control":"no-store"}})}let s=new Headers({"content-type":"application/json","cache-control":"no-store"}),c=i.headers.get("www-authenticate");return c&&s.set("www-authenticate",c),new Response(i.body,{status:i.status,headers:s})}function Fe(e,t,r,n="denied"){let o=e.headers.get("accept")??"";if(e.method!=="GET"||!o.includes("text/html"))return new Response(JSON.stringify({error:"clearance required",challenge:X(n)}),{status:403,headers:{"content-type":"application/json",...Ue(n)}});let a=er(t,r);return new Response(a,{status:403,headers:{"content-type":"text/html; charset=utf-8","cache-control":"no-store",[N]:"challenged"}})}var Qt="https://cdn.webdecoy.com/wordpress/assets/icon-128x128.png";function er(e,t){return` +`;function X(e){let r=["missing","invalid","insufficient-trust","revoked","crawler-refused","agent-impersonation"].includes(e)?e:"denied";return{version:1,reason:r,recoverable:r==="missing"||r==="invalid"||r==="insufficient-trust"}}function Le(e){let t=X(e);return{"cache-control":"no-store","x-wd-clearance":"challenged","x-wd-challenge":String(t.version),"x-wd-challenge-reason":t.reason,"x-wd-challenge-recoverable":String(t.recoverable)}}var Vt=6e4,G="x-wd-clearance",Ge="x-wd-class",ze="__wd_clearance_check",ee="/.well-known/wd-clearance/pat",B=new Map,Wt=16,Ft=3e4,jt=3e5,Z=new Map,Q=new Map,qt=86400;function Ne(e,t){return`https://wd-config.invalid/${encodeURIComponent(e)}/${encodeURIComponent(t)}`}function Ke(){try{return globalThis.caches?.default??null}catch{return null}}async function He(e,t){let r=Ke();if(!r)return null;try{let o=await r.match(Ne(e,t));return o?await o.json():null}catch{return null}}async function Yt(e,t,r){let o=Ke();if(o)try{await o.put(Ne(e,t),new Response(JSON.stringify(r),{headers:{"content-type":"application/json","cache-control":`max-age=${qt}`}}))}catch{}}function Jt(e){let t=e?.headers.get("retry-after"),r=t?Number(t):NaN;return Number.isFinite(r)&&r>0?Math.min(Math.max(r*1e3,5e3),jt):Ft}async function $e(e,t){let r=Date.now(),o=t,n=B.get(o);if(n&&r-n.atWt){let c=B.keys().next();c.done||B.delete(c.value)}return await Yt(e.siteKey,t,s),s}}catch{}return Z.set(r,o+Jt(a)),n??await He(e.siteKey,t)}function Ve(e,t,r,o){return new Response(JSON.stringify({wd_clearance:!0,nonce:e,mode:t,site_key:r,capabilities:o}),{status:200,headers:{"content-type":"application/json","cache-control":"no-store","access-control-allow-origin":"*"}})}var Qt=3e3;async function We(e,t){let r=new URL(e.url).searchParams.get("fp")??"",o=`${t}/api/v1/clearance/pat?fp=${encodeURIComponent(r)}`,n=new Headers,a=e.headers.get("authorization");a&&n.set("authorization",a);let i;try{i=await fetch(o,{method:"GET",headers:n,redirect:"manual",signal:AbortSignal.timeout(Qt)})}catch{return new Response(JSON.stringify({attested:!1,reason:"unreachable"}),{status:200,headers:{"content-type":"application/json","cache-control":"no-store"}})}let s=new Headers({"content-type":"application/json","cache-control":"no-store"}),c=i.headers.get("www-authenticate");return c&&s.set("www-authenticate",c),new Response(i.body,{status:i.status,headers:s})}function Fe(e,t,r,o="denied"){let n=e.headers.get("accept")??"";if(e.method!=="GET"||!n.includes("text/html"))return new Response(JSON.stringify({error:"clearance required",challenge:X(o)}),{status:403,headers:{"content-type":"application/json",...Le(o)}});let a=er(t,r);return new Response(a,{status:403,headers:{"content-type":"text/html; charset=utf-8","cache-control":"no-store",[G]:"challenged"}})}var Zt="https://cdn.webdecoy.com/wordpress/assets/icon-128x128.png";function er(e,t){return` @@ -73,14 +73,14 @@ async function wdDeviceFP() {
-
WebDecoy
+
WebDecoy

Checking your browser

This takes a moment and happens only once.

This site is protected by WebDecoy.

-`}function K(e){if(typeof e!="string")return"";let t=e.trim().toLowerCase().replace(/:\d+$/,"").replace(/\.$/,"");return t.length>0&&t.length<=253?t:""}var je=["route_min_trust","route_attribution","monitor_routes","route_exceptions","bot_behaviors","credential_reach","route_refusals","crawler_behavior","ai_referrals","credential_usage"];var te=60,tr=500,rr=6e3,qe=40,nr=60,or=16,A=new TextEncoder,ar=60,ir=24,sr=3e3,cr=2e4,lr=1e4,ur=16,k=new Map;function gr(e,t,r){return`${e}|${t}|${r}`}function Je(e,t){let r=e.credentials.get(t);return r||(r={outsideReach:0,used:0},e.credentials.set(t,r)),r}function Ye(e,t,r,n,o=Date.now()){try{let a=e?.label??"",i=e?.mode??"",s=e?.pattern??"",c=e?.previews??[],g=e?.behavior??"",l=e?.crawlerBehavior??"",h=e?.outsideReach??"",p=e?.credentialUsed??"";if(!a||!r||!r.siteKey||!r.apiBase)return;let w=K(t);if(!w)return;let b=Math.floor(o/1e3/te)*te,v=gr(b,i,w);for(let[m,y]of k)y.bucketStart!==b&&(G(y,r,n),k.delete(m));let d=k.get(v);if(!d){if(k.size>=ur)for(let[m,y]of k)G(y,r,n),k.delete(m);d={bucketStart:b,mode:i,host:w,counts:new Map,routes:new Map,previews:new Map,credentials:new Map,referrals:new Map,refusals:[],routeBytes:0,total:0},k.set(v,d),dr(v,d,r,n,o)}d.counts.set(a,(d.counts.get(a)??0)+1);let u=typeof s=="string"?s:"",f=typeof g=="string"?g:"",_=typeof l=="string"?l:"",C=`${u} +`}function z(e){if(typeof e!="string")return"";let t=e.trim().toLowerCase().replace(/:\d+$/,"").replace(/\.$/,"");return t.length>0&&t.length<=253?t:""}var je=["route_min_trust","route_attribution","monitor_routes","route_exceptions","bot_behaviors","credential_reach","route_refusals","crawler_behavior","ai_referrals","credential_usage"];var te=60,tr=500,rr=6e3,qe=40,or=60,nr=16,A=new TextEncoder,ar=60,ir=24,sr=3e3,cr=2e4,lr=1e4,ur=16,_=new Map;function gr(e,t,r){return`${e}|${t}|${r}`}function Ye(e,t){let r=e.credentials.get(t);return r||(r={outsideReach:0,used:0},e.credentials.set(t,r)),r}function Je(e,t,r,o,n=Date.now()){try{let a=e?.label??"",i=e?.mode??"",s=e?.pattern??"",c=e?.previews??[],g=e?.behavior??"",l=e?.crawlerBehavior??"",w=e?.outsideReach??"",f=e?.credentialUsed??"";if(!a||!r||!r.siteKey||!r.apiBase)return;let b=z(t);if(!b)return;let m=Math.floor(n/1e3/te)*te,v=gr(m,i,b);for(let[h,y]of _)y.bucketStart!==m&&(N(y,r,o),_.delete(h));let d=_.get(v);if(!d){if(_.size>=ur)for(let[h,y]of _)N(y,r,o),_.delete(h);d={bucketStart:m,mode:i,host:b,counts:new Map,routes:new Map,previews:new Map,credentials:new Map,referrals:new Map,refusals:[],routeBytes:0,total:0},_.set(v,d),dr(v,d,r,o,n)}d.counts.set(a,(d.counts.get(a)??0)+1);let u=typeof s=="string"?s:"",p=typeof g=="string"?g:"",x=typeof l=="string"?l:"",C=`${u} ${a} -${f} -${_}`,B=d.routes.get(C);B?B.count++:(d.routes.set(C,{pattern:u,verdict:a,behavior:f,crawlerBehavior:_,count:1}),d.routeBytes+=A.encode(u).length+A.encode(a).length+A.encode(f).length+A.encode(_).length+qe);for(let m of Array.isArray(c)?c:[]){if(!m||typeof m.pattern!="string"||!m.pattern)continue;let y=d.previews.get(m.pattern);y||(y={evaluated:0,refused:new Map},d.previews.set(m.pattern,y),d.routeBytes+=A.encode(m.pattern).length+nr),y.evaluated++,typeof m.refused=="string"&&m.refused&&(y.refused.has(m.refused)||(d.routeBytes+=A.encode(m.refused).length+or),y.refused.set(m.refused,(y.refused.get(m.refused)??0)+1))}typeof h=="string"&&h&&Je(d,h).outsideReach++,typeof p=="string"&&p&&Je(d,p).used++;let x=e?.referral;if(x&&typeof x.platform=="string"&&x.platform&&typeof x.path=="string"){let m=`${x.platform} -${x.path}`,y=d.referrals.get(m);y?y.count++:(d.referrals.set(m,{platform:x.platform,path:x.path,count:1}),d.routeBytes+=A.encode(x.platform).length+A.encode(x.path).length+qe)}let S=e?.refusal;S&&typeof S.ip=="string"&&S.ip&&typeof S.path=="string"&&S.path.startsWith("/")&&(d.refusals.push({ip:S.ip,path:S.path,at:Math.floor(o/1e3),verdict:a}),d.routeBytes+=ar),d.total++,(d.total>=tr||d.routeBytes>=rr)&&(G(d,r,n),k.delete(v))}catch{}}function dr(e,t,r,n,o){try{let a=(t.bucketStart+te)*1e3,i=Math.floor(Math.random()*lr),s=Math.max(0,Math.min(a-o+i,cr));n.waitUntil(new Promise(c=>{setTimeout(()=>{try{k.get(e)===t&&(G(t,r,n),k.delete(e))}catch{}c()},s)}))}catch{}}function G(e,t,r){try{if(e.total<=0||e.counts.size===0)return;let n={};for(let[l,h]of e.counts)n[l]=h;let o=[];for(let l of e.routes.values()){let h={pattern:l.pattern,verdict:l.verdict,count:l.count};l.behavior&&(h.behavior=l.behavior),l.crawlerBehavior&&(h.crawler_behavior=l.crawlerBehavior),o.push(h)}let a={organization_id:t.siteKey,bucket_start:e.bucketStart,mode:e.mode,counts:n,route_counts:o,report_id:crypto.randomUUID()};if(e.previews.size>0){let l=[];for(let[h,p]of e.previews){let w={};for(let[b,v]of p.refused)w[b]=v;l.push({pattern:h,evaluated:p.evaluated,additional_refusals:w})}a.previews=l}if(e.credentials.size>0){let l=[];for(let[h,p]of e.credentials)l.push({credential_id:h,outside_reach:p.outsideReach,used:p.used});a.credential_presentations=l}e.referrals.size>0&&(a.ai_referrals=[...e.referrals.values()].map(l=>({platform:l.platform,path:l.path,count:l.count}))),t.propertyId&&(a.property_id=t.propertyId),a.host=e.host,t.bundleVersion&&(a.reporter_version=t.bundleVersion);let i=!!(t.scannerId&&t.sensorKey);i&&(a.scanner_id=t.scannerId),a.capabilities=t.capabilities??je;let s=i?e.refusals:[],c=()=>hr(t.apiBase,JSON.stringify(a),i?t.sensorKey:void 0),g=s.length===0?c():pr(t.siteKey,s).then(l=>{a.refusals=l}).catch(()=>{}).then(c);r.waitUntil(g.then(()=>{},()=>{}))}catch{}}async function fr(e,t,r){let n=await crypto.subtle.digest("SHA-256",A.encode(`${e.toLowerCase()}|${t}|${r}`)),o="";for(let a of new Uint8Array(n))o+=a.toString(16).padStart(2,"0");return o.slice(0,ir)}async function pr(e,t){let r=[];for(let n of t)r.push({k:await fr(e,n.ip,n.path),t:n.at,v:n.verdict});return r}async function hr(e,t,r){let n=new AbortController,o=setTimeout(()=>n.abort(),sr),a={"content-type":"application/json"};r&&(a["x-wd-sensor-key"]=r);try{await fetch(e.replace(/\/+$/,"")+"/api/v1/clearance/telemetry",{method:"POST",headers:a,body:t,signal:n.signal})}finally{clearTimeout(o)}}var $=["route_min_trust","route_attribution","monitor_routes","route_exceptions","bot_behaviors","credential_reach","bot_verification_rdns","crawler_behavior","ai_referrals","credential_usage"];var mr=[{category:"search_engines",suffixes:[".googlebot.com",".google.com",".search.msn.com",".crawl.yahoo.net",".applebot.apple.com",".yandex.com",".yandex.net",".yandex.ru",".crawl.baidu.com",".crawl.baidu.jp"]}];function wr(e,t){let r=e.toLowerCase().replace(/\.$/,"");for(let n of mr)if(t[n.category]){for(let o of n.suffixes)if(r.endsWith(o))return n.category}return null}var H=new Map,br=36e5,yr=5e3;async function Xe(e,t,r,n){let o=H.get(e);if(o&&n-o.at=yr&&H.clear(),H.set(e,{category:a,at:n}),a}async function vr(e,t,r){let n=e.replace(/\.$/,""),o=t.includes(":")?[r.resolve6(n)]:[r.resolve4(n)];try{return(await Promise.all(o)).flat().some(i=>i===t)}catch{return!1}}var Ze=[["hunyuan/","Hunyuan","hunyuan","crawler"],["speridlabsresearchcrawler","SperidLabsResearchCrawler","speridlabsresearchcrawler","crawler"],["abliterantbot","AbliterantBot","abliterantbot","crawler"],["tokenfoundrybot","TokenFoundryBot","tokenfoundrybot","crawler"],["reflectionbot","Reflectionbot","reflectionbot","crawler"],["gptbot","GPTBot","gptbot","crawler"],["claudebot","ClaudeBot","claudebot","crawler"],["anthropic-ai","Anthropic","anthropic","crawler"],["claude-web","Claude-Web","claude-web","crawler"],["ccbot","CCBot","ccbot","crawler"],["google-extended","Google-Extended","google-extended","crawler"],["bytespider","ByteSpider","bytespider","crawler"],["amazonbot","Amazonbot","amazonbot","crawler"],["facebookbot","FacebookBot","facebookbot","crawler"],["meta-externalagent","Meta-ExternalAgent","meta-externalagent","crawler"],["cohere-ai","Cohere","cohere-ai","crawler"],["cohere","Cohere","cohere-ai","crawler"],["applebot-extended","Applebot-Extended","applebot-extended","crawler"],["youbot","YouBot","youbot","crawler"],["mistralbot","MistralBot","mistral","crawler"],["gemini","Gemini","gemini","crawler"],["ai2bot","AI2Bot","ai2bot","crawler"],["deepseek","DeepSeek","deepseek","crawler"],["qwen","Qwen","qwen","crawler"],["webzio","Webz.io","webzio","crawler"],["sentibot","Sentibot","sentibot","crawler"],["omgili","Omgili","omgili","crawler"],["img2dataset","img2dataset","img2dataset","crawler"],["timpibot","Timpibot","timpibot","crawler"],["velenpublicwebcrawler","VelenPublicWebCrawler","velenpublicwebcrawler","crawler"],["isscyberriskcrawler","ISSCyberRiskCrawler","isscyberriskcrawler","crawler"],["friendlycrawler","FriendlyCrawler","friendlycrawler","crawler"],["elevenlabscrawler","ElevenlabsCrawler","elevenlabscrawler","crawler"],["riverbot","RiverBot","riverbot","crawler"],["kimibot","KimiBot","kimibot","crawler"],["moonshotbot","MoonshotBot","moonshotbot","crawler"],["chatglm-spider","ChatGLM-Spider","chatglm-spider","crawler"],["generalretrievalbot","GeneralRetrievalBot","generalretrievalbot","crawler"],["andi-searchbot","Andi-SearchBot","andi-searchbot","crawler"],["talarionsearchbot","TalarionSearchBot","talarionsearchbot","crawler"],["unfragilebot","UnfragileBot","unfragilebot","crawler"],["aranet-searchbot","Aranet-SearchBot","aranet-searchbot","crawler"],["duckassistbot","DuckAssistBot","duckassistbot","crawler"],["sofyabot","SofyaBot","sofyabot","crawler"],["xai-searchbot","xAI-SearchBot","xai-searchbot","crawler"],["linkupbot","LinkupBot","linkupbot","crawler"],["perplexitybot","PerplexityBot","perplexitybot","crawler"],["claude-searchbot","Claude-SearchBot","claude-searchbot","crawler"],["oai-searchbot","OAI-SearchBot","oai-searchbot","crawler"],["searchgpt","SearchGPT","searchgpt","crawler"],["phind","Phind","phind","crawler"],["kagi","Kagi","kagi","crawler"],["exasearchbot","Exa","exa","crawler"],["exabot","Exa","exa","crawler"],["shapbot","ShapBot","shapbot","crawler"],["meta-webindexer","Meta-WebIndexer","meta-webindexer","crawler"],["metaphor","Metaphor","metaphor","crawler"],["tavily","Tavily","tavily","crawler"],["bravesearch","BraveSearch","brave-search","crawler"],["neevabot","NeevaBot","neeva","crawler"],["kimi-searchbot","Kimi-SearchBot","kimi-searchbot","crawler"],["isonsearchbot","IsonSearchBot","isonsearchbot","crawler"],["keenablebot","KeenableBot","keenablebot","crawler"],["azureai-searchbot","AzureAI-SearchBot","azureai-searchbot","crawler"],["grokbot","GrokBot","grokbot","crawler"],["operator","Operator","operator","crawler"],["claude-user","Claude-User","claude-user","crawler"],["gemini-user","Gemini-User","gemini-user","crawler"],["googleagent-mariner","GoogleAgent-Mariner","googleagent-mariner","crawler"],["mariner","GoogleAgent-Mariner","googleagent-mariner","crawler"],["amazonbuyforme","AmazonBuyForMe","amazon-buyforme","crawler"],["buyforme","AmazonBuyForMe","amazon-buyforme","crawler"],["browser-use","Browser-Use","browser-use","crawler"],["stagehand","Stagehand","stagehand","crawler"],["manus-user","Manus-User","manus-user","crawler"],["multion","MultiOn","multion","crawler"],["opencode-user","OpenCode-User","opencode-user","crawler"],["jambot","Jambot","jambot","crawler"],["fyndbot","fyndbot","fyndbot","crawler"],["pexelsbot","PexelsBot","pexelsbot","crawler"],["360spider","360Spider","360spider","crawler"],["cgmsearchbot","CGMSearchBot","cgmsearchbot","crawler"],["iboubot","IbouBot","iboubot","crawler"],["ibou-search","IbouBot","iboubot","crawler"],["googlebot","Googlebot","googlebot","crawler"],["google-inspectiontool","Google-InspectionTool","google-inspectiontool","crawler"],["bingbot","Bingbot","bingbot","crawler"],["msnbot","MSNBot","msnbot","crawler"],["yandexbot","YandexBot","yandexbot","crawler"],["baiduspider","Baiduspider","baiduspider","crawler"],["petalbot","PetalBot","petalbot","crawler"],["duckduckbot","DuckDuckBot","duckduckbot","crawler"],["applebot","Applebot","applebot","crawler"],["sogou","Sogou Spider","sogou","crawler"],["qwantify","Qwantify","qwantify","crawler"],["qwantbot","Qwantify","qwantify","crawler"],["naver","Naver","naver","crawler"],["yeti","Naver","naver","crawler"],["seznambot","SeznamBot","seznam","crawler"],["ecosia","Ecosia","ecosia","crawler"],["mojeekbot","MojeekBot","mojeek","crawler"],["slurp","Yahoo! Slurp","yahoo-slurp","crawler"],["bravebot","Bravebot","bravebot","crawler"],["coccocbot","Coc Coc","coccocbot","crawler"],["yisouspider","YisouSpider","yisouspider","crawler"],["yepbot","YepBot","yepbot","crawler"],["agentreadyscan","AgentReadyScan","agentreadyscan","crawler"],["crawlcheck/","CrawlCheck","crawlcheck","crawler"],["kostobot","KostoBot","kostobot","crawler"],["keys-so-bot","keys.so","keys-so-bot","crawler"],["crolbot","CrolBot","crolbot","crawler"],["ahrefsbot","AhrefsBot","ahrefsbot","crawler"],["ahrefs","AhrefsBot","ahrefsbot","crawler"],["semrushbot","SemrushBot","semrushbot","crawler"],["semrush","SemrushBot","semrushbot","crawler"],["mj12bot","MJ12bot","mj12bot","crawler"],["dotbot","DotBot","dotbot","crawler"],["rogerbot","Rogerbot","rogerbot","crawler"],["screaming frog","Screaming Frog","screaming-frog","crawler"],["sitebulb","Sitebulb","sitebulb","crawler"],["deepcrawl","DeepCrawl","deepcrawl","crawler"],["oncrawl","OnCrawl","oncrawl","crawler"],["botify","Botify","botify","crawler"],["contentking","ContentKing","contentking","crawler"],["sistrix","SISTRIX","sistrix","crawler"],["serpstat","Serpstat","serpstat","crawler"],["spyfu","SpyFu","spyfu","crawler"],["meta-externalads","meta-externalads","meta-externalads","crawler"],["dataforseobot","DataForSeoBot","dataforseobot","crawler"],["barkrowler","Barkrowler","barkrowler","crawler"],["scrunchbot","Scrunchbot","scrunchbot","crawler"],["webxtrendbot","webXtrendBot","webxtrendbot","crawler"],["serankingbacklinksbot","SERankingBacklinksBot","serankingbacklinksbot","crawler"],["awariobot","AwarioBot","awariobot","crawler"],["awariosmartbot","AwarioBot","awariobot","crawler"],["seojuice-searchbot","SEOJuice-SearchBot","seojuice-searchbot","crawler"],["trendictionbot","trendictionbot","trendictionbot","crawler"],["hubspot crawler","HubSpot Crawler","hubspot-crawler","crawler"],["bitsightbot","BitSightBot","bitsightbot","crawler"],["l9scan","LeakIX","leakix","crawler"],["modatscanner","ModatScanner","modatscanner","crawler"],["umaibot","UmaiBot","umaibot","crawler"],["artex-enrich/","ARTEX","artex","tool"],["nessus","Nessus","nessus","crawler"],["qualys","Qualys","qualys","crawler"],["shodan","Shodan","shodan","crawler"],["censys","Censys","censys","crawler"],["nmap","Nmap","nmap","crawler"],["zap/","OWASP ZAP","zap","crawler"],["burp","Burp Suite","burp","crawler"],["nikto","Nikto","nikto","crawler"],["nuclei","Nuclei","nuclei","crawler"],["acunetix","Acunetix","acunetix","crawler"],["netsparker","Netsparker","netsparker","crawler"],["detectify","Detectify","detectify","crawler"],["palo alto networks","Palo Alto Networks Cortex Xpanse","paloalto-xpanse","crawler"],["recordedfuture","Recorded Future Crawler","recordedfuture","crawler"],["developers.cloudflare.com/security-center","Cloudflare Security Center","cloudflare-security-center","crawler"],["virustotalcloud","VirusTotal","virustotal-cloud","crawler"],["intruder","Intruder","intruder","crawler"],["norma/","Norma WebFetch","norma","tool"],["python-requests","Python-Requests","python-requests","tool"],["python-urllib","Python-urllib","python-urllib","tool"],["python/","Python","python","tool"],["scrapy","Scrapy","scrapy","tool"],["httpx","HTTPX","httpx","tool"],["aiohttp","aiohttp","aiohttp","tool"],["beautifulsoup","BeautifulSoup","beautifulsoup","tool"],["node-fetch","node-fetch","node-fetch","tool"],["axios/","Axios","axios","tool"],["got/","Got","got","tool"],["undici","Undici","undici","tool"],["go-http-client","Go-HTTP-Client","go-http-client","tool"],["colly","Colly","colly","tool"],["java/","Java","java","tool"],["okhttp","OkHttp","okhttp","tool"],["apache-httpclient","Apache-HttpClient","apache-httpclient","tool"],["jsoup","Jsoup","jsoup","tool"],["guzzlehttp","GuzzleHttp","guzzlehttp","tool"],["php/","PHP","php","tool"],["ruby","Ruby","ruby","tool"],["faraday","Faraday","faraday","tool"],["mechanize","Mechanize","mechanize","tool"],["headlesschrome","HeadlessChrome","headlesschrome","tool"],["puppeteer","Puppeteer","puppeteer","tool"],["playwright","Playwright","playwright","tool"],["selenium","Selenium","selenium","tool"],["phantomjs","PhantomJS","phantomjs","tool"],["splash","Splash","splash","tool"],["browserless","Browserless","browserless","tool"],["browserbase","Browserbase","browserbase","tool"],["ia_archiver","Internet Archive","ia-archiver","crawler"],["archive.org_bot","Archive.org","archive-org-bot","crawler"],["wayback","Wayback Machine","wayback","crawler"],["heritrix","Heritrix","heritrix","crawler"],["brozzler","Brozzler","brozzler","crawler"],["findfiles.net-linkchecker","FindFiles.net LinkChecker","findfiles-linkchecker","crawler"],["hstspreload-bot","hstspreload-bot","hstspreload-bot","crawler"],["facebookexternalhit","Facebook","facebookexternalhit","crawler"],["facebot","Facebot","facebot","crawler"],["twitterbot","Twitterbot","twitterbot","crawler"],["linkedinbot","LinkedInBot","linkedinbot","crawler"],["slackbot","Slackbot","slackbot","crawler"],["telegrambot","TelegramBot","telegrambot","crawler"],["whatsapp","WhatsApp","whatsapp","crawler"],["discordbot","Discordbot","discordbot","crawler"],["pinterest","Pinterest","pinterestbot","crawler"],["tumblr","Tumblr","tumblr","crawler"],["reddit","Reddit","reddit","crawler"],["embedly","Embedly","embedly","crawler"],["iframely","Iframely","iframely","crawler"],["adsbot-google","AdsBot-Google","adsbot-google","crawler"],["stripebot","Stripebot","stripebot","crawler"],["google-read-aloud","Google-Read-Aloud","google-read-aloud","crawler"],["google-safety","Google-Safety","google-safety","crawler"],["oai-adsbot","OAI-AdsBot","oai-adsbot","crawler"],["kakaobot","KakaoBot","kakaobot","crawler"],["curl/","cURL","curl","tool"],["wget/","Wget","wget","tool"],["libwww-perl","libwww-perl","libwww-perl","tool"],["lwp-","LWP","lwp","tool"],["httrack","HTTrack","httrack","tool"],["truetierbot","TrueTierBot","truetierbot","crawler"],["webdecoybot","WebDecoyBot","webdecoybot","crawler"],["uptimerobot","UptimeRobot","uptimerobot","crawler"],["pingdom","Pingdom","pingdom","crawler"],["statuscake","StatusCake","statuscake","crawler"],["betteruptime","Better Uptime","better-uptime","crawler"],["datadog","Datadog Synthetics","datadog-synthetics","crawler"],["newrelic","New Relic","newrelic","crawler"],["site24x7","Site24x7","site24x7","crawler"],["freshping","Freshping","freshping","crawler"],["hetrixtools","HetrixTools","hetrixtools","crawler"],["nodeping","NodePing","nodeping","crawler"],["gtmetrix","GTmetrix","gtmetrix","crawler"],["chrome-lighthouse","Lighthouse","chrome-lighthouse","crawler"],["google page speed","Lighthouse","chrome-lighthouse","crawler"],["andifeedbot","AndiFeedBot","andifeedbot","crawler"],["librarianbot","LibrarianBot","librarianbot","crawler"],["oursignal/","oursignal","oursignal","crawler"],["feedly","Feedly","feedly","crawler"],["livelapbot","LivelapBot","livelapbot","crawler"],["feedfetcher","Feedfetcher-Google","feedfetcher-google","crawler"],["newsblur","NewsBlur","newsblur","crawler"],["inoreader","Inoreader","inoreader","crawler"],["theoldreader","The Old Reader","theoldreader","crawler"],["feedbin","Feedbin","feedbin","crawler"],["miniflux","Miniflux","miniflux","crawler"],["freshrss","FreshRSS","freshrss","crawler"],["commafeed","CommaFeed","commafeed","crawler"],["tphotobot","tphotobot","tphotobot","crawler"],["bangobot","BangoBot","bangobot","crawler"],["kamatabot","KamataBot","kamatabot","crawler"],["boehmbot","BoehmBot","boehmbot","crawler"],["pipericbot","PipericBot","pipericbot","crawler"],["pandalytics","Pandalytics","pandalytics","crawler"],["spiderling","SpiderLing","spiderling","crawler"],["sketchengine","SpiderLing","spiderling","crawler"],["netapi/","NetAPI Bot","netapi","crawler"],["anticlonebot","AntiCloneBot","anticlonebot","crawler"],["terncrawler","TernCrawler","terncrawler","crawler"],["diffbot","Diffbot","diffbot","crawler"],["import.io","Import.io","import-io","crawler"],["brightdata","Bright Data","bright-data","crawler"],["luminati","Bright Data","bright-data","crawler"],["brightbot","Brightbot","brightbot","crawler"],["cloudflarebrowserrenderingcrawler","Cloudflare Browser Rendering Crawler","cloudflare-crawl","crawler"],["ev-crawler","ev-crawler","ev-crawler","crawler"],["oxylabs","Oxylabs","oxylabs","crawler"],["scrapingbee","ScrapingBee","scrapingbee","crawler"],["scrapingant","ScrapingAnt","scrapingant","crawler"],["zyte","Zyte","zyte","crawler"],["scrapinghub","Zyte","zyte","crawler"],["apify","Apify","apify","crawler"],["crawlbase","Crawlbase","crawlbase","crawler"],["webscrapingapi","WebScrapingAPI","webscrapingapi","crawler"],["andi-user","Andi-User","andi-user","crawler"],["chatgpt-user","ChatGPT-User","chatgpt-user","crawler"],["perplexity-user","Perplexity-User","perplexity-user","crawler"],["mistralai-user","MistralAI-User","mistralai-user","crawler"],["exauser","ExaUser","exauser","crawler"],["shap-user","Shap-User","shap-user","crawler"],["meta-externalfetcher","Meta-ExternalFetcher","meta-externalfetcher","crawler"],["gemini-deep-research","Gemini-Deep-Research","gemini-deep-research","crawler"],["copilot","Microsoft Copilot","copilot","crawler"],["cortana","Cortana","cortana","crawler"],["siri","Siri","siri","crawler"],["kimi-user","Kimi-User","kimi-user","crawler"],["keenable-user","Keenable-User","keenable-user","crawler"],["elevenlabsbot","ElevenlabsBot","elevenlabsbot","crawler"],["klaviyoaibot","KlaviyoAIBot","klaviyoaibot","crawler"]];function _r(e){for(let[t,r,n,o]of Ze)if(e.includes(t))return{name:r,id:n,kind:o};return null}var xr=/(?:bot|crawler|spider)(?:[/\s);,]|$)/i;function Qe(e){let t=e.toLowerCase(),r=_r(t);return r?.kind==="crawler"||!r&&xr.test(e)}var kr="Search Engine Crawler",re=1e3,Ar={search_engines:!0,ai_crawlers:!0,monitoring:!0};function Cr(e){if(!e.includes(":"))return e.split(".").reverse().join(".")+".in-addr.arpa";let[t,r=""]=e.split("::"),n=t?t.split(":"):[],o=r?r.split(":"):[],a=8-n.length-o.length;return a<0?"":[...n,...Array(Math.max(0,a)).fill("0"),...o].map(s=>s.padStart(4,"0")).join("").split("").reverse().join(".")+".ip6.arpa"}function ne(e,t){return Promise.race([e,new Promise((r,n)=>setTimeout(()=>n(new Error("dns timeout")),t))])}function Sr(e){return{reverse:t=>ne(e(Cr(t),"PTR"),re),resolve4:t=>ne(e(t,"A"),re),resolve6:t=>ne(e(t,"AAAA"),re)}}function et(e,t,r,n=typeof Deno<"u"&&Deno&&typeof Deno.resolveDns=="function"?Deno.resolveDns.bind(Deno):void 0,o=Date.now()){return!r||!e||!n||!Qe(t)?Promise.resolve(""):Xe(e,Ar,Sr(n),o).then(a=>a==="search_engines"?kr:"").catch(()=>"")}var Rr="https://cloudflare-dns.com/dns-query",Er=1e3,Pr={A:1,PTR:12,AAAA:28};function Br(e=fetch){return async(t,r)=>{let n=Pr[r];if(!n)throw new Error(`unsupported record type ${r}`);let o=`${Rr}?name=${encodeURIComponent(t)}&type=${r}`,a=await e(o,{headers:{accept:"application/dns-json"},signal:AbortSignal.timeout(Er)});if(!a.ok)throw new Error(`doh ${a.status}`);let i=await a.json();if(i.Status!==0)throw new Error(`dns status ${i.Status}`);let s=(i.Answer??[]).filter(c=>c.type===n&&typeof c.data=="string").map(c=>c.data);if(s.length===0)throw new Error("no records");return s}}function tt(e,t,r,n=fetch){return et(e,t,r,Br(n))}var oe="vercel-3e117311b62d";var rt="https://in.webdecoy.com";function nt(e){let t=new Headers(e.headers);return t.delete(N),t.delete(Ne),t}function ae(e,t){let r=nt(e);return t&&r.set(N,t),{action:"continue",headers:r,verdict:t}}async function Tr(e,t,r){try{let n=(r.ingest??"").trim().replace(/\/+$/,"")||rt,o=new URL(e.url),a=o.searchParams.get(Ke),i=K(o.hostname),s=await Ve({apiBase:n,siteKey:r.siteKey},i);if(a!==null)return{action:"respond",response:ze(a,s?s.mode:"unknown",r.siteKey,$)};if(o.pathname===ee)return{action:"respond",response:await We(e,n)};if(o.pathname===U)return{action:"respond",response:await De(e,{apiBase:n,siteKey:r.siteKey,sensorKey:r.sensorKey,host:i})};if(!s)return ae(e,null);let c=await Se(e,s,{siteKey:r.siteKey,verifiedBotCategory:(g,l)=>tt(t.ip,g.headers.get("user-agent")??"",l,t.fetch??fetch)});if(q(c)){let g=J(e.headers.get("cookie")??"",Y);g&&await Me(g,r.sensorKey,i,e.headers.get("user-agent")??"",Date.now())&&(c=Re(c))}return Ye({...c,refusal:c.pass?null:{ip:t.ip,path:o.pathname}},o.hostname,{siteKey:r.siteKey,apiBase:n,scannerId:r.scannerId,sensorKey:r.sensorKey,bundleVersion:oe,capabilities:$},{waitUntil:g=>t.waitUntil?.(g)},Date.now()),c.pass||c.mode!=="enforce"?ae(e,c.label):{action:"respond",response:Fe(e,n,r.siteKey,c.label)}}catch{try{return ae(e,null)}catch{return{action:"continue",headers:null,verdict:null}}}}export{oe as BUILD,rt as DEFAULT_INGEST,$ as VERCEL_VALIDATOR_CAPABILITIES,nt as cleanHeaders,Tr as runGate}; +${p} +${x}`,E=d.routes.get(C);E?E.count++:(d.routes.set(C,{pattern:u,verdict:a,behavior:p,crawlerBehavior:x,count:1}),d.routeBytes+=A.encode(u).length+A.encode(a).length+A.encode(p).length+A.encode(x).length+qe);for(let h of Array.isArray(c)?c:[]){if(!h||typeof h.pattern!="string"||!h.pattern)continue;let y=d.previews.get(h.pattern);y||(y={evaluated:0,refused:new Map},d.previews.set(h.pattern,y),d.routeBytes+=A.encode(h.pattern).length+or),y.evaluated++,typeof h.refused=="string"&&h.refused&&(y.refused.has(h.refused)||(d.routeBytes+=A.encode(h.refused).length+nr),y.refused.set(h.refused,(y.refused.get(h.refused)??0)+1))}typeof w=="string"&&w&&Ye(d,w).outsideReach++,typeof f=="string"&&f&&Ye(d,f).used++;let k=e?.referral;if(k&&typeof k.platform=="string"&&k.platform&&typeof k.path=="string"){let h=`${k.platform} +${k.path}`,y=d.referrals.get(h);y?y.count++:(d.referrals.set(h,{platform:k.platform,path:k.path,count:1}),d.routeBytes+=A.encode(k.platform).length+A.encode(k.path).length+qe)}let S=e?.refusal;S&&typeof S.ip=="string"&&S.ip&&typeof S.path=="string"&&S.path.startsWith("/")&&(d.refusals.push({ip:S.ip,path:S.path,at:Math.floor(n/1e3),verdict:a}),d.routeBytes+=ar),d.total++,(d.total>=tr||d.routeBytes>=rr)&&(N(d,r,o),_.delete(v))}catch{}}function dr(e,t,r,o,n){try{let a=(t.bucketStart+te)*1e3,i=Math.floor(Math.random()*lr),s=Math.max(0,Math.min(a-n+i,cr));o.waitUntil(new Promise(c=>{setTimeout(()=>{try{_.get(e)===t&&(N(t,r,o),_.delete(e))}catch{}c()},s)}))}catch{}}function N(e,t,r){try{if(e.total<=0||e.counts.size===0)return;let o={};for(let[l,w]of e.counts)o[l]=w;let n=[];for(let l of e.routes.values()){let w={pattern:l.pattern,verdict:l.verdict,count:l.count};l.behavior&&(w.behavior=l.behavior),l.crawlerBehavior&&(w.crawler_behavior=l.crawlerBehavior),n.push(w)}let a={organization_id:t.siteKey,bucket_start:e.bucketStart,mode:e.mode,counts:o,route_counts:n,report_id:crypto.randomUUID()};if(e.previews.size>0){let l=[];for(let[w,f]of e.previews){let b={};for(let[m,v]of f.refused)b[m]=v;l.push({pattern:w,evaluated:f.evaluated,additional_refusals:b})}a.previews=l}if(e.credentials.size>0){let l=[];for(let[w,f]of e.credentials)l.push({credential_id:w,outside_reach:f.outsideReach,used:f.used});a.credential_presentations=l}e.referrals.size>0&&(a.ai_referrals=[...e.referrals.values()].map(l=>({platform:l.platform,path:l.path,count:l.count}))),t.propertyId&&(a.property_id=t.propertyId),a.host=e.host,t.bundleVersion&&(a.reporter_version=t.bundleVersion);let i=!!(t.scannerId&&t.sensorKey);i&&(a.scanner_id=t.scannerId),a.capabilities=t.capabilities??je;let s=i?e.refusals:[],c=()=>wr(t.apiBase,JSON.stringify(a),i?t.sensorKey:void 0),g=s.length===0?c():fr(t.siteKey,s).then(l=>{a.refusals=l}).catch(()=>{}).then(c);r.waitUntil(g.then(()=>{},()=>{}))}catch{}}async function pr(e,t,r){let o=await crypto.subtle.digest("SHA-256",A.encode(`${e.toLowerCase()}|${t}|${r}`)),n="";for(let a of new Uint8Array(o))n+=a.toString(16).padStart(2,"0");return n.slice(0,ir)}async function fr(e,t){let r=[];for(let o of t)r.push({k:await pr(e,o.ip,o.path),t:o.at,v:o.verdict});return r}async function wr(e,t,r){let o=new AbortController,n=setTimeout(()=>o.abort(),sr),a={"content-type":"application/json"};r&&(a["x-wd-sensor-key"]=r);try{await fetch(e.replace(/\/+$/,"")+"/api/v1/clearance/telemetry",{method:"POST",headers:a,body:t,signal:o.signal})}finally{clearTimeout(n)}}var K=["route_min_trust","route_attribution","monitor_routes","route_exceptions","bot_behaviors","credential_reach","bot_verification_rdns","crawler_behavior","ai_referrals","credential_usage"];var hr=[{category:"search_engines",suffixes:[".googlebot.com",".google.com",".search.msn.com",".crawl.yahoo.net",".applebot.apple.com",".yandex.com",".yandex.net",".yandex.ru",".crawl.baidu.com",".crawl.baidu.jp"]}];function br(e,t){let r=e.toLowerCase().replace(/\.$/,"");for(let o of hr)if(t[o.category]){for(let n of o.suffixes)if(r.endsWith(n))return o.category}return null}var H=new Map,mr=36e5,yr=5e3;async function Xe(e,t,r,o){let n=H.get(e);if(n&&o-n.at=yr&&H.clear(),H.set(e,{category:a,at:o}),a}async function vr(e,t,r){let o=e.replace(/\.$/,""),n=t.includes(":")?[r.resolve6(o)]:[r.resolve4(o)];try{return(await Promise.all(n)).flat().some(i=>i===t)}catch{return!1}}var Qe=[["hunyuan/","Hunyuan","hunyuan","crawler"],["speridlabsresearchcrawler","SperidLabsResearchCrawler","speridlabsresearchcrawler","crawler"],["abliterantbot","AbliterantBot","abliterantbot","crawler"],["tokenfoundrybot","TokenFoundryBot","tokenfoundrybot","crawler"],["reflectionbot","Reflectionbot","reflectionbot","crawler"],["gptbot","GPTBot","gptbot","crawler"],["claudebot","ClaudeBot","claudebot","crawler"],["anthropic-ai","Anthropic","anthropic","crawler"],["claude-web","Claude-Web","claude-web","crawler"],["ccbot","CCBot","ccbot","crawler"],["google-extended","Google-Extended","google-extended","crawler"],["bytespider","ByteSpider","bytespider","crawler"],["amazonbot","Amazonbot","amazonbot","crawler"],["facebookbot","FacebookBot","facebookbot","crawler"],["meta-externalagent","Meta-ExternalAgent","meta-externalagent","crawler"],["cohere-ai","Cohere","cohere-ai","crawler"],["cohere","Cohere","cohere-ai","crawler"],["applebot-extended","Applebot-Extended","applebot-extended","crawler"],["youbot","YouBot","youbot","crawler"],["mistralbot","MistralBot","mistral","crawler"],["ai2bot","AI2Bot","ai2bot","crawler"],["deepseekbot","DeepSeek","deepseek","crawler"],["qwen","Qwen","qwen","crawler"],["webzio","Webz.io","webzio","crawler"],["sentibot","Sentibot","sentibot","crawler"],["omgili","Omgili","omgili","crawler"],["img2dataset","img2dataset","img2dataset","crawler"],["timpibot","Timpibot","timpibot","crawler"],["velenpublicwebcrawler","VelenPublicWebCrawler","velenpublicwebcrawler","crawler"],["isscyberriskcrawler","ISSCyberRiskCrawler","isscyberriskcrawler","crawler"],["friendlycrawler","FriendlyCrawler","friendlycrawler","crawler"],["elevenlabscrawler","ElevenlabsCrawler","elevenlabscrawler","crawler"],["riverbot","RiverBot","riverbot","crawler"],["kimibot","KimiBot","kimibot","crawler"],["moonshotbot","MoonshotBot","moonshotbot","crawler"],["chatglm-spider","ChatGLM-Spider","chatglm-spider","crawler"],["mistralai-training","MistralAI-Training","mistralai-training","crawler"],["imagespider","imageSpider","imagespider","crawler"],["laion-huggingface-processor","laion-huggingface-processor","laion-huggingface-processor","crawler"],["sbintuitionsbot","SBIntuitionsBot","sbintuitionsbot","crawler"],["clueweb-crawler","ClueWeb-Crawler","clueweb-crawler","crawler"],["icc-crawler","ICC-Crawler","icc-crawler","crawler"],["generalretrievalbot","GeneralRetrievalBot","generalretrievalbot","crawler"],["andi-searchbot","Andi-SearchBot","andi-searchbot","crawler"],["talarionsearchbot","TalarionSearchBot","talarionsearchbot","crawler"],["unfragilebot","UnfragileBot","unfragilebot","crawler"],["aranet-searchbot","Aranet-SearchBot","aranet-searchbot","crawler"],["duckassistbot","DuckAssistBot","duckassistbot","crawler"],["sofyabot","SofyaBot","sofyabot","crawler"],["xai-searchbot","xAI-SearchBot","xai-searchbot","crawler"],["linkupbot","LinkupBot","linkupbot","crawler"],["perplexitybot/","PerplexityBot","perplexitybot","crawler"],["claude-searchbot","Claude-SearchBot","claude-searchbot","crawler"],["oai-searchbot","OAI-SearchBot","oai-searchbot","crawler"],["searchgpt","SearchGPT","searchgpt","crawler"],["phind","Phind","phind","crawler"],["kagi","Kagi","kagi","crawler"],["exasearchbot","Exa","exa","crawler"],["exabot","Exa","exa","crawler"],["shapbot","ShapBot","shapbot","crawler"],["meta-webindexer","Meta-WebIndexer","meta-webindexer","crawler"],["metaphor","Metaphor","metaphor","crawler"],["tavily","Tavily","tavily","crawler"],["bravesearch","BraveSearch","brave-search","crawler"],["neevabot","NeevaBot","neeva","crawler"],["kimi-searchbot","Kimi-SearchBot","kimi-searchbot","crawler"],["isonsearchbot","IsonSearchBot","isonsearchbot","crawler"],["keenablebot","KeenableBot","keenablebot","crawler"],["azureai-searchbot","AzureAI-SearchBot","azureai-searchbot","crawler"],["grokbot","GrokBot","grokbot","crawler"],["mistralai-index","MistralAI-Index","mistralai-index","crawler"],["amzn-searchbot","Amzn-SearchBot","amzn-searchbot","crawler"],["google-cloudvertexbot","Google-CloudVertexBot","google-cloudvertexbot","crawler"],["cloudflare-ai-search","Cloudflare AI Search","cloudflare-ai-search","crawler"],["cloudflare-autorag","Cloudflare AI Search","cloudflare-ai-search","crawler"],["atlassian-bot","atlassian-bot","atlassian-bot","crawler"],["amazon-bedrock-knowledgebase","Amazon Bedrock Knowledge Bases","amazon-bedrock-knowledgebase","crawler"],["amazon-qbusiness","Amazon Q Business","amazon-qbusiness","crawler"],["amazon-kendra","Amazon Kendra","amazon-kendra","crawler"],["linerbot","LinerBot","linerbot","crawler"],["context7-crawler","Context7-Crawler","context7-crawler","crawler"],["zanistabot","ZanistaBot","zanistabot","crawler"],["iaskspider","iaskspider","iaskspider","crawler"],["anomura/","Anomura","anomura","crawler"],["channel3bot","Channel3Bot","channel3bot","crawler"],["proratainc","ProRata","prorata","crawler"],["operator","Operator","operator","crawler"],["claude-user","Claude-User","claude-user","crawler"],["claude-code/","Claude-User","claude-user","crawler"],["gemini-user","Gemini-User","gemini-user","crawler"],["googleagent-mariner","GoogleAgent-Mariner","googleagent-mariner","crawler"],["mariner","GoogleAgent-Mariner","googleagent-mariner","crawler"],["amazonbuyforme","AmazonBuyForMe","amazon-buyforme","crawler"],["buyforme","AmazonBuyForMe","amazon-buyforme","crawler"],["browser-use","Browser-Use","browser-use","crawler"],["stagehand","Stagehand","stagehand","crawler"],["manus-user","Manus-User","manus-user","crawler"],["multion","MultiOn","multion","crawler"],["opencode-user","OpenCode-User","opencode-user","crawler"],["google-agent","Google-Agent","google-agent","crawler"],["googleagent-urlcontext","GoogleAgent-URLContext","googleagent-urlcontext","crawler"],["google-jetski-antigravity","Google Antigravity","google-antigravity","crawler"],["amzn-user","Amzn-User","amzn-user","crawler"],["amazon-quick-on-behalf-of-","Amazon Quick","amazon-quick","crawler"],["amazon-bedrock-agentcore-browser","Amazon Bedrock AgentCore Browser","amazon-bedrock-agentcore-browser","crawler"],["kiroserver/","Kiro","kiro","crawler"],["claude-agent/","Claude-Agent","claude-agent","crawler"],["grok-agent/","grok-agent","grok-agent","crawler"],["mozilla-tabstack","Mozilla Tabstack","mozilla-tabstack","crawler"],["isonai-user/","IsonAI-User","isonai-user","crawler"],["liner-user/","Liner-User","liner-user","crawler"],["minimaxagent","MiniMaxAgent","minimax-agent","crawler"],["qodercli","Qoder","qoder","crawler"],["zcode-webfetch","ZCode","zcode","crawler"],["augment-webfetch","Augment Code","augment-code","crawler"],["opencode-smartfetch","opencode-smartfetch","opencode-smartfetch","crawler"],["deepseek-harness","deepseek-harness","deepseek-harness","crawler"],["agentdrivesagent/","AgentDrivesAgent","agentdrivesagent","crawler"],["jambot","Jambot","jambot","crawler"],["fyndbot","fyndbot","fyndbot","crawler"],["pexelsbot","PexelsBot","pexelsbot","crawler"],["360spider","360Spider","360spider","crawler"],["cgmsearchbot","CGMSearchBot","cgmsearchbot","crawler"],["iboubot","IbouBot","iboubot","crawler"],["ibou-search","IbouBot","iboubot","crawler"],["googlebot","Googlebot","googlebot","crawler"],["google-inspectiontool","Google-InspectionTool","google-inspectiontool","crawler"],["bingbot","Bingbot","bingbot","crawler"],["msnbot","MSNBot","msnbot","crawler"],["yandexbot","YandexBot","yandexbot","crawler"],["yandex.com/bots","YandexBot","yandexbot","crawler"],["baiduspider","Baiduspider","baiduspider","crawler"],["petalbot","PetalBot","petalbot","crawler"],["duckduckbot","DuckDuckBot","duckduckbot","crawler"],["applebot","Applebot","applebot","crawler"],["sogou","Sogou Spider","sogou","crawler"],["qwantify","Qwantify","qwantify","crawler"],["qwantbot","Qwantify","qwantify","crawler"],["yeti/","Naver","naver","crawler"],["naverbot","Naver","naver","crawler"],["seznambot","SeznamBot","seznam","crawler"],["mojeekbot","MojeekBot","mojeek","crawler"],["slurp","Yahoo! Slurp","yahoo-slurp","crawler"],["bravebot","Bravebot","bravebot","crawler"],["coccocbot","Coc Coc","coccocbot","crawler"],["help.coccoc.com","Coc Coc","coccocbot","crawler"],["yisouspider","YisouSpider","yisouspider","crawler"],["yepbot","YepBot","yepbot","crawler"],["googleother","GoogleOther","googleother","crawler"],["storebot-google","Storebot-Google","storebot-google","crawler"],["geedoshopproductfinder","Geedo","geedo","crawler"],["geedoproductsearch","Geedo","geedo","crawler"],["geedobot","Geedo","geedo","crawler"],["yacybot","YaCy","yacybot","crawler"],["cl0q-crawler","cl0q","cl0q","crawler"],["cl0q-discovery","cl0q","cl0q","crawler"],["cl0q-favicon","cl0q","cl0q","crawler"],["amazonproductdiscovery","Amazon Product Discovery","amazon-product-discovery","crawler"],["amazonsellerinitiatedlisting","Amazon Product Discovery","amazon-product-discovery","crawler"],["officestorebot","officestorebot","officestorebot","crawler"],["semanticscholarbot","SemanticScholarBot","semanticscholarbot","crawler"],["ntentbot","NTENTbot","ntentbot","crawler"],["agentreadyscan","AgentReadyScan","agentreadyscan","crawler"],["crawlcheck/","CrawlCheck","crawlcheck","crawler"],["kostobot","KostoBot","kostobot","crawler"],["keys-so-bot","keys.so","keys-so-bot","crawler"],["crolbot","CrolBot","crolbot","crawler"],["ahrefsbot","AhrefsBot","ahrefsbot","crawler"],["ahrefs","AhrefsBot","ahrefsbot","crawler"],["semrushbot","SemrushBot","semrushbot","crawler"],["semrush","SemrushBot","semrushbot","crawler"],["mj12bot","MJ12bot","mj12bot","crawler"],["dotbot","DotBot","dotbot","crawler"],["rogerbot","Rogerbot","rogerbot","crawler"],["screaming frog","Screaming Frog","screaming-frog","crawler"],["sitebulb","Sitebulb","sitebulb","crawler"],["deepcrawl","DeepCrawl","deepcrawl","crawler"],["lumar","DeepCrawl","deepcrawl","crawler"],["oncrawl","OnCrawl","oncrawl","crawler"],["botify","Botify","botify","crawler"],["contentking","ContentKing","contentking","crawler"],["sistrix","SISTRIX","sistrix","crawler"],["serpstat","Serpstat","serpstat","crawler"],["spyfu","SpyFu","spyfu","crawler"],["meta-externalads","meta-externalads","meta-externalads","crawler"],["dataforseobot","DataForSeoBot","dataforseobot","crawler"],["barkrowler","Barkrowler","barkrowler","crawler"],["scrunchbot","Scrunchbot","scrunchbot","crawler"],["webxtrendbot","webXtrendBot","webxtrendbot","crawler"],["serankingbacklinksbot","SERankingBacklinksBot","serankingbacklinksbot","crawler"],["awariobot","AwarioBot","awariobot","crawler"],["awariosmartbot","AwarioBot","awariobot","crawler"],["seojuice-searchbot","SEOJuice-SearchBot","seojuice-searchbot","crawler"],["trendictionbot","trendictionbot","trendictionbot","crawler"],["hubspot crawler","HubSpot Crawler","hubspot-crawler","crawler"],["hubspot webcrawler","HubSpot Crawler","hubspot-crawler","crawler"],["hubspot single page link check","HubSpot Crawler","hubspot-crawler","crawler"],["hubspot connect","HubSpot Crawler","hubspot-crawler","crawler"],["brightedge crawler","BrightEdge Crawler","brightedge","crawler"],["sebot-wa","SE Ranking","se-ranking","crawler"],["searchatlas","Search Atlas","searchatlas","crawler"],["yextbot","YextBot","yextbot","crawler"],["accessiblewebbot","AccessibleWebBot","accessiblewebbot","crawler"],["bitsightbot","BitSightBot","bitsightbot","crawler"],["l9scan","LeakIX","leakix","crawler"],["modatscanner","ModatScanner","modatscanner","crawler"],["umaibot","UmaiBot","umaibot","crawler"],["artex-enrich/","ARTEX","artex","tool"],["nessus","Nessus","nessus","crawler"],["qualys","Qualys","qualys","crawler"],["shodan","Shodan","shodan","crawler"],["censys","Censys","censys","crawler"],["nmap","Nmap","nmap","crawler"],["zap/","OWASP ZAP","zap","crawler"],["burp","Burp Suite","burp","crawler"],["nikto","Nikto","nikto","crawler"],["nuclei","Nuclei","nuclei","crawler"],["acunetix","Acunetix","acunetix","crawler"],["netsparker","Netsparker","netsparker","crawler"],["detectify","Detectify","detectify","crawler"],["palo alto networks","Palo Alto Networks Cortex Xpanse","paloalto-xpanse","crawler"],["recordedfuture","Recorded Future Crawler","recordedfuture","crawler"],["developers.cloudflare.com/security-center","Cloudflare Security Center","cloudflare-security-center","crawler"],["virustotalcloud","VirusTotal","virustotal-cloud","crawler"],["intruder","Intruder","intruder","crawler"],["netcraftsurveyagent","Netcraft","netcraft","crawler"],["internetmeasurement","Driftnet","driftnet","crawler"],["t3versionsbot","t3versionsBot","t3versionsbot","crawler"],["norma/","Norma WebFetch","norma","tool"],["python-requests","Python-Requests","python-requests","tool"],["python-urllib","Python-urllib","python-urllib","tool"],["python/","Python","python","tool"],["scrapy","Scrapy","scrapy","tool"],["httpx","HTTPX","httpx","tool"],["aiohttp","aiohttp","aiohttp","tool"],["beautifulsoup","BeautifulSoup","beautifulsoup","tool"],["node-fetch","node-fetch","node-fetch","tool"],["axios/","Axios","axios","tool"],["got/","Got","got","tool"],["undici","Undici","undici","tool"],["go-http-client","Go-HTTP-Client","go-http-client","tool"],["colly","Colly","colly","tool"],["java/","Java","java","tool"],["okhttp","OkHttp","okhttp","tool"],["apache-httpclient/","Apache-HttpClient","apache-httpclient","tool"],["jsoup","Jsoup","jsoup","tool"],["guzzlehttp","GuzzleHttp","guzzlehttp","tool"],["php/","PHP","php","tool"],["ruby/","Ruby","ruby","tool"],["faraday","Faraday","faraday","tool"],["mechanize","Mechanize","mechanize","tool"],["nutch","Apache Nutch","nutch","tool"],["grub-client","Grub","grub","tool"],["crawl4ai","Crawl4AI","crawl4ai","tool"],["deno/","Deno","deno","tool"],["headlesschrome","HeadlessChrome","headlesschrome","tool"],["puppeteer","Puppeteer","puppeteer","tool"],["playwright","Playwright","playwright","tool"],["selenium","Selenium","selenium","tool"],["phantomjs","PhantomJS","phantomjs","tool"],["splash","Splash","splash","tool"],["browserless","Browserless","browserless","tool"],["browserbase","Browserbase","browserbase","tool"],["ia_archiver","Internet Archive","ia-archiver","crawler"],["archive.org_bot","Archive.org","archive-org-bot","crawler"],["wayback","Wayback Machine","wayback","crawler"],["heritrix","Heritrix","heritrix","crawler"],["brozzler","Brozzler","brozzler","crawler"],["findfiles.net-linkchecker","FindFiles.net LinkChecker","findfiles-linkchecker","crawler"],["findfiles.net/","FindFiles.net","findfiles-bot","crawler"],["findfiles.net-faviconfetcher","FindFiles.net","findfiles-bot","crawler"],["hstspreload-bot","hstspreload-bot","hstspreload-bot","crawler"],["googlemessages","GoogleMessages","google-messages","crawler"],["facebookexternalhit","Facebook","facebookexternalhit","crawler"],["facebot","Facebot","facebot","crawler"],["twitterbot","Twitterbot","twitterbot","crawler"],["linkedinbot","LinkedInBot","linkedinbot","crawler"],["slackbot","Slackbot","slackbot","crawler"],["telegrambot","TelegramBot","telegrambot","crawler"],["whatsapp","WhatsApp","whatsapp","crawler"],["discordbot","Discordbot","discordbot","crawler"],["pinterest","Pinterest","pinterestbot","crawler"],["tumblr","Tumblr","tumblr","crawler"],["reddit","Reddit","reddit","crawler"],["embedly","Embedly","embedly","crawler"],["iframely","Iframely","iframely","crawler"],["adsbot-google","AdsBot-Google","adsbot-google","crawler"],["stripebot","Stripebot","stripebot","crawler"],["google-read-aloud","Google-Read-Aloud","google-read-aloud","crawler"],["google-safety","Google-Safety","google-safety","crawler"],["oai-adsbot","OAI-AdsBot","oai-adsbot","crawler"],["kakaobot","KakaoBot","kakaobot","crawler"],["meta-externalhit","Meta-ExternalHit","meta-externalhit","crawler"],["facebookcatalog/","facebookcatalog","facebookcatalog","crawler"],["slack-imgproxy","Slack-ImgProxy","slack-imgproxy","crawler"],["skypeuripreview","SkypeUriPreview","skypeuripreview","crawler"],["bingpreview/","BingPreview","bingpreview","crawler"],["microsoftpreview/","MicrosoftPreview","microsoftpreview","crawler"],["snap url preview service","Snap URL Preview","snap-url-preview","crawler"],["keybasebot","KeybaseBot","keybasebot","crawler"],["mastodon/","Mastodon","mastodon","crawler"],["summalybot","SummalyBot","summalybot","crawler"],["tiktokspider","TikTokSpider","tiktokspider","crawler"],["nextcloud-server-crawler","Nextcloud","nextcloud","crawler"],["nextcloud-news","Nextcloud","nextcloud","crawler"],["wordpress/","WordPress site","wordpress-site","crawler"],["google web preview","Google Web Preview","google-web-preview","crawler"],["google-pagerenderer","Google Web Preview","google-web-preview","crawler"],["google favicon","Google Favicon","google-favicon","crawler"],["googleimageproxy","GoogleImageProxy","googleimageproxy","crawler"],["google-cws","Google-CWS","google-cws","crawler"],["google-pinpoint","Google-Pinpoint","google-pinpoint","crawler"],["google-site-verification","Google-Site-Verification","google-site-verification","crawler"],["googleassociationservice","GoogleAssociationService","googleassociationservice","crawler"],["aasa-bot","AASA-Bot","aasa-bot","crawler"],["apis-google","APIs-Google","apis-google","crawler"],["duplexweb-google","DuplexWeb-Google","duplexweb-google","crawler"],["google-xrawler","google-xrawler","google-xrawler","crawler"],["google-physicalweb","Google-PhysicalWeb","google-physicalweb","crawler"],["mediapartners-google","Mediapartners-Google","mediapartners-google","crawler"],["google-adwords-instant","Google Ads fetchers","google-ads-landing","crawler"],["google-display-ads-bot","Google Ads fetchers","google-ads-landing","crawler"],["google-ads-conversions","Google Ads fetchers","google-ads-landing","crawler"],["amazonadbot","AmazonAdBot","amazonadbot","crawler"],["ias_crawler","IAS crawler","integral-ad-science","crawler"],["safednsbot","SafeDNSBot","safednsbot","crawler"],["curl/","cURL","curl","tool"],["wget/","Wget","wget","tool"],["libwww-perl","libwww-perl","libwww-perl","tool"],["lwp-","LWP","lwp","tool"],["httrack","HTTrack","httrack","tool"],["truetierbot","TrueTierBot","truetierbot","crawler"],["webdecoybot","WebDecoyBot","webdecoybot","crawler"],["uptimerobot","UptimeRobot","uptimerobot","crawler"],["pingdom","Pingdom","pingdom","crawler"],["statuscake","StatusCake","statuscake","crawler"],["betteruptime","Better Uptime","better-uptime","crawler"],["datadog","Datadog Synthetics","datadog-synthetics","crawler"],["newrelic","New Relic","newrelic","crawler"],["site24x7","Site24x7","site24x7","crawler"],["freshping","Freshping","freshping","crawler"],["hetrixtools","HetrixTools","hetrixtools","crawler"],["nodeping","NodePing","nodeping","crawler"],["gtmetrix","GTmetrix","gtmetrix","crawler"],["chrome-lighthouse","Lighthouse","chrome-lighthouse","crawler"],["google page speed","Lighthouse","chrome-lighthouse","crawler"],["google-structured-data-testing-tool","Google Structured Data Testing Tool","google-structured-data-testing-tool","crawler"],["google search console","Google Search Console","google-search-console","crawler"],["google-certificates-bridge","Google-Certificates-Bridge","google-certificates-bridge","crawler"],["googlestackdrivermonitoring","Google Cloud Monitoring","google-cloud-monitoring","crawler"],["appinsights","Azure Application Insights","azure-app-insights","crawler"],["amazon route 53 health check service","Route 53 Health Check","route53-health-check","crawler"],["ptst/","WebPageTest","webpagetest","crawler"],["2ip bot","2ip bot","2ip-bot","crawler"],["abevalbot","ABEvalBot","abevalbot","crawler"],["hanaleibot","HanaleiBot","hanaleibot","crawler"],["pomothy-bot","Pomothy-Bot","pomothy-bot","crawler"],["andifeedbot","AndiFeedBot","andifeedbot","crawler"],["librarianbot","LibrarianBot","librarianbot","crawler"],["oursignal/","oursignal","oursignal","crawler"],["feedly","Feedly","feedly","crawler"],["livelapbot","LivelapBot","livelapbot","crawler"],["feedspot","Feedspot","feedspot","crawler"],["feedfetcher","Feedfetcher-Google","feedfetcher-google","crawler"],["newsblur","NewsBlur","newsblur","crawler"],["inoreader","Inoreader","inoreader","crawler"],["theoldreader","The Old Reader","theoldreader","crawler"],["feedbin","Feedbin","feedbin","crawler"],["miniflux","Miniflux","miniflux","crawler"],["freshrss","FreshRSS","freshrss","crawler"],["commafeed","CommaFeed","commafeed","crawler"],["googleproducer","GoogleProducer","google-producer","crawler"],["feeder.co","Feeder","feeder-co","crawler"],["rssbot/","RSSBot","rssbot","crawler"],["hatena","Hatena","hatena","crawler"],["newsai/","newsai","newsai","crawler"],["tphotobot","tphotobot","tphotobot","crawler"],["bangobot","BangoBot","bangobot","crawler"],["kamatabot","KamataBot","kamatabot","crawler"],["boehmbot","BoehmBot","boehmbot","crawler"],["pipericbot","PipericBot","pipericbot","crawler"],["pandalytics","Pandalytics","pandalytics","crawler"],["spiderling","SpiderLing","spiderling","crawler"],["sketchengine","SpiderLing","spiderling","crawler"],["netapi/","NetAPI Bot","netapi","crawler"],["anticlonebot","AntiCloneBot","anticlonebot","crawler"],["terncrawler","TernCrawler","terncrawler","crawler"],["diffbot","Diffbot","diffbot","crawler"],["import.io","Import.io","import-io","crawler"],["brightdata","Bright Data","bright-data","crawler"],["luminati","Bright Data","bright-data","crawler"],["brightbot","Brightbot","brightbot","crawler"],["cloudflarebrowserrenderingcrawler","Cloudflare Browser Rendering Crawler","cloudflare-crawl","crawler"],["ev-crawler","ev-crawler","ev-crawler","crawler"],["oxylabs","Oxylabs","oxylabs","crawler"],["scrapingbee","ScrapingBee","scrapingbee","crawler"],["scrapingant","ScrapingAnt","scrapingant","crawler"],["zyte","Zyte","zyte","crawler"],["scrapinghub","Zyte","zyte","crawler"],["apify","Apify","apify","crawler"],["crawlbase","Crawlbase","crawlbase","crawler"],["webscrapingapi","WebScrapingAPI","webscrapingapi","crawler"],["firecrawlagent","Firecrawl","firecrawl","crawler"],["crawlspace","Crawlspace","crawlspace","crawler"],["imagesiftbot","ImagesiftBot","imagesiftbot","crawler"],["dataprovider.com","Dataprovider.com","dataprovider","crawler"],["mixrankbot","MixrankBot","mixrankbot","crawler"],["domaincrawler","DomainCrawler","domaincrawler","crawler"],["linkfluence","Linkfluence","linkfluence","crawler"],["ubermetrics-technologies.com","Ubermetrics","ubermetrics","crawler"],["um-ln/","Ubermetrics","ubermetrics","crawler"],["mediatoolkitbot","Mediatoolkitbot","mediatoolkitbot","crawler"],["collection@infegy.com","Infegy","infegy","crawler"],["storygizebot","StorygizeBot","storygizebot","crawler"],["aihitbot","aiHitBot","aihitbot","crawler"],["turnitin","TurnitinBot","turnitinbot","crawler"],["primalbot","Primalbot","primalbot","crawler"],["gluten free crawler","Gluten Free Crawler","gluten-free-crawler","crawler"],["andi-user","Andi-User","andi-user","crawler"],["chatgpt-user","ChatGPT-User","chatgpt-user","crawler"],["perplexity-user","Perplexity-User","perplexity-user","crawler"],["mistralai-user","MistralAI-User","mistralai-user","crawler"],["exauser","ExaUser","exauser","crawler"],["shap-user","Shap-User","shap-user","crawler"],["meta-externalfetcher","Meta-ExternalFetcher","meta-externalfetcher","crawler"],["gemini-deep-research","Gemini-Deep-Research","gemini-deep-research","crawler"],["copilot","Microsoft Copilot","copilot","crawler"],["cortana","Cortana","cortana","crawler"],["siri","Siri","siri","crawler"],["kimi-user","Kimi-User","kimi-user","crawler"],["keenable-user","Keenable-User","keenable-user","crawler"],["elevenlabsbot","ElevenlabsBot","elevenlabsbot","crawler"],["klaviyoaibot","KlaviyoAIBot","klaviyoaibot","crawler"],["google-notebooklm","Google-NotebookLM","google-notebooklm","crawler"],["google-gemininotebook","Google-NotebookLM","google-notebooklm","crawler"]];function xr(e){for(let[t,r,o,n]of Qe)if(e.includes(t))return{name:r,id:o,kind:n};return null}var kr=/(?:bot|crawler|spider)(?:[/\s);,]|$)/i;function Ze(e){let t=e.toLowerCase(),r=xr(t);return r?.kind==="crawler"||!r&&kr.test(e)}var _r="Search Engine Crawler",re=1e3,Ar={search_engines:!0,ai_crawlers:!0,monitoring:!0};function Cr(e){if(!e.includes(":"))return e.split(".").reverse().join(".")+".in-addr.arpa";let[t,r=""]=e.split("::"),o=t?t.split(":"):[],n=r?r.split(":"):[],a=8-o.length-n.length;return a<0?"":[...o,...Array(Math.max(0,a)).fill("0"),...n].map(s=>s.padStart(4,"0")).join("").split("").reverse().join(".")+".ip6.arpa"}function oe(e,t){return Promise.race([e,new Promise((r,o)=>setTimeout(()=>o(new Error("dns timeout")),t))])}function Sr(e){return{reverse:t=>oe(e(Cr(t),"PTR"),re),resolve4:t=>oe(e(t,"A"),re),resolve6:t=>oe(e(t,"AAAA"),re)}}function et(e,t,r,o=typeof Deno<"u"&&Deno&&typeof Deno.resolveDns=="function"?Deno.resolveDns.bind(Deno):void 0,n=Date.now()){return!r||!e||!o||!Ze(t)?Promise.resolve(""):Xe(e,Ar,Sr(o),n).then(a=>a==="search_engines"?_r:"").catch(()=>"")}var Rr="https://cloudflare-dns.com/dns-query",Pr=1e3,Br={A:1,PTR:12,AAAA:28};function Er(e=fetch){return async(t,r)=>{let o=Br[r];if(!o)throw new Error(`unsupported record type ${r}`);let n=`${Rr}?name=${encodeURIComponent(t)}&type=${r}`,a=await e(n,{headers:{accept:"application/dns-json"},signal:AbortSignal.timeout(Pr)});if(!a.ok)throw new Error(`doh ${a.status}`);let i=await a.json();if(i.Status!==0)throw new Error(`dns status ${i.Status}`);let s=(i.Answer??[]).filter(c=>c.type===o&&typeof c.data=="string").map(c=>c.data);if(s.length===0)throw new Error("no records");return s}}function tt(e,t,r,o=fetch){return et(e,t,r,Er(o))}var ne="vercel-8dd3c25aab42";var rt="https://in.webdecoy.com";function ot(e){let t=new Headers(e.headers);return t.delete(G),t.delete(Ge),t}function ae(e,t){let r=ot(e);return t&&r.set(G,t),{action:"continue",headers:r,verdict:t}}async function Tr(e,t,r){try{let o=(r.ingest??"").trim().replace(/\/+$/,"")||rt,n=new URL(e.url),a=n.searchParams.get(ze),i=z(n.hostname),s=await $e({apiBase:o,siteKey:r.siteKey},i);if(a!==null)return{action:"respond",response:Ve(a,s?s.mode:"unknown",r.siteKey,K)};if(n.pathname===ee)return{action:"respond",response:await We(e,o)};if(n.pathname===L)return{action:"respond",response:await De(e,{apiBase:o,siteKey:r.siteKey,sensorKey:r.sensorKey,host:i})};if(!s)return ae(e,null);let c=await Se(e,s,{siteKey:r.siteKey,verifiedBotCategory:(g,l)=>tt(t.ip,g.headers.get("user-agent")??"",l,t.fetch??fetch)});if(q(c)){let g=Y(e.headers.get("cookie")??"",J);g&&await Me(g,r.sensorKey,i,e.headers.get("user-agent")??"",Date.now())&&(c=Re(c))}return Je({...c,refusal:c.pass?null:{ip:t.ip,path:n.pathname}},n.hostname,{siteKey:r.siteKey,apiBase:o,scannerId:r.scannerId,sensorKey:r.sensorKey,bundleVersion:ne,capabilities:K},{waitUntil:g=>t.waitUntil?.(g)},Date.now()),c.pass||c.mode!=="enforce"?ae(e,c.label):{action:"respond",response:Fe(e,o,r.siteKey,c.label)}}catch{try{return ae(e,null)}catch{return{action:"continue",headers:null,verdict:null}}}}export{ne as BUILD,rt as DEFAULT_INGEST,K as VERCEL_VALIDATOR_CAPABILITIES,ot as cleanHeaders,Tr as runGate};