Skip to content

detectPenetrationAttempt

detectPenetrationAttempt(request): Promise<[boolean, string, string[]]>

Defined in: packages/core/src/utils.ts:922

Standalone penetration detection entry point (public API). Runs the full SusPatternsManager engine over the request surface on a shared default manager; the live middleware path feeds the initializer’s manager into scanRequestWithManager directly via SuspiciousActivityCheck.

GuardRequest

Promise<[boolean, string, string[]]>