Skip to Content
Unified docs shell with shared Classifyre tokens and acid-green highlight accents.
DetectorsPrompt Injection

Prompt Injection

Schema-driven detector documentation.

PROMPT_INJECTIONactiveP04 params1 examples
Detector Metadata
Capability catalog entry from all_detectors.json.

Categories

SECURITY

Supported Asset Types

TXTTABLEURL

Recommended Model

protectai/deberta-v3-base-prompt-injection-v2
Parameters
Configuration parameters for the Prompt Injection detector. Shared from `GenericDetectorConfig`.
ParameterTypeRequiredDescriptionDefaultConstraints
enabled_patternsarray | nullNoList of enabled pattern namesnull
severity_thresholdenum | nullNoMinimum severity to reportnull
confidence_thresholdnumberNoMinimum confidence to report (0-1)0.7min 0, max 1
max_findingsinteger | nullNoMaximum number of findings to returnnull