@webdecoy/node 0.29.0 → 0.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -0
- package/dist/{chunk-VPPTUL5K.mjs → chunk-BBRVE4RC.mjs} +85 -85
- package/dist/{chunk-32TEUD5K.mjs → chunk-IGSPJVI6.mjs} +26 -0
- package/dist/{detect-and-gate-Dnfo2t3B.d.ts → detect-and-gate-BfL39HDb.d.ts} +1 -1
- package/dist/{detect-and-gate-BNq26N9d.d.mts → detect-and-gate-DWOUDUSY.d.mts} +1 -1
- package/dist/index.d.mts +66 -7
- package/dist/index.d.ts +66 -7
- package/dist/index.js +311 -149
- package/dist/index.mjs +188 -53
- package/dist/{sdk-CJ6pmQGy.d.mts → sdk-DveMEqxl.d.mts} +2 -2
- package/dist/{sdk-CJ6pmQGy.d.ts → sdk-DveMEqxl.d.ts} +2 -2
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +26 -0
- package/dist/testing.mjs +1 -1
- package/dist/vercel.d.mts +2 -2
- package/dist/vercel.d.ts +2 -2
- package/dist/vercel.js +124 -98
- package/dist/vercel.mjs +2 -2
- package/package.json +1 -1
|
@@ -53,6 +53,8 @@ var BOT_REGISTRY = [
|
|
|
53
53
|
{ id: "kimibot", name: "KimiBot", category: "training_crawler", organization: "Moonshot AI", baseScore: 80, respectsRobots: true, uaPatterns: ["kimibot"] },
|
|
54
54
|
{ id: "moonshotbot", name: "MoonshotBot", category: "training_crawler", organization: "Moonshot AI", baseScore: 80, respectsRobots: false, uaPatterns: ["moonshotbot"] },
|
|
55
55
|
{ id: "chatglm-spider", name: "ChatGLM-Spider", category: "training_crawler", organization: "Zhipu AI", baseScore: 80, respectsRobots: false, uaPatterns: ["chatglm-spider"] },
|
|
56
|
+
{ id: "generalretrievalbot", name: "GeneralRetrievalBot", category: "ai_search_crawler", organization: "General Retrieval", baseScore: 60, respectsRobots: true, uaPatterns: ["generalretrievalbot"] },
|
|
57
|
+
{ id: "andi-searchbot", name: "Andi-SearchBot", category: "ai_search_crawler", organization: "Andi", baseScore: 55, respectsRobots: true, uaPatterns: ["andi-searchbot"] },
|
|
56
58
|
{ id: "talarionsearchbot", name: "TalarionSearchBot", category: "ai_search_crawler", organization: "Talarion", baseScore: 65, respectsRobots: false, uaPatterns: ["talarionsearchbot"] },
|
|
57
59
|
{ id: "unfragilebot", name: "UnfragileBot", category: "ai_search_crawler", organization: "Unfragile", baseScore: 65, respectsRobots: true, uaPatterns: ["unfragilebot"] },
|
|
58
60
|
{ id: "aranet-searchbot", name: "Aranet-SearchBot", category: "ai_search_crawler", organization: "Aranet", baseScore: 65, respectsRobots: false, uaPatterns: ["aranet-searchbot"] },
|
|
@@ -88,6 +90,9 @@ var BOT_REGISTRY = [
|
|
|
88
90
|
{ id: "manus-user", name: "Manus-User", category: "ai_agent", organization: "Manus", baseScore: 70, respectsRobots: false, uaPatterns: ["manus-user"] },
|
|
89
91
|
{ id: "multion", name: "MultiOn", category: "ai_agent", organization: "MultiOn", baseScore: 70, respectsRobots: false, uaPatterns: ["multion"] },
|
|
90
92
|
{ id: "opencode-user", name: "OpenCode-User", category: "ai_agent", organization: "OpenCode", baseScore: 75, respectsRobots: false, uaPatterns: ["opencode-user"] },
|
|
93
|
+
{ id: "jambot", name: "Jambot", category: "search_crawler", organization: "Jambot", baseScore: 40, respectsRobots: true, uaPatterns: ["jambot"] },
|
|
94
|
+
{ id: "fyndbot", name: "fyndbot", category: "search_crawler", organization: "Fynd", baseScore: 40, respectsRobots: true, uaPatterns: ["fyndbot"] },
|
|
95
|
+
{ id: "pexelsbot", name: "PexelsBot", category: "search_crawler", organization: "pexels.de", baseScore: 40, respectsRobots: true, uaPatterns: ["pexelsbot"] },
|
|
91
96
|
{ id: "360spider", name: "360Spider", category: "search_crawler", organization: "Qihoo 360", baseScore: 40, respectsRobots: true, uaPatterns: ["360spider"] },
|
|
92
97
|
{ id: "cgmsearchbot", name: "CGMSearchBot", category: "search_crawler", organization: "CGMIMM", baseScore: 40, respectsRobots: true, uaPatterns: ["cgmsearchbot"] },
|
|
93
98
|
{ id: "iboubot", name: "IbouBot", category: "search_crawler", organization: "Ibou", baseScore: 30, respectsRobots: true, uaPatterns: ["iboubot", "ibou-search"] },
|
|
@@ -111,6 +116,10 @@ var BOT_REGISTRY = [
|
|
|
111
116
|
{ id: "coccocbot", name: "Coc Coc", category: "search_crawler", organization: "Coc Coc", baseScore: 35, respectsRobots: true, uaPatterns: ["coccocbot"] },
|
|
112
117
|
{ id: "yisouspider", name: "YisouSpider", category: "search_crawler", organization: "Alibaba", baseScore: 40, respectsRobots: true, uaPatterns: ["yisouspider"] },
|
|
113
118
|
{ id: "yepbot", name: "YepBot", category: "search_crawler", organization: "Ahrefs", baseScore: 30, respectsRobots: true, uaPatterns: ["yepbot"] },
|
|
119
|
+
{ id: "agentreadyscan", name: "AgentReadyScan", category: "seo_crawler", organization: "Agent Ready", baseScore: 45, respectsRobots: true, uaPatterns: ["agentreadyscan"] },
|
|
120
|
+
{ id: "crawlcheck", name: "CrawlCheck", category: "seo_crawler", organization: "CrawlCheck", baseScore: 45, respectsRobots: true, uaPatterns: ["crawlcheck/"] },
|
|
121
|
+
{ id: "kostobot", name: "KostoBot", category: "seo_crawler", organization: "Kosto", baseScore: 50, respectsRobots: true, uaPatterns: ["kostobot"] },
|
|
122
|
+
{ id: "keys-so-bot", name: "keys.so", category: "seo_crawler", organization: "Keys.so", baseScore: 50, respectsRobots: false, uaPatterns: ["keys-so-bot"] },
|
|
114
123
|
{ id: "crolbot", name: "CrolBot", category: "seo_crawler", organization: "cloro", baseScore: 50, respectsRobots: false, uaPatterns: ["crolbot"] },
|
|
115
124
|
{ id: "ahrefsbot", name: "AhrefsBot", category: "seo_crawler", organization: "Ahrefs", baseScore: 50, respectsRobots: true, uaPatterns: ["ahrefsbot", "ahrefs"] },
|
|
116
125
|
{ id: "semrushbot", name: "SemrushBot", category: "seo_crawler", organization: "Semrush", baseScore: 50, respectsRobots: true, uaPatterns: ["semrushbot", "semrush"] },
|
|
@@ -136,6 +145,10 @@ var BOT_REGISTRY = [
|
|
|
136
145
|
{ id: "seojuice-searchbot", name: "SEOJuice-SearchBot", category: "seo_crawler", organization: "SEOJuice", baseScore: 50, respectsRobots: true, uaPatterns: ["seojuice-searchbot"] },
|
|
137
146
|
{ id: "trendictionbot", name: "trendictionbot", category: "seo_crawler", organization: "Talkwalker", baseScore: 50, respectsRobots: true, uaPatterns: ["trendictionbot"] },
|
|
138
147
|
{ id: "hubspot-crawler", name: "HubSpot Crawler", category: "seo_crawler", organization: "HubSpot", baseScore: 45, respectsRobots: true, uaPatterns: ["hubspot crawler"] },
|
|
148
|
+
{ id: "bitsightbot", name: "BitSightBot", category: "security_scanner", organization: "BitSight", baseScore: 70, respectsRobots: false, uaPatterns: ["bitsightbot"] },
|
|
149
|
+
{ id: "leakix", name: "LeakIX", category: "security_scanner", organization: "LeakIX", baseScore: 75, respectsRobots: false, uaPatterns: ["l9scan"] },
|
|
150
|
+
{ id: "modatscanner", name: "ModatScanner", category: "security_scanner", organization: "Modat", baseScore: 75, respectsRobots: false, uaPatterns: ["modatscanner"] },
|
|
151
|
+
{ id: "umaibot", name: "UmaiBot", category: "security_scanner", organization: "UMAI", baseScore: 60, respectsRobots: true, uaPatterns: ["umaibot"] },
|
|
139
152
|
{ id: "artex", name: "ARTEX", category: "security_scanner", organization: "Open Source", baseScore: 90, respectsRobots: false, uaPatterns: ["artex-enrich/"] },
|
|
140
153
|
{ id: "nessus", name: "Nessus", category: "security_scanner", organization: "Tenable", baseScore: 70, respectsRobots: false, uaPatterns: ["nessus"] },
|
|
141
154
|
{ id: "qualys", name: "Qualys", category: "security_scanner", organization: "Qualys", baseScore: 70, respectsRobots: false, uaPatterns: ["qualys"] },
|
|
@@ -190,6 +203,8 @@ var BOT_REGISTRY = [
|
|
|
190
203
|
{ id: "wayback", name: "Wayback Machine", category: "archiver", organization: "Internet Archive", baseScore: 25, respectsRobots: true, uaPatterns: ["wayback"] },
|
|
191
204
|
{ id: "heritrix", name: "Heritrix", category: "archiver", organization: "Internet Archive", baseScore: 30, respectsRobots: true, uaPatterns: ["heritrix"] },
|
|
192
205
|
{ id: "brozzler", name: "Brozzler", category: "archiver", organization: "Internet Archive", baseScore: 30, respectsRobots: true, uaPatterns: ["brozzler"] },
|
|
206
|
+
{ id: "findfiles-linkchecker", name: "FindFiles.net LinkChecker", category: "fetcher", organization: "FindFiles.net", baseScore: 30, respectsRobots: true, uaPatterns: ["findfiles.net-linkchecker"] },
|
|
207
|
+
{ id: "hstspreload-bot", name: "hstspreload-bot", category: "fetcher", organization: "Chromium", baseScore: 20, respectsRobots: false, uaPatterns: ["hstspreload-bot"] },
|
|
193
208
|
{ id: "facebookexternalhit", name: "Facebook", category: "fetcher", organization: "Meta", baseScore: 25, respectsRobots: true, uaPatterns: ["facebookexternalhit"] },
|
|
194
209
|
{ id: "facebot", name: "Facebot", category: "fetcher", organization: "Meta", baseScore: 25, respectsRobots: true, uaPatterns: ["facebot"] },
|
|
195
210
|
{ id: "twitterbot", name: "Twitterbot", category: "fetcher", organization: "X Corp", baseScore: 25, respectsRobots: true, uaPatterns: ["twitterbot"] },
|
|
@@ -214,6 +229,7 @@ var BOT_REGISTRY = [
|
|
|
214
229
|
{ id: "libwww-perl", name: "libwww-perl", category: "fetcher", organization: "Perl", baseScore: 50, respectsRobots: false, uaPatterns: ["libwww-perl"] },
|
|
215
230
|
{ id: "lwp", name: "LWP", category: "fetcher", organization: "Perl", baseScore: 50, respectsRobots: false, uaPatterns: ["lwp-"] },
|
|
216
231
|
{ id: "httrack", name: "HTTrack", category: "fetcher", organization: "Open Source", baseScore: 60, respectsRobots: true, uaPatterns: ["httrack"] },
|
|
232
|
+
{ id: "truetierbot", name: "TrueTierBot", category: "monitoring", organization: "TrueTier", baseScore: 25, respectsRobots: true, uaPatterns: ["truetierbot"] },
|
|
217
233
|
{ id: "webdecoybot", name: "WebDecoyBot", category: "monitoring", organization: "WebDecoy", baseScore: 5, respectsRobots: true, uaPatterns: ["webdecoybot"] },
|
|
218
234
|
{ id: "uptimerobot", name: "UptimeRobot", category: "monitoring", organization: "UptimeRobot", baseScore: 20, respectsRobots: true, uaPatterns: ["uptimerobot"] },
|
|
219
235
|
{ id: "pingdom", name: "Pingdom", category: "monitoring", organization: "SolarWinds", baseScore: 20, respectsRobots: true, uaPatterns: ["pingdom"] },
|
|
@@ -227,6 +243,9 @@ var BOT_REGISTRY = [
|
|
|
227
243
|
{ id: "nodeping", name: "NodePing", category: "monitoring", organization: "NodePing", baseScore: 20, respectsRobots: true, uaPatterns: ["nodeping"] },
|
|
228
244
|
{ id: "gtmetrix", name: "GTmetrix", category: "monitoring", organization: "GTmetrix", baseScore: 20, respectsRobots: true, uaPatterns: ["gtmetrix"] },
|
|
229
245
|
{ id: "chrome-lighthouse", name: "Lighthouse", category: "monitoring", organization: "Google", baseScore: 20, respectsRobots: true, uaPatterns: ["chrome-lighthouse", "google page speed"] },
|
|
246
|
+
{ id: "andifeedbot", name: "AndiFeedBot", category: "feed_reader", organization: "Andi", baseScore: 30, respectsRobots: true, uaPatterns: ["andifeedbot"] },
|
|
247
|
+
{ id: "librarianbot", name: "LibrarianBot", category: "feed_reader", organization: "GenioFab", baseScore: 30, respectsRobots: true, uaPatterns: ["librarianbot"] },
|
|
248
|
+
{ id: "oursignal", name: "oursignal", category: "feed_reader", organization: "oursignal", baseScore: 25, respectsRobots: true, uaPatterns: ["oursignal/"] },
|
|
230
249
|
{ id: "feedly", name: "Feedly", category: "feed_reader", organization: "Feedly", baseScore: 25, respectsRobots: true, uaPatterns: ["feedly"] },
|
|
231
250
|
{ id: "livelapbot", name: "LivelapBot", category: "feed_reader", organization: "Livelap", baseScore: 30, respectsRobots: true, uaPatterns: ["livelapbot"] },
|
|
232
251
|
{ id: "feedfetcher-google", name: "Feedfetcher-Google", category: "feed_reader", organization: "Google", baseScore: 25, respectsRobots: true, uaPatterns: ["feedfetcher"] },
|
|
@@ -237,6 +256,12 @@ var BOT_REGISTRY = [
|
|
|
237
256
|
{ id: "miniflux", name: "Miniflux", category: "feed_reader", organization: "Open Source", baseScore: 25, respectsRobots: true, uaPatterns: ["miniflux"] },
|
|
238
257
|
{ id: "freshrss", name: "FreshRSS", category: "feed_reader", organization: "Open Source", baseScore: 25, respectsRobots: true, uaPatterns: ["freshrss"] },
|
|
239
258
|
{ id: "commafeed", name: "CommaFeed", category: "feed_reader", organization: "Open Source", baseScore: 25, respectsRobots: true, uaPatterns: ["commafeed"] },
|
|
259
|
+
{ id: "tphotobot", name: "tphotobot", category: "commercial_scraper", organization: "Estidraft", baseScore: 50, respectsRobots: true, uaPatterns: ["tphotobot"] },
|
|
260
|
+
{ id: "bangobot", name: "BangoBot", category: "commercial_scraper", organization: "Bango API", baseScore: 55, respectsRobots: false, uaPatterns: ["bangobot"] },
|
|
261
|
+
{ id: "kamatabot", name: "KamataBot", category: "commercial_scraper", organization: "Kamata", baseScore: 55, respectsRobots: true, uaPatterns: ["kamatabot"] },
|
|
262
|
+
{ id: "boehmbot", name: "BoehmBot", category: "commercial_scraper", organization: "b\xF6hm systems", baseScore: 50, respectsRobots: true, uaPatterns: ["boehmbot"] },
|
|
263
|
+
{ id: "pipericbot", name: "PipericBot", category: "commercial_scraper", organization: "Piperic", baseScore: 55, respectsRobots: true, uaPatterns: ["pipericbot"] },
|
|
264
|
+
{ id: "pandalytics", name: "Pandalytics", category: "commercial_scraper", organization: "Domainsbot", baseScore: 50, respectsRobots: true, uaPatterns: ["pandalytics"] },
|
|
240
265
|
{ id: "spiderling", name: "SpiderLing", category: "commercial_scraper", organization: "Lexical Computing", baseScore: 55, respectsRobots: true, uaPatterns: ["spiderling", "sketchengine"] },
|
|
241
266
|
{ id: "netapi", name: "NetAPI Bot", category: "commercial_scraper", organization: "NetAPI", baseScore: 50, respectsRobots: true, uaPatterns: ["netapi/"] },
|
|
242
267
|
{ id: "anticlonebot", name: "AntiCloneBot", category: "commercial_scraper", organization: "AntiClone", baseScore: 45, respectsRobots: true, uaPatterns: ["anticlonebot"] },
|
|
@@ -254,6 +279,7 @@ var BOT_REGISTRY = [
|
|
|
254
279
|
{ id: "apify", name: "Apify", category: "commercial_scraper", organization: "Apify", baseScore: 65, respectsRobots: true, uaPatterns: ["apify"] },
|
|
255
280
|
{ id: "crawlbase", name: "Crawlbase", category: "commercial_scraper", organization: "Crawlbase", baseScore: 65, respectsRobots: true, uaPatterns: ["crawlbase"] },
|
|
256
281
|
{ id: "webscrapingapi", name: "WebScrapingAPI", category: "commercial_scraper", organization: "WebScrapingAPI", baseScore: 65, respectsRobots: true, uaPatterns: ["webscrapingapi"] },
|
|
282
|
+
{ id: "andi-user", name: "Andi-User", category: "ai_assistant", organization: "Andi", baseScore: 60, respectsRobots: false, uaPatterns: ["andi-user"] },
|
|
257
283
|
{ id: "chatgpt-user", name: "ChatGPT-User", category: "ai_assistant", organization: "OpenAI", baseScore: 85, respectsRobots: true, uaPatterns: ["chatgpt-user"] },
|
|
258
284
|
{ id: "perplexity-user", name: "Perplexity-User", category: "ai_assistant", organization: "Perplexity AI", baseScore: 75, respectsRobots: false, uaPatterns: ["perplexity-user"] },
|
|
259
285
|
{ id: "mistralai-user", name: "MistralAI-User", category: "ai_assistant", organization: "Mistral AI", baseScore: 75, respectsRobots: true, uaPatterns: ["mistralai-user"] },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as WebDecoyConfig, k as ProtectOptions, D as Decision, W as WebDecoy } from './sdk-DveMEqxl.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Resolving the client IP address behind a proxy.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as WebDecoyConfig, k as ProtectOptions, D as Decision, W as WebDecoy } from './sdk-DveMEqxl.mjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Resolving the client IP address behind a proxy.
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { R as Rule, a as RuleContext, b as RuleResult, c as RuleEngineResult, d as RateLimitConfig, F as FilterConfig, T as TripwireConfig, B as BotRuleConfig, e as BotAgent, f as BotCategory, A as AgentCategory, g as RateLimitStore, h as RateLimitConsume, i as RateLimitOutcome, W as WebDecoy, P as ProtectResult, j as
|
|
2
|
-
export {
|
|
3
|
-
|
|
1
|
+
import { R as Rule, a as RuleContext, b as RuleResult, c as RuleEngineResult, d as RateLimitConfig, F as FilterConfig, T as TripwireConfig, B as BotRuleConfig, e as BotAgent, f as BotCategory, A as AgentCategory, g as RateLimitStore, h as RateLimitConsume, i as RateLimitOutcome, W as WebDecoy, P as ProtectResult, D as Decision, j as WebDecoyConfig, k as ProtectOptions, l as AgentVerifierOptions, m as AgentRequestInput, n as AgentVerdict, S as SignedAgentDirectory } from './sdk-DveMEqxl.mjs';
|
|
2
|
+
export { o as AgentStatus, p as BOT_CATEGORIES, q as BOT_REGISTRY, r as BotVerdict, C as Characteristic, s as Conclusion, t as CreatedHoneyCredential, u as DEFAULT_CHARACTERISTICS, v as DecisionCache, w as DecisionCacheOptions, x as DecisionInit, y as DecisionMode, E as EDGE_CLASS_HEADER, z as EDGE_CLEARANCE_HEADER, G as EdgeClass, H as EdgeVerdict, I as FrameworkEvidenceObservation, J as HoneyCredentialHandle, K as HoneyCredentialOptions, L as HoneyCredentialPresentationResult, M as HoneyCredentialReceipt, N as IPEnrichmentData, O as LocalAnalysis, Q as LogFields, U as Logger, V as MemoryRateLimitStore, X as OffensiveToolFamily, Y as OffensiveToolInvocation, Z as OffensiveToolchainEvidence, _ as OffensiveToolchainEvidenceInput, $ as OffensiveToolchainObservation, a0 as RequestMetadata, a1 as RuleOutcome, a2 as RuleState, a3 as SDKDetectionRequest, a4 as SDKDetectionResponse, a5 as SSRFCanary, a6 as SSRFCanaryOptions, a7 as SSRFInitiationReceipt, a8 as Span, a9 as SyncRateLimitStore, aa as TLSInfo, ab as Tracer, ac as ViolationDeliveryStats, ad as ViolationEvent, ae as classifyUserAgent, af as consoleLogger, ag as createOffensiveToolchainEvidence, ah as deriveKey, ai as fromPino, aj as matchUserAgent, ak as newDecisionId, al as readEdgeVerdict, am as silentLogger } from './sdk-DveMEqxl.mjs';
|
|
3
|
+
import { T as TrustedProxies } from './detect-and-gate-DWOUDUSY.mjs';
|
|
4
|
+
export { B as CLEARANCE_GATE_BUILD, C as ClearanceContext, a as ClearanceGateOptions, D as DetectAndGateOptions, b as DetectAndGateOutcome, F as FetchGuard, c as FetchGuardOptions, G as GateEnv, d as GateOutcome, e as GuardOutcome, H as HeaderSource, R as ResolveClientIpOptions, f as createClearanceGate, g as createDetectAndGate, h as createFetchGuard, i as ipInCidr, n as normalizeIp, r as resolveClientIp, j as resolveGateEnv } from './detect-and-gate-DWOUDUSY.mjs';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* The reserved test trigger.
|
|
@@ -119,6 +120,8 @@ interface EnvironmentalSignals {
|
|
|
119
120
|
[key: string]: unknown;
|
|
120
121
|
};
|
|
121
122
|
automationFlags?: {
|
|
123
|
+
/** Explicit browser-declared WebDriver flag from navigator.webdriver. */
|
|
124
|
+
webdriver?: boolean;
|
|
122
125
|
plugins?: number;
|
|
123
126
|
languages?: boolean;
|
|
124
127
|
chrome?: boolean;
|
|
@@ -341,9 +344,9 @@ interface ScrollJumpObservation {
|
|
|
341
344
|
}
|
|
342
345
|
/** Final verdict returned by {@link DetectionEngine.score}. */
|
|
343
346
|
interface Verdict {
|
|
344
|
-
/** True when the
|
|
347
|
+
/** True when the selected policy's score is below the success threshold (< 0.5). */
|
|
345
348
|
success: boolean;
|
|
346
|
-
/**
|
|
349
|
+
/** Selected policy's final score, 0..1. */
|
|
347
350
|
score: number;
|
|
348
351
|
/** Recommended action. */
|
|
349
352
|
recommendation: Recommendation;
|
|
@@ -398,9 +401,27 @@ declare class InMemoryRateLimiter implements RateLimiter {
|
|
|
398
401
|
* supplies a {@link PoWOutcome} and the engine emits the matching detections.
|
|
399
402
|
*/
|
|
400
403
|
|
|
404
|
+
type DetectionScoringPolicy = 'weighted-mean-v1' | 'noisy-or-floors-v1';
|
|
405
|
+
interface ScoringComparison {
|
|
406
|
+
policy: 'noisy-or-floors-v1';
|
|
407
|
+
current: {
|
|
408
|
+
score: number;
|
|
409
|
+
recommendation: Recommendation;
|
|
410
|
+
};
|
|
411
|
+
candidate: {
|
|
412
|
+
score: number;
|
|
413
|
+
recommendation: Recommendation;
|
|
414
|
+
};
|
|
415
|
+
}
|
|
401
416
|
interface DetectionEngineOptions {
|
|
402
417
|
/** Override the per-category weights (defaults to {@link DEFAULT_WEIGHTS}). */
|
|
403
418
|
weights?: Record<string, number>;
|
|
419
|
+
/**
|
|
420
|
+
* Aggregation policy used for the returned verdict and CAPTCHA token decision.
|
|
421
|
+
* Defaults to `weighted-mean-v1`; opt in to `noisy-or-floors-v1` to enforce
|
|
422
|
+
* the FCaptcha-aligned noisy-OR, decisive-floor, and corroboration-floor policy.
|
|
423
|
+
*/
|
|
424
|
+
scoringPolicy?: DetectionScoringPolicy;
|
|
404
425
|
/**
|
|
405
426
|
* When true (default), a request with no PoW outcome emits a hard-fail "No PoW
|
|
406
427
|
* solution provided" detection — matching the reference server. Set false to
|
|
@@ -411,18 +432,22 @@ interface DetectionEngineOptions {
|
|
|
411
432
|
fingerprintStore?: FingerprintStore;
|
|
412
433
|
/** Rate limiter for rate-abuse detection (defaults to in-memory). */
|
|
413
434
|
rateLimiter?: RateLimiter;
|
|
435
|
+
/** Receive a server-side comparison of the two aggregation methods using the same weights. */
|
|
436
|
+
onScoringComparison?: (comparison: ScoringComparison) => void | Promise<void>;
|
|
414
437
|
}
|
|
415
438
|
declare class DetectionEngine {
|
|
416
439
|
private readonly weights;
|
|
440
|
+
private readonly scoringPolicy;
|
|
417
441
|
private readonly requirePoW;
|
|
418
442
|
private readonly fingerprintStore;
|
|
419
443
|
private readonly rateLimiter;
|
|
444
|
+
private readonly onScoringComparison;
|
|
420
445
|
constructor(options?: DetectionEngineOptions);
|
|
421
446
|
/** Score `signals` for the given request context and return a verdict. */
|
|
422
447
|
score(signals: Signals, context: DetectionContext): Verdict;
|
|
423
448
|
}
|
|
424
449
|
|
|
425
|
-
/**
|
|
450
|
+
/** Per-category score aggregation and weighted totals. */
|
|
426
451
|
|
|
427
452
|
/**
|
|
428
453
|
* Aggregate detections into per-category scores. Each category's score is the
|
|
@@ -1337,6 +1362,36 @@ declare function armSiteHoneytoken(sdk: WebDecoy, options: HoneytokenArmingOptio
|
|
|
1337
1362
|
*/
|
|
1338
1363
|
declare function deriveAndArm(sdk: WebDecoy, options: HoneytokenArmingOptions): Promise<SiteHoneytoken | null>;
|
|
1339
1364
|
|
|
1365
|
+
interface NodeHttpGuardOptions extends WebDecoyConfig, ProtectOptions {
|
|
1366
|
+
/** Monitor serves the request even when the SDK reports a denial. */
|
|
1367
|
+
mode?: 'monitor' | 'enforce';
|
|
1368
|
+
/** Paths excluded from evaluation, such as health checks. */
|
|
1369
|
+
skipPaths?: (string | RegExp)[];
|
|
1370
|
+
/** Defaults to the connection peer. Set this to trust a known proxy chain. */
|
|
1371
|
+
trustProxy?: TrustedProxies;
|
|
1372
|
+
}
|
|
1373
|
+
interface NodeHttpGuardOutcome {
|
|
1374
|
+
decision: Decision;
|
|
1375
|
+
/** Present when enforce mode refuses the request. The caller writes it. */
|
|
1376
|
+
response?: BlockResponse;
|
|
1377
|
+
}
|
|
1378
|
+
/** The request fields read from Node's IncomingMessage. */
|
|
1379
|
+
interface NodeHttpRequest {
|
|
1380
|
+
method?: string;
|
|
1381
|
+
url?: string;
|
|
1382
|
+
headers: Record<string, string | string[] | undefined>;
|
|
1383
|
+
socket: {
|
|
1384
|
+
remoteAddress?: string;
|
|
1385
|
+
};
|
|
1386
|
+
}
|
|
1387
|
+
interface NodeHttpGuard {
|
|
1388
|
+
sdk: WebDecoy;
|
|
1389
|
+
/** Evaluate a request without reading its body. Skipped paths return undefined. */
|
|
1390
|
+
check(request: NodeHttpRequest): Promise<NodeHttpGuardOutcome | undefined>;
|
|
1391
|
+
}
|
|
1392
|
+
/** Evaluate native Node HTTP requests with the same rules as the framework adapters. */
|
|
1393
|
+
declare function createNodeHttpGuard(options?: NodeHttpGuardOptions): NodeHttpGuard;
|
|
1394
|
+
|
|
1340
1395
|
/**
|
|
1341
1396
|
* AgentVerifier — the public entry point for local Web Bot Auth verification.
|
|
1342
1397
|
*
|
|
@@ -1646,6 +1701,10 @@ interface CaptchaOptions {
|
|
|
1646
1701
|
secret?: string;
|
|
1647
1702
|
/** Override per-category detection weights. */
|
|
1648
1703
|
weights?: Record<string, number>;
|
|
1704
|
+
/** Aggregation policy used for scoring, verification, and token issuance. */
|
|
1705
|
+
scoringPolicy?: DetectionEngineOptions['scoringPolicy'];
|
|
1706
|
+
/** Receive score and recommendation comparisons on the server without affecting verification. */
|
|
1707
|
+
onScoringComparison?: DetectionEngineOptions['onScoringComparison'];
|
|
1649
1708
|
/**
|
|
1650
1709
|
* Trusted reverse-proxy header names carrying a JA4 fingerprint, matched
|
|
1651
1710
|
* against the lower-cased request header keys (e.g. `['x-ja4']`).
|
|
@@ -1753,4 +1812,4 @@ declare function createCaptchaEndpoints(options?: CaptchaEndpointsOptions): {
|
|
|
1753
1812
|
};
|
|
1754
1813
|
type CaptchaEndpoints = ReturnType<typeof createCaptchaEndpoints>;
|
|
1755
1814
|
|
|
1756
|
-
export { ATTACK_SIGNATURE_IDS, AgentCategory, AgentRequestInput, AgentVerdict, AgentVerifier, AgentVerifierOptions, type AttackSignatureConfig, AttackSignatureRule, type BehavioralSignals, type BlockResponse, BotAgent, BotCategory, BotPolicy, type BotPolicyOptions, BotRule, BotRuleConfig, CLIENT_SESSION_COOKIE, CLIENT_SESSION_HEADER, Captcha, type CaptchaEndpoints, type CaptchaEndpointsOptions, type CaptchaHttpResponse, type CaptchaOptions, type CaptchaRequest, type CategoryScores, type ChallengeData, type ChallengeStore, type ClientSignalConfig, ClientSignalRule, type ClientSignalStore, type ClientVerdict, DEFAULT_SIGNED_AGENT_DIRECTORIES, DEFAULT_TRIPWIRE_PATHS, DEFAULT_WEIGHTS, type Detection, type DetectionContext, DetectionEngine, type DetectionEngineOptions, DirectoryCache, type EnvironmentalSignals, FilterConfig, FilterRule, type FingerprintStore, type FormAnalysisSignals, HONEYTOKEN_BASE_PATH, type Honeytoken, type HoneytokenArmingOptions, type HoneytokenLinkProps, type HoneytokenOptions, InMemoryChallengeStore, InMemoryFingerprintStore, InMemoryRateLimiter, InMemoryTokenStore, MemoryClientSignalStore, type MemoryClientSignalStoreOptions, PoWManager, type PoWManagerOptions, type PoWOutcome, type PoWSolution, type PoWVerification, ProtectResult, RateLimitConfig, RateLimitConsume, RateLimitOutcome, RateLimitRule, RateLimitStore, type RateLimiter, type Recommendation, type RobotsTxtOptions, Rule, RuleContext, RuleEngine, RuleEngineResult, RuleResult, type ScoreResult, type ScrollJumpObservation, type Signals, SignedAgentDirectory, type SiteHoneytoken, type SiteHoneytokenOptions, type StoredChallenge, TEST_TRIGGER_UA_PREFIX, TEST_TRIGGER_USER_AGENT, type TemporalSignals, type TextareaKeyboardStats, TokenManager, type TokenManagerOptions, type TokenStore, type TokenVerification, TripwireConfig, TripwireRule, UpstashRateLimitStore, type UpstashStoreOptions, type Verdict, type VerifyInput, type VerifyResult, type WebBotAuthConfig, WebBotAuthRule, WebDecoy, armSiteHoneytoken, attackSignatures, botPolicy, bots, calculateCategoryScores, calculateFinalScore, clientSignals, createAgentVerifier, createCaptchaEndpoints, deriveAndArm, filter, honeytoken, injectHoneytokenLink, isDatacenterIP, isInjectableHtml, isMobileUA, isTestTriggerUserAgent, parseUserAgent, rateLimit, readClientSession, recommend, resolveSecret, ruleBlockResponse, shouldSkipPath, siteHoneytoken, tripwire, upstashRateLimitStore, webBotAuth };
|
|
1815
|
+
export { ATTACK_SIGNATURE_IDS, AgentCategory, AgentRequestInput, AgentVerdict, AgentVerifier, AgentVerifierOptions, type AttackSignatureConfig, AttackSignatureRule, type BehavioralSignals, type BlockResponse, BotAgent, BotCategory, BotPolicy, type BotPolicyOptions, BotRule, BotRuleConfig, CLIENT_SESSION_COOKIE, CLIENT_SESSION_HEADER, Captcha, type CaptchaEndpoints, type CaptchaEndpointsOptions, type CaptchaHttpResponse, type CaptchaOptions, type CaptchaRequest, type CategoryScores, type ChallengeData, type ChallengeStore, type ClientSignalConfig, ClientSignalRule, type ClientSignalStore, type ClientVerdict, DEFAULT_SIGNED_AGENT_DIRECTORIES, DEFAULT_TRIPWIRE_PATHS, DEFAULT_WEIGHTS, Decision, type Detection, type DetectionContext, DetectionEngine, type DetectionEngineOptions, type DetectionScoringPolicy, DirectoryCache, type EnvironmentalSignals, FilterConfig, FilterRule, type FingerprintStore, type FormAnalysisSignals, HONEYTOKEN_BASE_PATH, type Honeytoken, type HoneytokenArmingOptions, type HoneytokenLinkProps, type HoneytokenOptions, InMemoryChallengeStore, InMemoryFingerprintStore, InMemoryRateLimiter, InMemoryTokenStore, MemoryClientSignalStore, type MemoryClientSignalStoreOptions, type NodeHttpGuard, type NodeHttpGuardOptions, type NodeHttpGuardOutcome, type NodeHttpRequest, PoWManager, type PoWManagerOptions, type PoWOutcome, type PoWSolution, type PoWVerification, ProtectOptions, ProtectResult, RateLimitConfig, RateLimitConsume, RateLimitOutcome, RateLimitRule, RateLimitStore, type RateLimiter, type Recommendation, type RobotsTxtOptions, Rule, RuleContext, RuleEngine, RuleEngineResult, RuleResult, type ScoreResult, type ScoringComparison, type ScrollJumpObservation, type Signals, SignedAgentDirectory, type SiteHoneytoken, type SiteHoneytokenOptions, type StoredChallenge, TEST_TRIGGER_UA_PREFIX, TEST_TRIGGER_USER_AGENT, type TemporalSignals, type TextareaKeyboardStats, TokenManager, type TokenManagerOptions, type TokenStore, type TokenVerification, TripwireConfig, TripwireRule, TrustedProxies, UpstashRateLimitStore, type UpstashStoreOptions, type Verdict, type VerifyInput, type VerifyResult, type WebBotAuthConfig, WebBotAuthRule, WebDecoy, WebDecoyConfig, armSiteHoneytoken, attackSignatures, botPolicy, bots, calculateCategoryScores, calculateFinalScore, clientSignals, createAgentVerifier, createCaptchaEndpoints, createNodeHttpGuard, deriveAndArm, filter, honeytoken, injectHoneytokenLink, isDatacenterIP, isInjectableHtml, isMobileUA, isTestTriggerUserAgent, parseUserAgent, rateLimit, readClientSession, recommend, resolveSecret, ruleBlockResponse, shouldSkipPath, siteHoneytoken, tripwire, upstashRateLimitStore, webBotAuth };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { R as Rule, a as RuleContext, b as RuleResult, c as RuleEngineResult, d as RateLimitConfig, F as FilterConfig, T as TripwireConfig, B as BotRuleConfig, e as BotAgent, f as BotCategory, A as AgentCategory, g as RateLimitStore, h as RateLimitConsume, i as RateLimitOutcome, W as WebDecoy, P as ProtectResult, j as
|
|
2
|
-
export {
|
|
3
|
-
|
|
1
|
+
import { R as Rule, a as RuleContext, b as RuleResult, c as RuleEngineResult, d as RateLimitConfig, F as FilterConfig, T as TripwireConfig, B as BotRuleConfig, e as BotAgent, f as BotCategory, A as AgentCategory, g as RateLimitStore, h as RateLimitConsume, i as RateLimitOutcome, W as WebDecoy, P as ProtectResult, D as Decision, j as WebDecoyConfig, k as ProtectOptions, l as AgentVerifierOptions, m as AgentRequestInput, n as AgentVerdict, S as SignedAgentDirectory } from './sdk-DveMEqxl.js';
|
|
2
|
+
export { o as AgentStatus, p as BOT_CATEGORIES, q as BOT_REGISTRY, r as BotVerdict, C as Characteristic, s as Conclusion, t as CreatedHoneyCredential, u as DEFAULT_CHARACTERISTICS, v as DecisionCache, w as DecisionCacheOptions, x as DecisionInit, y as DecisionMode, E as EDGE_CLASS_HEADER, z as EDGE_CLEARANCE_HEADER, G as EdgeClass, H as EdgeVerdict, I as FrameworkEvidenceObservation, J as HoneyCredentialHandle, K as HoneyCredentialOptions, L as HoneyCredentialPresentationResult, M as HoneyCredentialReceipt, N as IPEnrichmentData, O as LocalAnalysis, Q as LogFields, U as Logger, V as MemoryRateLimitStore, X as OffensiveToolFamily, Y as OffensiveToolInvocation, Z as OffensiveToolchainEvidence, _ as OffensiveToolchainEvidenceInput, $ as OffensiveToolchainObservation, a0 as RequestMetadata, a1 as RuleOutcome, a2 as RuleState, a3 as SDKDetectionRequest, a4 as SDKDetectionResponse, a5 as SSRFCanary, a6 as SSRFCanaryOptions, a7 as SSRFInitiationReceipt, a8 as Span, a9 as SyncRateLimitStore, aa as TLSInfo, ab as Tracer, ac as ViolationDeliveryStats, ad as ViolationEvent, ae as classifyUserAgent, af as consoleLogger, ag as createOffensiveToolchainEvidence, ah as deriveKey, ai as fromPino, aj as matchUserAgent, ak as newDecisionId, al as readEdgeVerdict, am as silentLogger } from './sdk-DveMEqxl.js';
|
|
3
|
+
import { T as TrustedProxies } from './detect-and-gate-BfL39HDb.js';
|
|
4
|
+
export { B as CLEARANCE_GATE_BUILD, C as ClearanceContext, a as ClearanceGateOptions, D as DetectAndGateOptions, b as DetectAndGateOutcome, F as FetchGuard, c as FetchGuardOptions, G as GateEnv, d as GateOutcome, e as GuardOutcome, H as HeaderSource, R as ResolveClientIpOptions, f as createClearanceGate, g as createDetectAndGate, h as createFetchGuard, i as ipInCidr, n as normalizeIp, r as resolveClientIp, j as resolveGateEnv } from './detect-and-gate-BfL39HDb.js';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* The reserved test trigger.
|
|
@@ -119,6 +120,8 @@ interface EnvironmentalSignals {
|
|
|
119
120
|
[key: string]: unknown;
|
|
120
121
|
};
|
|
121
122
|
automationFlags?: {
|
|
123
|
+
/** Explicit browser-declared WebDriver flag from navigator.webdriver. */
|
|
124
|
+
webdriver?: boolean;
|
|
122
125
|
plugins?: number;
|
|
123
126
|
languages?: boolean;
|
|
124
127
|
chrome?: boolean;
|
|
@@ -341,9 +344,9 @@ interface ScrollJumpObservation {
|
|
|
341
344
|
}
|
|
342
345
|
/** Final verdict returned by {@link DetectionEngine.score}. */
|
|
343
346
|
interface Verdict {
|
|
344
|
-
/** True when the
|
|
347
|
+
/** True when the selected policy's score is below the success threshold (< 0.5). */
|
|
345
348
|
success: boolean;
|
|
346
|
-
/**
|
|
349
|
+
/** Selected policy's final score, 0..1. */
|
|
347
350
|
score: number;
|
|
348
351
|
/** Recommended action. */
|
|
349
352
|
recommendation: Recommendation;
|
|
@@ -398,9 +401,27 @@ declare class InMemoryRateLimiter implements RateLimiter {
|
|
|
398
401
|
* supplies a {@link PoWOutcome} and the engine emits the matching detections.
|
|
399
402
|
*/
|
|
400
403
|
|
|
404
|
+
type DetectionScoringPolicy = 'weighted-mean-v1' | 'noisy-or-floors-v1';
|
|
405
|
+
interface ScoringComparison {
|
|
406
|
+
policy: 'noisy-or-floors-v1';
|
|
407
|
+
current: {
|
|
408
|
+
score: number;
|
|
409
|
+
recommendation: Recommendation;
|
|
410
|
+
};
|
|
411
|
+
candidate: {
|
|
412
|
+
score: number;
|
|
413
|
+
recommendation: Recommendation;
|
|
414
|
+
};
|
|
415
|
+
}
|
|
401
416
|
interface DetectionEngineOptions {
|
|
402
417
|
/** Override the per-category weights (defaults to {@link DEFAULT_WEIGHTS}). */
|
|
403
418
|
weights?: Record<string, number>;
|
|
419
|
+
/**
|
|
420
|
+
* Aggregation policy used for the returned verdict and CAPTCHA token decision.
|
|
421
|
+
* Defaults to `weighted-mean-v1`; opt in to `noisy-or-floors-v1` to enforce
|
|
422
|
+
* the FCaptcha-aligned noisy-OR, decisive-floor, and corroboration-floor policy.
|
|
423
|
+
*/
|
|
424
|
+
scoringPolicy?: DetectionScoringPolicy;
|
|
404
425
|
/**
|
|
405
426
|
* When true (default), a request with no PoW outcome emits a hard-fail "No PoW
|
|
406
427
|
* solution provided" detection — matching the reference server. Set false to
|
|
@@ -411,18 +432,22 @@ interface DetectionEngineOptions {
|
|
|
411
432
|
fingerprintStore?: FingerprintStore;
|
|
412
433
|
/** Rate limiter for rate-abuse detection (defaults to in-memory). */
|
|
413
434
|
rateLimiter?: RateLimiter;
|
|
435
|
+
/** Receive a server-side comparison of the two aggregation methods using the same weights. */
|
|
436
|
+
onScoringComparison?: (comparison: ScoringComparison) => void | Promise<void>;
|
|
414
437
|
}
|
|
415
438
|
declare class DetectionEngine {
|
|
416
439
|
private readonly weights;
|
|
440
|
+
private readonly scoringPolicy;
|
|
417
441
|
private readonly requirePoW;
|
|
418
442
|
private readonly fingerprintStore;
|
|
419
443
|
private readonly rateLimiter;
|
|
444
|
+
private readonly onScoringComparison;
|
|
420
445
|
constructor(options?: DetectionEngineOptions);
|
|
421
446
|
/** Score `signals` for the given request context and return a verdict. */
|
|
422
447
|
score(signals: Signals, context: DetectionContext): Verdict;
|
|
423
448
|
}
|
|
424
449
|
|
|
425
|
-
/**
|
|
450
|
+
/** Per-category score aggregation and weighted totals. */
|
|
426
451
|
|
|
427
452
|
/**
|
|
428
453
|
* Aggregate detections into per-category scores. Each category's score is the
|
|
@@ -1337,6 +1362,36 @@ declare function armSiteHoneytoken(sdk: WebDecoy, options: HoneytokenArmingOptio
|
|
|
1337
1362
|
*/
|
|
1338
1363
|
declare function deriveAndArm(sdk: WebDecoy, options: HoneytokenArmingOptions): Promise<SiteHoneytoken | null>;
|
|
1339
1364
|
|
|
1365
|
+
interface NodeHttpGuardOptions extends WebDecoyConfig, ProtectOptions {
|
|
1366
|
+
/** Monitor serves the request even when the SDK reports a denial. */
|
|
1367
|
+
mode?: 'monitor' | 'enforce';
|
|
1368
|
+
/** Paths excluded from evaluation, such as health checks. */
|
|
1369
|
+
skipPaths?: (string | RegExp)[];
|
|
1370
|
+
/** Defaults to the connection peer. Set this to trust a known proxy chain. */
|
|
1371
|
+
trustProxy?: TrustedProxies;
|
|
1372
|
+
}
|
|
1373
|
+
interface NodeHttpGuardOutcome {
|
|
1374
|
+
decision: Decision;
|
|
1375
|
+
/** Present when enforce mode refuses the request. The caller writes it. */
|
|
1376
|
+
response?: BlockResponse;
|
|
1377
|
+
}
|
|
1378
|
+
/** The request fields read from Node's IncomingMessage. */
|
|
1379
|
+
interface NodeHttpRequest {
|
|
1380
|
+
method?: string;
|
|
1381
|
+
url?: string;
|
|
1382
|
+
headers: Record<string, string | string[] | undefined>;
|
|
1383
|
+
socket: {
|
|
1384
|
+
remoteAddress?: string;
|
|
1385
|
+
};
|
|
1386
|
+
}
|
|
1387
|
+
interface NodeHttpGuard {
|
|
1388
|
+
sdk: WebDecoy;
|
|
1389
|
+
/** Evaluate a request without reading its body. Skipped paths return undefined. */
|
|
1390
|
+
check(request: NodeHttpRequest): Promise<NodeHttpGuardOutcome | undefined>;
|
|
1391
|
+
}
|
|
1392
|
+
/** Evaluate native Node HTTP requests with the same rules as the framework adapters. */
|
|
1393
|
+
declare function createNodeHttpGuard(options?: NodeHttpGuardOptions): NodeHttpGuard;
|
|
1394
|
+
|
|
1340
1395
|
/**
|
|
1341
1396
|
* AgentVerifier — the public entry point for local Web Bot Auth verification.
|
|
1342
1397
|
*
|
|
@@ -1646,6 +1701,10 @@ interface CaptchaOptions {
|
|
|
1646
1701
|
secret?: string;
|
|
1647
1702
|
/** Override per-category detection weights. */
|
|
1648
1703
|
weights?: Record<string, number>;
|
|
1704
|
+
/** Aggregation policy used for scoring, verification, and token issuance. */
|
|
1705
|
+
scoringPolicy?: DetectionEngineOptions['scoringPolicy'];
|
|
1706
|
+
/** Receive score and recommendation comparisons on the server without affecting verification. */
|
|
1707
|
+
onScoringComparison?: DetectionEngineOptions['onScoringComparison'];
|
|
1649
1708
|
/**
|
|
1650
1709
|
* Trusted reverse-proxy header names carrying a JA4 fingerprint, matched
|
|
1651
1710
|
* against the lower-cased request header keys (e.g. `['x-ja4']`).
|
|
@@ -1753,4 +1812,4 @@ declare function createCaptchaEndpoints(options?: CaptchaEndpointsOptions): {
|
|
|
1753
1812
|
};
|
|
1754
1813
|
type CaptchaEndpoints = ReturnType<typeof createCaptchaEndpoints>;
|
|
1755
1814
|
|
|
1756
|
-
export { ATTACK_SIGNATURE_IDS, AgentCategory, AgentRequestInput, AgentVerdict, AgentVerifier, AgentVerifierOptions, type AttackSignatureConfig, AttackSignatureRule, type BehavioralSignals, type BlockResponse, BotAgent, BotCategory, BotPolicy, type BotPolicyOptions, BotRule, BotRuleConfig, CLIENT_SESSION_COOKIE, CLIENT_SESSION_HEADER, Captcha, type CaptchaEndpoints, type CaptchaEndpointsOptions, type CaptchaHttpResponse, type CaptchaOptions, type CaptchaRequest, type CategoryScores, type ChallengeData, type ChallengeStore, type ClientSignalConfig, ClientSignalRule, type ClientSignalStore, type ClientVerdict, DEFAULT_SIGNED_AGENT_DIRECTORIES, DEFAULT_TRIPWIRE_PATHS, DEFAULT_WEIGHTS, type Detection, type DetectionContext, DetectionEngine, type DetectionEngineOptions, DirectoryCache, type EnvironmentalSignals, FilterConfig, FilterRule, type FingerprintStore, type FormAnalysisSignals, HONEYTOKEN_BASE_PATH, type Honeytoken, type HoneytokenArmingOptions, type HoneytokenLinkProps, type HoneytokenOptions, InMemoryChallengeStore, InMemoryFingerprintStore, InMemoryRateLimiter, InMemoryTokenStore, MemoryClientSignalStore, type MemoryClientSignalStoreOptions, PoWManager, type PoWManagerOptions, type PoWOutcome, type PoWSolution, type PoWVerification, ProtectResult, RateLimitConfig, RateLimitConsume, RateLimitOutcome, RateLimitRule, RateLimitStore, type RateLimiter, type Recommendation, type RobotsTxtOptions, Rule, RuleContext, RuleEngine, RuleEngineResult, RuleResult, type ScoreResult, type ScrollJumpObservation, type Signals, SignedAgentDirectory, type SiteHoneytoken, type SiteHoneytokenOptions, type StoredChallenge, TEST_TRIGGER_UA_PREFIX, TEST_TRIGGER_USER_AGENT, type TemporalSignals, type TextareaKeyboardStats, TokenManager, type TokenManagerOptions, type TokenStore, type TokenVerification, TripwireConfig, TripwireRule, UpstashRateLimitStore, type UpstashStoreOptions, type Verdict, type VerifyInput, type VerifyResult, type WebBotAuthConfig, WebBotAuthRule, WebDecoy, armSiteHoneytoken, attackSignatures, botPolicy, bots, calculateCategoryScores, calculateFinalScore, clientSignals, createAgentVerifier, createCaptchaEndpoints, deriveAndArm, filter, honeytoken, injectHoneytokenLink, isDatacenterIP, isInjectableHtml, isMobileUA, isTestTriggerUserAgent, parseUserAgent, rateLimit, readClientSession, recommend, resolveSecret, ruleBlockResponse, shouldSkipPath, siteHoneytoken, tripwire, upstashRateLimitStore, webBotAuth };
|
|
1815
|
+
export { ATTACK_SIGNATURE_IDS, AgentCategory, AgentRequestInput, AgentVerdict, AgentVerifier, AgentVerifierOptions, type AttackSignatureConfig, AttackSignatureRule, type BehavioralSignals, type BlockResponse, BotAgent, BotCategory, BotPolicy, type BotPolicyOptions, BotRule, BotRuleConfig, CLIENT_SESSION_COOKIE, CLIENT_SESSION_HEADER, Captcha, type CaptchaEndpoints, type CaptchaEndpointsOptions, type CaptchaHttpResponse, type CaptchaOptions, type CaptchaRequest, type CategoryScores, type ChallengeData, type ChallengeStore, type ClientSignalConfig, ClientSignalRule, type ClientSignalStore, type ClientVerdict, DEFAULT_SIGNED_AGENT_DIRECTORIES, DEFAULT_TRIPWIRE_PATHS, DEFAULT_WEIGHTS, Decision, type Detection, type DetectionContext, DetectionEngine, type DetectionEngineOptions, type DetectionScoringPolicy, DirectoryCache, type EnvironmentalSignals, FilterConfig, FilterRule, type FingerprintStore, type FormAnalysisSignals, HONEYTOKEN_BASE_PATH, type Honeytoken, type HoneytokenArmingOptions, type HoneytokenLinkProps, type HoneytokenOptions, InMemoryChallengeStore, InMemoryFingerprintStore, InMemoryRateLimiter, InMemoryTokenStore, MemoryClientSignalStore, type MemoryClientSignalStoreOptions, type NodeHttpGuard, type NodeHttpGuardOptions, type NodeHttpGuardOutcome, type NodeHttpRequest, PoWManager, type PoWManagerOptions, type PoWOutcome, type PoWSolution, type PoWVerification, ProtectOptions, ProtectResult, RateLimitConfig, RateLimitConsume, RateLimitOutcome, RateLimitRule, RateLimitStore, type RateLimiter, type Recommendation, type RobotsTxtOptions, Rule, RuleContext, RuleEngine, RuleEngineResult, RuleResult, type ScoreResult, type ScoringComparison, type ScrollJumpObservation, type Signals, SignedAgentDirectory, type SiteHoneytoken, type SiteHoneytokenOptions, type StoredChallenge, TEST_TRIGGER_UA_PREFIX, TEST_TRIGGER_USER_AGENT, type TemporalSignals, type TextareaKeyboardStats, TokenManager, type TokenManagerOptions, type TokenStore, type TokenVerification, TripwireConfig, TripwireRule, TrustedProxies, UpstashRateLimitStore, type UpstashStoreOptions, type Verdict, type VerifyInput, type VerifyResult, type WebBotAuthConfig, WebBotAuthRule, WebDecoy, WebDecoyConfig, armSiteHoneytoken, attackSignatures, botPolicy, bots, calculateCategoryScores, calculateFinalScore, clientSignals, createAgentVerifier, createCaptchaEndpoints, createNodeHttpGuard, deriveAndArm, filter, honeytoken, injectHoneytokenLink, isDatacenterIP, isInjectableHtml, isMobileUA, isTestTriggerUserAgent, parseUserAgent, rateLimit, readClientSession, recommend, resolveSecret, ruleBlockResponse, shouldSkipPath, siteHoneytoken, tripwire, upstashRateLimitStore, webBotAuth };
|