UNPKG

@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.

11 lines (10 loc) 294 B
type HostnameAndPort = { hostname: string; port: number | undefined; }; /** * Extract hostname and port from the arguments of a undici request. * Used for SSRF detection. */ export declare function getHostnameAndPortFromArgs(args: unknown[]): HostnameAndPort | undefined; export {};