@aikidosec/firewall
Version:
Zen by Aikido is an embedded Web Application Firewall that autonomously protects Node.js apps against common and critical attacks
13 lines (12 loc) • 350 B
TypeScript
import { Context } from "../../agent/Context";
import { Source } from "../../agent/Source";
type DetectionResult = {
injection: true;
source: Source;
pathsToPayload: string[];
payload: unknown;
} | {
injection: false;
};
export declare function detectNoSQLInjection(request: Context, filter: unknown): DetectionResult;
export {};