Extending garak with custom plugins

Writing garak probes, detectors and generators for your own attacks, policies and endpoints, porting existing red-team prompt sets, and calling Python applications directly.

Writing a custom garak probe

Turning an attack your team cares about into a garak probe: choosing the base class, setting primary and extended detectors, tags and tier, and testing it with the blank generator before adding it to scans.

Writing a custom garak detector

Building a garak detector for a policy specific to your application, such as a forbidden phrase, leaked identifier or tool call, choosing between string matching, a classifier or a judge model, and checking its false positives.

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.