UNPKG

@aikidosec/firewall

Version:

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

12 lines (11 loc) 461 B
import { Context } from "../../agent/Context"; import { InterceptorResult } from "../../agent/hooks/InterceptorResult"; /** * This function goes over all the different input types in the context and checks * if it's a possible JS Injection, if so the function returns an InterceptorResult */ export declare function checkContextForJsInjection({ js, operation, context, }: { js: string; operation: string; context: Context; }): InterceptorResult;