-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
199 lines (189 loc) · 4.84 KB
/
config.example.yaml
File metadata and controls
199 lines (189 loc) · 4.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
database:
# Database URL can also be set via SCALPEL_DATABASE_URL environment variable.
url: "postgres://scalpel_user:CHANGE_ME@127.0.0.1:5432/scalpel-db?sslmode=disable"
logger:
service_name: "scalpel-cli"
log_file: "logs/scalpel.log"
level: "info"
format: "json"
add_source: false
max_size: 10
max_backups: 3
max_age: 7
compress: true
colors:
debug: "cyan"
info: "green"
warn: "yellow"
error: "red"
dpanic: "magenta"
panic: "magenta"
fatal: "magenta"
engine:
queue_size: 1000
worker_concurrency: 8
default_task_timeout: "15m"
browser:
headless: true
disable_cache: true
ignore_tls_errors: false
concurrency: 2
debug: true
args:
- "--no-sandbox"
- "--disable-setuid-sandbox"
- "--disable-dev-shm-usage"
- "--disable-gpu"
- "--no-first-run"
- "--no-default-browser-check"
- "--disable-popup-blocking"
- "--disable-prompt-on-repost"
- "--disable-extensions"
- "--disable-translate"
- "--disable-sync"
- "--disable-background-networking"
- "--disable-component-update"
- "--metrics-recording-only"
- "--mute-audio"
- "--safebrowsing-disable-auto-update"
viewport:
width: 1920
height: 1080
humanoid: {}
network:
timeout: "30s"
navigation_timeout: "900s"
post_load_wait: "2s"
capture_response_bodies: true
ignore_tls_errors: false
headers:
User-Agent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"
proxy:
enabled: true
address: "127.0.0.1:8080"
ca_cert: ""
ca_key: ""
iast:
enabled: true
shim_path: "./internal/analysis/active/taint"
config_path: "./internal/config"
scanners:
passive:
headers:
enabled: true
static:
jwt:
enabled: true
known_secrets: []
brute_force_enabled: true
dictionary_file: "config/jwt.secrets.list"
active:
taint:
enabled: true
depth: 3
concurrency: 2
timeslip:
enabled: true
request_count: 25
max_concurrency: 10
threshold_ms: 500
auth:
ato:
enabled: true
seclists_path: "~/SecLists"
concurrency: 4
min_request_delay_ms: 500
request_delay_jitter_ms: 500
success_keywords:
- "welcome"
- "redirect"
- "dashboard"
- "logout"
- '"success":true'
user_failure_keywords:
- "user not found"
- "invalid user"
- "no such account"
- "user does not exist"
pass_failure_keywords:
- "invalid password"
- "incorrect password"
- "authentication failed"
generic_failure_keywords:
- "login failed"
- "invalid credentials"
lockout_keywords:
- "account locked"
- "too many attempts"
idor:
enabled: true
ignore_list:
- "csrf_token"
- "X-CSRF-Token"
- "nonce"
- "viewstate"
test_strategies:
NumericID: ["increment", "decrement"]
UUID: ["horizontal_swap"]
Base64Encoded: ["bit_flip"]
ObjectID: ["increment_char"]
discovery:
max_depth: 5
concurrency: 20
timeout: "15m"
passive_enabled: true
include_subdomains: true
crtsh_rate_limit: 2.0
cache_dir: "/.cache"
passive_concurrency: 10
agent:
llm:
default_fast_model: "gemini-2.5-flash"
default_powerful_model: "gemini-3-pro"
models:
gemini-2.5-flash:
provider: "gemini"
model: "gemini-2.5-flash"
# api_key: "YOUR_API_KEY"
api_timeout: "2m"
temperature: 0.8
top_p: 0.95
top_k: 50
max_tokens: 8192
safety_filters:
HARM_CATEGORY_HATE_SPEECH: "BLOCK_NONE"
HARM_CATEGORY_SEXUALLY_EXPLICIT: "BLOCK_NONE"
HARM_CATEGORY_HARASSMENT: "BLOCK_NONE"
HARM_CATEGORY_DANGEROUS_CONTENT: "BLOCK_NONE"
HARM_CATEGORY_CIVIC_INTEGRITY: "BLOCK_NONE"
gemini-3-pro:
provider: "gemini"
model: "gemini-3-pro-preview"
# api_key: "YOUR_API_KEY"
api_timeout: "4m"
temperature: 0.7
top_p: 0.95
top_k: 64
max_tokens: 65536
safety_filters:
HARM_CATEGORY_HATE_SPEECH: "BLOCK_NONE"
HARM_CATEGORY_SEXUALLY_EXPLICIT: "BLOCK_NONE"
HARM_CATEGORY_HARASSMENT: "BLOCK_NONE"
HARM_CATEGORY_DANGEROUS_CONTENT: "BLOCK_NONE"
HARM_CATEGORY_CIVIC_INTEGRITY: "BLOCK_NONE"
knowledge_graph:
type: "postgres"
autofix:
enabled: false
project_root: ""
dast_log_path: ""
min_confidence_threshold: 0.75
cooldown_seconds: 300
keep_workspace_on_failure: false
git:
author_name: "YOUR_NAME_HERE"
author_email: "your_email@example.com"
github:
repo_owner: "YOUR_GITHUB_USER"
repo_name: "scalpel-cli"
base_branch: "main"