@aikidosec/firewall
Version:
Zen by Aikido is an embedded Application Firewall that autonomously protects Node.js apps against common and critical attacks, provides rate limiting, detects malicious traffic (including bots), and more.
13 lines (12 loc) • 498 B
TypeScript
import { Context } from "../../agent/Context";
import { InterceptorResult } from "../../agent/hooks/InterceptorResult";
/**
* This function goes over all the different input types in the context and checks
* if it possibly implies SSRF, if so the function returns an InterceptorResult
*/
export declare function checkContextForSSRF({ hostname, port, operation, context, }: {
hostname: string;
port: number | undefined;
operation: string;
context: Context;
}): InterceptorResult;