@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.
12 lines (11 loc) • 495 B
TypeScript
import { Hooks } from "../agent/hooks/Hooks";
import { Wrapper } from "../agent/Wrapper";
/**
* Wrapper for fast-xml-parser package.
* If the XML string is in the body of the request and parsed with fast-xml-parser, 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 FastXmlParser implements Wrapper {
private inspectParse;
wrap(hooks: Hooks): void;
}