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.

7 lines (6 loc) 250 B
/** * Check the environment variables to see if the firewall should block requests if an attack is detected. * - AIKIDO_BLOCKING=true or AIKIDO_BLOCKING=1 * - AIKIDO_BLOCK=true or AIKIDO_BLOCK=1 */ export declare function shouldBlock(): boolean;