garak scan configuration

Configuring garak runs that are repeatable and fit the target: config files, probe selection by spec and tag, generations, system prompts, buffs, harnesses, detectors and context-aware intents.

garak config files and site configuration

Writing garak YAML or JSON run configs, setting organisation defaults in a site config, the five-level priority order, and keeping configs in version control so scans can be rerun exactly.

Selecting garak probes with --spec and tags

Choosing what a garak scan runs: probe families, single probes, OWASP and other tags, include and exclude lists, and probe tiers shown by --list_probes, so a scan matches the risks of a specific application.

How many generations a garak scan needs

Setting garak's generations per prompt and the soft probe prompt cap: why stochastic outputs need several generations, the recommended minimum of two, and the trade-off against inference cost.

Using garak buffs to vary static prompts

How garak buffs paraphrase, lowercase or encode prompts in flight, when a paraphrase buff is a better use of an inference budget than more generations, and the buff_max and include-original settings.

garak harnesses: probewise versus pxd

When to use garak's default probewise harness, which runs each probe's recommended detectors, versus the pxd harness, which runs every detector on every probe, and what each does to run time and noise.

Choosing garak detectors and model-as-judge scoring

How garak detectors decide hits with keywords, classifiers or a judge model, when to enable extended detectors or the judge-based refusal and jailbreak detectors, and how eval_threshold affects pass and fail.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.