AbstractAbstract ReadonlycategoryWhich trap category this detector addresses
Abstract ReadonlyidUnique identifier for this detector
Abstract ReadonlynameHuman-readable name
Protected Abstract ReadonlytrapAbstractfindAbstractsanitizeReturn sanitized content with threats neutralized
Scan content and return any threats found
Optionaloptions: DetectorOptions
The interface every detector (pattern-based, ML, or custom) implements.