You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: graphqler/__main__.py
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -209,6 +209,14 @@ def main(args: dict):
209
209
config.DISABLE_MUTATIONS=True
210
210
print("(P) Mutation fuzzing disabled — only Query chains will be generated")
211
211
212
+
# Apply detections CLI override
213
+
ifargs.get('no_detections'):
214
+
config.SKIP_INJECTION_ATTACKS=True
215
+
config.SKIP_MISC_ATTACKS=True
216
+
config.SKIP_DOS_ATTACKS=True
217
+
config.SKIP_ENUMERATION_ATTACKS=True
218
+
print("(P) All detections disabled")
219
+
212
220
# Apply ablation CLI overrides
213
221
ifargs.get('no_objects_bucket'):
214
222
config.USE_OBJECTS_BUCKET=False
@@ -325,6 +333,7 @@ def main(args: dict):
325
333
parser.add_argument("--llm-base-url", help="custom base URL for LLM endpoint (required for Ollama and LiteLLM proxies)", required=False)
326
334
parser.add_argument("--llm-max-retries", help="number of retries when LLM returns non-JSON (default: 2)", type=int, required=False)
327
335
parser.add_argument("--disable-mutations", help="only generate and run Query chains — all Mutation nodes are excluded from fuzzing", action="store_true", default=False)
parser.add_argument("--no-objects-bucket", help="ablation: disable the objects bucket — requests carry no state from prior responses", action="store_true", default=False)
0 commit comments