Defend

Prompt complexity

Heuristic complexity and obfuscation checks on prompts.

YAML key: prompt_complexity
Direction: input

Heuristic complexity and obfuscation checks on prompts.

Configuration

Prop

Type

Example

defend.config.yaml (fragment)
guards:
  input:
    modules:
      - "prompt_complexity"

Provider usage

Configure under guards.input.modules when using an LLM-backed input provider.

See the modules overview.