UNPKG

xss-defender

Version:

A standalone library for XSS sanitization and detection.

6 lines (5 loc) 216 B
/** * Regular expressions for detecting common XSS attack vectors. * These patterns are used to identify and remove or neutralize malicious code. */ export declare const DANGEROUS_PATTERNS: ReadonlyArray<RegExp>;