@@ -3,7 +3,7 @@ CLI reference for garak
3
3
4
4
::
5
5
6
- garak LLM vulnerability scanner v0.10.0 ( https://github.com/NVIDIA/garak ) at 2024-10-31T09:41:09.763226
6
+ garak LLM vulnerability scanner v0.10.1 ( https://github.com/NVIDIA/garak ) at 2024-12-19T11:28:00.501208
7
7
usage: python -m garak [-h] [--verbose] [--report_prefix REPORT_PREFIX]
8
8
[--narrow_output]
9
9
[--parallel_requests PARALLEL_REQUESTS]
@@ -12,15 +12,19 @@ CLI reference for garak
12
12
[--eval_threshold EVAL_THRESHOLD]
13
13
[--generations GENERATIONS] [--config CONFIG]
14
14
[--model_type MODEL_TYPE] [--model_name MODEL_NAME]
15
- [--generator_option_file GENERATOR_OPTION_FILE | --generator_options GENERATOR_OPTIONS]
16
15
[--probes PROBES] [--probe_tags PROBE_TAGS]
17
- [--probe_option_file PROBE_OPTION_FILE | --probe_options PROBE_OPTIONS]
18
16
[--detectors DETECTORS] [--extended_detectors]
19
- [--buffs BUFFS] [--taxonomy TAXONOMY]
20
- [--plugin_info PLUGIN_INFO] [--list_probes]
21
- [--list_detectors] [--list_generators] [--list_buffs]
22
- [--list_config] [--version] [--report REPORT]
23
- [--interactive] [--generate_autodan] [--interactive.py]
17
+ [--buffs BUFFS]
18
+ [--buff_option_file BUFF_OPTION_FILE | --buff_options BUFF_OPTIONS]
19
+ [--detector_option_file DETECTOR_OPTION_FILE | --detector_options DETECTOR_OPTIONS]
20
+ [--generator_option_file GENERATOR_OPTION_FILE | --generator_options GENERATOR_OPTIONS]
21
+ [--harness_option_file HARNESS_OPTION_FILE | --harness_options HARNESS_OPTIONS]
22
+ [--probe_option_file PROBE_OPTION_FILE | --probe_options PROBE_OPTIONS]
23
+ [--taxonomy TAXONOMY] [--plugin_info PLUGIN_INFO]
24
+ [--list_probes] [--list_detectors] [--list_generators]
25
+ [--list_buffs] [--list_config] [--version]
26
+ [--report REPORT] [--interactive] [--generate_autodan]
27
+ [--interactive.py] [--fix]
24
28
25
29
LLM safety & security scanning tool
26
30
@@ -51,21 +55,12 @@ CLI reference for garak
51
55
--model_name MODEL_NAME, -n MODEL_NAME
52
56
name of the model, e.g.
53
57
'timdettmers/guanaco-33b-merged'
54
- --generator_option_file GENERATOR_OPTION_FILE, -G GENERATOR_OPTION_FILE
55
- path to JSON file containing options to pass to
56
- generator
57
- --generator_options GENERATOR_OPTIONS
58
- options to pass to the generator
59
58
--probes PROBES, -p PROBES
60
59
list of probe names to use, or 'all' for all
61
60
(default).
62
61
--probe_tags PROBE_TAGS
63
62
only include probes with a tag that starts with this
64
63
value (e.g. owasp:llm01)
65
- --probe_option_file PROBE_OPTION_FILE, -P PROBE_OPTION_FILE
66
- path to JSON file containing options to pass to probes
67
- --probe_options PROBE_OPTIONS
68
- options to pass to probes, formatted as a JSON dict
69
64
--detectors DETECTORS, -d DETECTORS
70
65
list of detectors to use, or 'all' for all. Default is
71
66
to use the probe's suggestion.
@@ -74,6 +69,29 @@ CLI reference for garak
74
69
primary detector, if given, else everything)
75
70
--buffs BUFFS, -b BUFFS
76
71
list of buffs to use. Default is none
72
+ --buff_option_file BUFF_OPTION_FILE, -B BUFF_OPTION_FILE
73
+ path to JSON file containing options to pass to buff
74
+ --buff_options BUFF_OPTIONS
75
+ options to pass to buff, formatted as a JSON dict
76
+ --detector_option_file DETECTOR_OPTION_FILE, -D DETECTOR_OPTION_FILE
77
+ path to JSON file containing options to pass to
78
+ detector
79
+ --detector_options DETECTOR_OPTIONS
80
+ options to pass to detector, formatted as a JSON dict
81
+ --generator_option_file GENERATOR_OPTION_FILE, -G GENERATOR_OPTION_FILE
82
+ path to JSON file containing options to pass to
83
+ generator
84
+ --generator_options GENERATOR_OPTIONS
85
+ options to pass to generator, formatted as a JSON dict
86
+ --harness_option_file HARNESS_OPTION_FILE, -H HARNESS_OPTION_FILE
87
+ path to JSON file containing options to pass to
88
+ harness
89
+ --harness_options HARNESS_OPTIONS
90
+ options to pass to harness, formatted as a JSON dict
91
+ --probe_option_file PROBE_OPTION_FILE, -P PROBE_OPTION_FILE
92
+ path to JSON file containing options to pass to probe
93
+ --probe_options PROBE_OPTIONS
94
+ options to pass to probe, formatted as a JSON dict
77
95
--taxonomy TAXONOMY specify a MISP top-level taxonomy to be used for
78
96
grouping probes in reporting. e.g. 'avid-effect',
79
97
'owasp'
@@ -92,5 +110,8 @@ CLI reference for garak
92
110
--generate_autodan generate AutoDAN prompts; requires --prompt_options
93
111
with JSON containing a prompt and target
94
112
--interactive.py Launch garak in interactive.py mode
113
+ --fix Update provided configuration with fixer migrations;
114
+ requires one of --config / --*_option_file, /
115
+ --*_options
95
116
96
117
See https://github.com/NVIDIA/garak
0 commit comments