UNPKG

@aikidosec/firewall

Version:

Zen by Aikido is an embedded Web Application Firewall that autonomously protects Node.js apps against common and critical attacks

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 {};