Interface: ThreatDetectionConfig
Defined in: validators.ts:410 Per-detector toggles for detectThreatPatterns. Defaults: XSS, SQL, NoSQL, path-traversal, and homoglyph detectors are on; command injection is off (false-positive prone). Passfalse to disable a detector or true to force-enable
checkCommandInjection.
Properties
checkCommandInjection?
Defined in: validators.ts:418 DefaultoptionalcheckCommandInjection?:boolean
false — opt in only when input reaches a shell.
checkHomoglyphs?
Defined in: validators.ts:422 DefaultoptionalcheckHomoglyphs?:boolean
true.
checkNoSQLInjection?
Defined in: validators.ts:416 DefaultoptionalcheckNoSQLInjection?:boolean
true.
checkPathTraversal?
Defined in: validators.ts:420 DefaultoptionalcheckPathTraversal?:boolean
true.
checkSQLInjection?
Defined in: validators.ts:414 DefaultoptionalcheckSQLInjection?:boolean
true.
checkXSS?
Defined in: validators.ts:412 DefaultoptionalcheckXSS?:boolean
true.