@webdecoy/node 0.25.1 → 0.26.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 +37 -1
- package/dist/{chunk-ABIJ7NMX.mjs → chunk-2SIFEEYE.mjs} +167 -13
- package/dist/{chunk-5VMXAH64.mjs → chunk-CFJ7R2CG.mjs} +52 -52
- package/dist/{detect-and-gate-CEpuKXTE.d.ts → detect-and-gate-Ay294Lr2.d.ts} +1 -1
- package/dist/{detect-and-gate-DhKYwcQ1.d.mts → detect-and-gate-NBeqXdH6.d.mts} +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +219 -64
- package/dist/index.mjs +4 -2
- package/dist/{sdk-D8Cn_xRm.d.mts → sdk-Dh8Jj07-.d.mts} +87 -7
- package/dist/{sdk-D8Cn_xRm.d.ts → sdk-Dh8Jj07-.d.ts} +87 -7
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +170 -13
- package/dist/testing.mjs +1 -1
- package/dist/vercel.d.mts +2 -2
- package/dist/vercel.d.ts +2 -2
- package/dist/vercel.js +221 -64
- package/dist/vercel.mjs +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
resolveGateEnv,
|
|
12
12
|
ruleBlockResponse,
|
|
13
13
|
shouldSkipPath
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CFJ7R2CG.mjs";
|
|
15
15
|
import {
|
|
16
16
|
ATTACK_SIGNATURE_IDS,
|
|
17
17
|
AgentVerifier,
|
|
@@ -47,6 +47,7 @@ import {
|
|
|
47
47
|
classifyUserAgent,
|
|
48
48
|
consoleLogger,
|
|
49
49
|
createAgentVerifier,
|
|
50
|
+
createOffensiveToolchainEvidence,
|
|
50
51
|
deriveKey,
|
|
51
52
|
filter,
|
|
52
53
|
fnv1a64Hex,
|
|
@@ -68,7 +69,7 @@ import {
|
|
|
68
69
|
tripwire,
|
|
69
70
|
upstashRateLimitStore,
|
|
70
71
|
webBotAuth
|
|
71
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-2SIFEEYE.mjs";
|
|
72
73
|
|
|
73
74
|
// src/client-signals.ts
|
|
74
75
|
var MemoryClientSignalStore = class {
|
|
@@ -2204,6 +2205,7 @@ export {
|
|
|
2204
2205
|
createClearanceGate,
|
|
2205
2206
|
createDetectAndGate,
|
|
2206
2207
|
createFetchGuard,
|
|
2208
|
+
createOffensiveToolchainEvidence,
|
|
2207
2209
|
deriveAndArm,
|
|
2208
2210
|
deriveKey,
|
|
2209
2211
|
filter,
|
|
@@ -310,7 +310,7 @@ declare function readEdgeVerdict(headers: Record<string, string> | undefined): E
|
|
|
310
310
|
* agents share User-Agent substrings, so sorting this array changes how real
|
|
311
311
|
* traffic is classified.
|
|
312
312
|
*
|
|
313
|
-
*
|
|
313
|
+
* 251 agents across 15 categories.
|
|
314
314
|
*/
|
|
315
315
|
/**
|
|
316
316
|
* Classification categories, mirroring `agents.Category` in Go.
|
|
@@ -595,6 +595,7 @@ interface Tracer {
|
|
|
595
595
|
* Based on the ingest service API contract
|
|
596
596
|
*/
|
|
597
597
|
|
|
598
|
+
type DecisionMode = 'legacy' | 'unified_v1';
|
|
598
599
|
/**
|
|
599
600
|
* Configuration options for the Web Decoy SDK
|
|
600
601
|
*/
|
|
@@ -618,9 +619,14 @@ interface WebDecoyConfig {
|
|
|
618
619
|
*/
|
|
619
620
|
enableTLSFingerprinting?: boolean;
|
|
620
621
|
/**
|
|
621
|
-
*
|
|
622
|
-
*
|
|
623
|
-
|
|
622
|
+
* Cloud decision policy. Legacy is the default. Opt in to unified_v1 to
|
|
623
|
+
* use the ingest verdict based on the same synchronous score as its row.
|
|
624
|
+
*/
|
|
625
|
+
decisionMode?: DecisionMode;
|
|
626
|
+
/**
|
|
627
|
+
* Minimum cloud confidence (0–100) required to act on a block or challenge.
|
|
628
|
+
* Defaults to 80 in legacy mode. Unified mode uses ingest's confidence
|
|
629
|
+
* gates unless a minimum is explicitly set.
|
|
624
630
|
*/
|
|
625
631
|
threatScoreThreshold?: number;
|
|
626
632
|
/**
|
|
@@ -678,7 +684,7 @@ interface WebDecoyConfig {
|
|
|
678
684
|
/**
|
|
679
685
|
* Reuse of decisions that cost a network round trip. `false` disables it.
|
|
680
686
|
*
|
|
681
|
-
* Only server-derived DENY and CHALLENGE verdicts are cached — never ALLOW,
|
|
687
|
+
* Used in legacy mode. Only server-derived DENY and CHALLENGE verdicts are cached — never ALLOW,
|
|
682
688
|
* and never a rule outcome, because a rate limiter has to see every request.
|
|
683
689
|
* @default { ttl: 60_000, max: 10_000 }
|
|
684
690
|
*/
|
|
@@ -843,11 +849,48 @@ interface LocalAnalysis {
|
|
|
843
849
|
interface SDKDetectionRequest {
|
|
844
850
|
request_metadata: RequestMetadata;
|
|
845
851
|
local_analysis: LocalAnalysis;
|
|
852
|
+
/** Sent only when a caller explicitly requests unified admission. */
|
|
853
|
+
decision_mode?: 'unified_v1';
|
|
854
|
+
/** Privacy-bounded model-plane tool orchestration; never raw arguments or results. */
|
|
855
|
+
offensive_toolchain?: OffensiveToolchainObservation;
|
|
856
|
+
/** Reviewed framework identity evidence produced by an SDK helper. */
|
|
857
|
+
framework_evidence?: FrameworkEvidenceObservation;
|
|
858
|
+
}
|
|
859
|
+
type OffensiveToolFamily = 'network_reconnaissance' | 'vulnerability_scanning' | 'injection_testing' | 'exploitation';
|
|
860
|
+
interface OffensiveToolchainObservation {
|
|
861
|
+
schema_version: 1;
|
|
862
|
+
registry_revision: 1;
|
|
863
|
+
plane: 'model_api';
|
|
864
|
+
sensor: string;
|
|
865
|
+
/** HMAC-SHA-256 digest; never the raw run or conversation ID. */
|
|
866
|
+
run_correlation_id: string;
|
|
867
|
+
tool_families: OffensiveToolFamily[];
|
|
868
|
+
invocation_count: number;
|
|
869
|
+
family_set_sha256: string;
|
|
870
|
+
sequence_sha256: string;
|
|
871
|
+
redacted_argument_count: number;
|
|
872
|
+
dropped_tool_count: number;
|
|
873
|
+
}
|
|
874
|
+
interface FrameworkEvidenceObservation {
|
|
875
|
+
schema_version: 1;
|
|
876
|
+
registry_revision: number;
|
|
877
|
+
framework: string;
|
|
878
|
+
plane: 'model_api';
|
|
879
|
+
evidence: Array<{
|
|
880
|
+
family_id: string;
|
|
881
|
+
count: number;
|
|
882
|
+
sha256: string;
|
|
883
|
+
}>;
|
|
884
|
+
observation_sha256: string;
|
|
846
885
|
}
|
|
847
886
|
/**
|
|
848
887
|
* Detection response from the ingest service
|
|
849
888
|
*/
|
|
850
889
|
interface SDKDetectionResponse {
|
|
890
|
+
/** Present for a verdict produced by the unified policy. */
|
|
891
|
+
decision_mode?: 'unified_v1';
|
|
892
|
+
/** Synchronous ingest score (0–100), before asynchronous enrichment. */
|
|
893
|
+
unified_score?: number;
|
|
851
894
|
/** Decision: "allow", "block", or "challenge" */
|
|
852
895
|
decision: 'allow' | 'block' | 'challenge';
|
|
853
896
|
/** Confidence score (0-100) */
|
|
@@ -867,7 +910,7 @@ interface SDKDetectionResponse {
|
|
|
867
910
|
* Options for the protect() method
|
|
868
911
|
*/
|
|
869
912
|
interface ProtectOptions {
|
|
870
|
-
/**
|
|
913
|
+
/** Minimum cloud confidence required to act on this request */
|
|
871
914
|
threshold?: number;
|
|
872
915
|
/** Skip local analysis and only use server-side detection */
|
|
873
916
|
skipLocalAnalysis?: boolean;
|
|
@@ -1386,6 +1429,37 @@ declare class WebDecoyClient {
|
|
|
1386
1429
|
validateAPIKey(): Promise<boolean>;
|
|
1387
1430
|
}
|
|
1388
1431
|
|
|
1432
|
+
interface OffensiveToolInvocation {
|
|
1433
|
+
/** Reviewed tool identifier. Unknown identifiers are counted and dropped. */
|
|
1434
|
+
tool: string;
|
|
1435
|
+
/** Number of argument values the sensor removed before reporting. */
|
|
1436
|
+
redactedArgumentCount?: number;
|
|
1437
|
+
}
|
|
1438
|
+
interface OffensiveToolchainEvidenceInput {
|
|
1439
|
+
/** Stable name for the authenticated model-plane sensor, at most 128 characters. */
|
|
1440
|
+
sensor: string;
|
|
1441
|
+
/** Raw run ID used only as HMAC input. It is never returned. */
|
|
1442
|
+
runId: string;
|
|
1443
|
+
/** Deployment-held HMAC secret used to pseudonymize run IDs. */
|
|
1444
|
+
correlationSecret: string;
|
|
1445
|
+
invocations: readonly OffensiveToolInvocation[];
|
|
1446
|
+
/** Set only when instrumenting the official HexStrike AI MCP orchestrator. */
|
|
1447
|
+
orchestrator?: 'hexstrike_ai';
|
|
1448
|
+
}
|
|
1449
|
+
interface OffensiveToolchainEvidence {
|
|
1450
|
+
offensive_toolchain: OffensiveToolchainObservation;
|
|
1451
|
+
framework_evidence?: FrameworkEvidenceObservation;
|
|
1452
|
+
}
|
|
1453
|
+
/**
|
|
1454
|
+
* Build the strict model-plane evidence accepted by WebDecoy ingest.
|
|
1455
|
+
*
|
|
1456
|
+
* Tool arguments, results, prompts, credentials and targets are intentionally
|
|
1457
|
+
* absent from this API. Unknown tool names are counted and discarded. One
|
|
1458
|
+
* recognized family can be reported for coverage but does not correlate; the
|
|
1459
|
+
* backend requires coordinated use of at least two reviewed families.
|
|
1460
|
+
*/
|
|
1461
|
+
declare function createOffensiveToolchainEvidence(input: OffensiveToolchainEvidenceInput): Promise<OffensiveToolchainEvidence>;
|
|
1462
|
+
|
|
1389
1463
|
declare class WebDecoy {
|
|
1390
1464
|
private client;
|
|
1391
1465
|
private config;
|
|
@@ -1479,6 +1553,12 @@ declare class WebDecoy {
|
|
|
1479
1553
|
*/
|
|
1480
1554
|
observeHoneyCredentialPresentation(candidate: string, handle: HoneyCredentialHandle, routeTemplate: string): Promise<HoneyCredentialPresentationResult>;
|
|
1481
1555
|
private honeyCredentialFingerprint;
|
|
1556
|
+
/**
|
|
1557
|
+
* Report a privacy-bounded model-plane tool run. The helper sends only
|
|
1558
|
+
* reviewed generic families, counts, and digests; it never sends prompts,
|
|
1559
|
+
* arguments, results, credentials, targets, or the raw run ID.
|
|
1560
|
+
*/
|
|
1561
|
+
reportOffensiveToolchain(input: OffensiveToolchainEvidenceInput): Promise<SDKDetectionResponse>;
|
|
1482
1562
|
/**
|
|
1483
1563
|
* Whether this SDK instance has filter rules that need async enrichment
|
|
1484
1564
|
*/
|
|
@@ -1541,4 +1621,4 @@ declare class WebDecoy {
|
|
|
1541
1621
|
destroy(): Promise<void>;
|
|
1542
1622
|
}
|
|
1543
1623
|
|
|
1544
|
-
export { type
|
|
1624
|
+
export { type RequestMetadata as $, type AgentCategory as A, type BotRuleConfig as B, type Characteristic as C, DEFAULT_CHARACTERISTICS as D, EDGE_CLASS_HEADER as E, type FilterConfig as F, type FrameworkEvidenceObservation as G, type HoneyCredentialHandle as H, type HoneyCredentialOptions as I, type HoneyCredentialPresentationResult as J, type HoneyCredentialReceipt as K, type IPEnrichmentData as L, type LocalAnalysis as M, type LogFields as N, type Logger as O, type ProtectResult as P, MemoryRateLimitStore as Q, type Rule as R, type SignedAgentDirectory as S, type TripwireConfig as T, type OffensiveToolFamily as U, type OffensiveToolInvocation as V, WebDecoy as W, type OffensiveToolchainEvidence as X, type OffensiveToolchainEvidenceInput as Y, type OffensiveToolchainObservation as Z, type ProtectOptions as _, type RuleContext as a, type RuleOutcome as a0, type RuleState as a1, type SDKDetectionRequest as a2, type SDKDetectionResponse as a3, type SSRFCanary as a4, type SSRFCanaryOptions as a5, type SSRFInitiationReceipt as a6, type Span as a7, type SyncRateLimitStore as a8, type TLSInfo as a9, type Tracer as aa, type ViolationEvent as ab, type WebDecoyConfig as ac, classifyUserAgent as ad, consoleLogger as ae, createOffensiveToolchainEvidence as af, deriveKey as ag, fromPino as ah, matchUserAgent as ai, newDecisionId as aj, readEdgeVerdict as ak, silentLogger as al, type RuleResult as b, type RuleEngineResult as c, type RateLimitConfig as d, type BotAgent as e, type BotCategory as f, type RateLimitStore as g, type RateLimitConsume as h, type RateLimitOutcome as i, type AgentVerifierOptions as j, type AgentRequestInput as k, type AgentVerdict as l, type AgentStatus as m, BOT_CATEGORIES as n, BOT_REGISTRY as o, type BotVerdict as p, type Conclusion as q, type CreatedHoneyCredential as r, Decision as s, DecisionCache as t, type DecisionCacheOptions as u, type DecisionInit as v, type DecisionMode as w, EDGE_CLEARANCE_HEADER as x, type EdgeClass as y, type EdgeVerdict as z };
|
|
@@ -310,7 +310,7 @@ declare function readEdgeVerdict(headers: Record<string, string> | undefined): E
|
|
|
310
310
|
* agents share User-Agent substrings, so sorting this array changes how real
|
|
311
311
|
* traffic is classified.
|
|
312
312
|
*
|
|
313
|
-
*
|
|
313
|
+
* 251 agents across 15 categories.
|
|
314
314
|
*/
|
|
315
315
|
/**
|
|
316
316
|
* Classification categories, mirroring `agents.Category` in Go.
|
|
@@ -595,6 +595,7 @@ interface Tracer {
|
|
|
595
595
|
* Based on the ingest service API contract
|
|
596
596
|
*/
|
|
597
597
|
|
|
598
|
+
type DecisionMode = 'legacy' | 'unified_v1';
|
|
598
599
|
/**
|
|
599
600
|
* Configuration options for the Web Decoy SDK
|
|
600
601
|
*/
|
|
@@ -618,9 +619,14 @@ interface WebDecoyConfig {
|
|
|
618
619
|
*/
|
|
619
620
|
enableTLSFingerprinting?: boolean;
|
|
620
621
|
/**
|
|
621
|
-
*
|
|
622
|
-
*
|
|
623
|
-
|
|
622
|
+
* Cloud decision policy. Legacy is the default. Opt in to unified_v1 to
|
|
623
|
+
* use the ingest verdict based on the same synchronous score as its row.
|
|
624
|
+
*/
|
|
625
|
+
decisionMode?: DecisionMode;
|
|
626
|
+
/**
|
|
627
|
+
* Minimum cloud confidence (0–100) required to act on a block or challenge.
|
|
628
|
+
* Defaults to 80 in legacy mode. Unified mode uses ingest's confidence
|
|
629
|
+
* gates unless a minimum is explicitly set.
|
|
624
630
|
*/
|
|
625
631
|
threatScoreThreshold?: number;
|
|
626
632
|
/**
|
|
@@ -678,7 +684,7 @@ interface WebDecoyConfig {
|
|
|
678
684
|
/**
|
|
679
685
|
* Reuse of decisions that cost a network round trip. `false` disables it.
|
|
680
686
|
*
|
|
681
|
-
* Only server-derived DENY and CHALLENGE verdicts are cached — never ALLOW,
|
|
687
|
+
* Used in legacy mode. Only server-derived DENY and CHALLENGE verdicts are cached — never ALLOW,
|
|
682
688
|
* and never a rule outcome, because a rate limiter has to see every request.
|
|
683
689
|
* @default { ttl: 60_000, max: 10_000 }
|
|
684
690
|
*/
|
|
@@ -843,11 +849,48 @@ interface LocalAnalysis {
|
|
|
843
849
|
interface SDKDetectionRequest {
|
|
844
850
|
request_metadata: RequestMetadata;
|
|
845
851
|
local_analysis: LocalAnalysis;
|
|
852
|
+
/** Sent only when a caller explicitly requests unified admission. */
|
|
853
|
+
decision_mode?: 'unified_v1';
|
|
854
|
+
/** Privacy-bounded model-plane tool orchestration; never raw arguments or results. */
|
|
855
|
+
offensive_toolchain?: OffensiveToolchainObservation;
|
|
856
|
+
/** Reviewed framework identity evidence produced by an SDK helper. */
|
|
857
|
+
framework_evidence?: FrameworkEvidenceObservation;
|
|
858
|
+
}
|
|
859
|
+
type OffensiveToolFamily = 'network_reconnaissance' | 'vulnerability_scanning' | 'injection_testing' | 'exploitation';
|
|
860
|
+
interface OffensiveToolchainObservation {
|
|
861
|
+
schema_version: 1;
|
|
862
|
+
registry_revision: 1;
|
|
863
|
+
plane: 'model_api';
|
|
864
|
+
sensor: string;
|
|
865
|
+
/** HMAC-SHA-256 digest; never the raw run or conversation ID. */
|
|
866
|
+
run_correlation_id: string;
|
|
867
|
+
tool_families: OffensiveToolFamily[];
|
|
868
|
+
invocation_count: number;
|
|
869
|
+
family_set_sha256: string;
|
|
870
|
+
sequence_sha256: string;
|
|
871
|
+
redacted_argument_count: number;
|
|
872
|
+
dropped_tool_count: number;
|
|
873
|
+
}
|
|
874
|
+
interface FrameworkEvidenceObservation {
|
|
875
|
+
schema_version: 1;
|
|
876
|
+
registry_revision: number;
|
|
877
|
+
framework: string;
|
|
878
|
+
plane: 'model_api';
|
|
879
|
+
evidence: Array<{
|
|
880
|
+
family_id: string;
|
|
881
|
+
count: number;
|
|
882
|
+
sha256: string;
|
|
883
|
+
}>;
|
|
884
|
+
observation_sha256: string;
|
|
846
885
|
}
|
|
847
886
|
/**
|
|
848
887
|
* Detection response from the ingest service
|
|
849
888
|
*/
|
|
850
889
|
interface SDKDetectionResponse {
|
|
890
|
+
/** Present for a verdict produced by the unified policy. */
|
|
891
|
+
decision_mode?: 'unified_v1';
|
|
892
|
+
/** Synchronous ingest score (0–100), before asynchronous enrichment. */
|
|
893
|
+
unified_score?: number;
|
|
851
894
|
/** Decision: "allow", "block", or "challenge" */
|
|
852
895
|
decision: 'allow' | 'block' | 'challenge';
|
|
853
896
|
/** Confidence score (0-100) */
|
|
@@ -867,7 +910,7 @@ interface SDKDetectionResponse {
|
|
|
867
910
|
* Options for the protect() method
|
|
868
911
|
*/
|
|
869
912
|
interface ProtectOptions {
|
|
870
|
-
/**
|
|
913
|
+
/** Minimum cloud confidence required to act on this request */
|
|
871
914
|
threshold?: number;
|
|
872
915
|
/** Skip local analysis and only use server-side detection */
|
|
873
916
|
skipLocalAnalysis?: boolean;
|
|
@@ -1386,6 +1429,37 @@ declare class WebDecoyClient {
|
|
|
1386
1429
|
validateAPIKey(): Promise<boolean>;
|
|
1387
1430
|
}
|
|
1388
1431
|
|
|
1432
|
+
interface OffensiveToolInvocation {
|
|
1433
|
+
/** Reviewed tool identifier. Unknown identifiers are counted and dropped. */
|
|
1434
|
+
tool: string;
|
|
1435
|
+
/** Number of argument values the sensor removed before reporting. */
|
|
1436
|
+
redactedArgumentCount?: number;
|
|
1437
|
+
}
|
|
1438
|
+
interface OffensiveToolchainEvidenceInput {
|
|
1439
|
+
/** Stable name for the authenticated model-plane sensor, at most 128 characters. */
|
|
1440
|
+
sensor: string;
|
|
1441
|
+
/** Raw run ID used only as HMAC input. It is never returned. */
|
|
1442
|
+
runId: string;
|
|
1443
|
+
/** Deployment-held HMAC secret used to pseudonymize run IDs. */
|
|
1444
|
+
correlationSecret: string;
|
|
1445
|
+
invocations: readonly OffensiveToolInvocation[];
|
|
1446
|
+
/** Set only when instrumenting the official HexStrike AI MCP orchestrator. */
|
|
1447
|
+
orchestrator?: 'hexstrike_ai';
|
|
1448
|
+
}
|
|
1449
|
+
interface OffensiveToolchainEvidence {
|
|
1450
|
+
offensive_toolchain: OffensiveToolchainObservation;
|
|
1451
|
+
framework_evidence?: FrameworkEvidenceObservation;
|
|
1452
|
+
}
|
|
1453
|
+
/**
|
|
1454
|
+
* Build the strict model-plane evidence accepted by WebDecoy ingest.
|
|
1455
|
+
*
|
|
1456
|
+
* Tool arguments, results, prompts, credentials and targets are intentionally
|
|
1457
|
+
* absent from this API. Unknown tool names are counted and discarded. One
|
|
1458
|
+
* recognized family can be reported for coverage but does not correlate; the
|
|
1459
|
+
* backend requires coordinated use of at least two reviewed families.
|
|
1460
|
+
*/
|
|
1461
|
+
declare function createOffensiveToolchainEvidence(input: OffensiveToolchainEvidenceInput): Promise<OffensiveToolchainEvidence>;
|
|
1462
|
+
|
|
1389
1463
|
declare class WebDecoy {
|
|
1390
1464
|
private client;
|
|
1391
1465
|
private config;
|
|
@@ -1479,6 +1553,12 @@ declare class WebDecoy {
|
|
|
1479
1553
|
*/
|
|
1480
1554
|
observeHoneyCredentialPresentation(candidate: string, handle: HoneyCredentialHandle, routeTemplate: string): Promise<HoneyCredentialPresentationResult>;
|
|
1481
1555
|
private honeyCredentialFingerprint;
|
|
1556
|
+
/**
|
|
1557
|
+
* Report a privacy-bounded model-plane tool run. The helper sends only
|
|
1558
|
+
* reviewed generic families, counts, and digests; it never sends prompts,
|
|
1559
|
+
* arguments, results, credentials, targets, or the raw run ID.
|
|
1560
|
+
*/
|
|
1561
|
+
reportOffensiveToolchain(input: OffensiveToolchainEvidenceInput): Promise<SDKDetectionResponse>;
|
|
1482
1562
|
/**
|
|
1483
1563
|
* Whether this SDK instance has filter rules that need async enrichment
|
|
1484
1564
|
*/
|
|
@@ -1541,4 +1621,4 @@ declare class WebDecoy {
|
|
|
1541
1621
|
destroy(): Promise<void>;
|
|
1542
1622
|
}
|
|
1543
1623
|
|
|
1544
|
-
export { type
|
|
1624
|
+
export { type RequestMetadata as $, type AgentCategory as A, type BotRuleConfig as B, type Characteristic as C, DEFAULT_CHARACTERISTICS as D, EDGE_CLASS_HEADER as E, type FilterConfig as F, type FrameworkEvidenceObservation as G, type HoneyCredentialHandle as H, type HoneyCredentialOptions as I, type HoneyCredentialPresentationResult as J, type HoneyCredentialReceipt as K, type IPEnrichmentData as L, type LocalAnalysis as M, type LogFields as N, type Logger as O, type ProtectResult as P, MemoryRateLimitStore as Q, type Rule as R, type SignedAgentDirectory as S, type TripwireConfig as T, type OffensiveToolFamily as U, type OffensiveToolInvocation as V, WebDecoy as W, type OffensiveToolchainEvidence as X, type OffensiveToolchainEvidenceInput as Y, type OffensiveToolchainObservation as Z, type ProtectOptions as _, type RuleContext as a, type RuleOutcome as a0, type RuleState as a1, type SDKDetectionRequest as a2, type SDKDetectionResponse as a3, type SSRFCanary as a4, type SSRFCanaryOptions as a5, type SSRFInitiationReceipt as a6, type Span as a7, type SyncRateLimitStore as a8, type TLSInfo as a9, type Tracer as aa, type ViolationEvent as ab, type WebDecoyConfig as ac, classifyUserAgent as ad, consoleLogger as ae, createOffensiveToolchainEvidence as af, deriveKey as ag, fromPino as ah, matchUserAgent as ai, newDecisionId as aj, readEdgeVerdict as ak, silentLogger as al, type RuleResult as b, type RuleEngineResult as c, type RateLimitConfig as d, type BotAgent as e, type BotCategory as f, type RateLimitStore as g, type RateLimitConsume as h, type RateLimitOutcome as i, type AgentVerifierOptions as j, type AgentRequestInput as k, type AgentVerdict as l, type AgentStatus as m, BOT_CATEGORIES as n, BOT_REGISTRY as o, type BotVerdict as p, type Conclusion as q, type CreatedHoneyCredential as r, Decision as s, DecisionCache as t, type DecisionCacheOptions as u, type DecisionInit as v, type DecisionMode as w, EDGE_CLEARANCE_HEADER as x, type EdgeClass as y, type EdgeVerdict as z };
|
package/dist/testing.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ac as WebDecoyConfig, $ as RequestMetadata, W as WebDecoy, P as ProtectResult, a1 as RuleState } from './sdk-Dh8Jj07-.mjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Testing utilities, for the application's test suite rather than ours.
|
package/dist/testing.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ac as WebDecoyConfig, $ as RequestMetadata, W as WebDecoy, P as ProtectResult, a1 as RuleState } from './sdk-Dh8Jj07-.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Testing utilities, for the application's test suite rather than ours.
|