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) 468 B
import { Hooks } from "../agent/hooks/Hooks"; import { Wrapper } from "../agent/Wrapper"; /** * Wrapper for xml2js package. * If the XML string is in the body of the request and parsed with xml2js, the parsed result is stored in the context. * This prevents bypassing the firewall using XML. The XML is parsed only once keeping the performance impact low. */ export declare class Xml2js implements Wrapper { private modifyArgs; wrap(hooks: Hooks): void; }