> ## Documentation Index
> Fetch the complete documentation index at: https://resq-dependabot-github-actions-github-actions-478e18be3d.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ThreatType

# Type Alias: ThreatType

> **ThreatType** = `"xss"` | `"sql_injection"` | `"nosql_injection"` | `"command_injection"` | `"path_traversal"` | `"homoglyph"`

Defined in: [validators.ts:192](https://github.com/resq-software/npm/blob/fe2e20ae9db8398a0db1e3218edaabb3cf7004d6/packages/security/src/validators.ts#L192)

The closed set of threat categories the validators recognize. Add
new categories here when adding a new detector.
