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.

2 lines (1 loc) 134 B
export declare function detectPathTraversal(filePath: string, userInput: string, checkPathStart?: boolean, isUrl?: boolean): boolean;