@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.
7 lines (6 loc) • 394 B
TypeScript
import { IncomingMessage } from "http";
/**
* We are wrapping the response handler for outgoing HTTP requests to detect redirects.
* If the response is a redirect, we will add the redirect to the context to be able to detect SSRF attacks with redirects.
*/
export declare function wrapResponseHandler(args: unknown[], module: "http" | "https", fn: Function): (res: IncomingMessage) => void;