@waftester/cli 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/LICENSE +80 -0
  2. package/LICENSE-COMMUNITY +28 -0
  3. package/README.md +121 -0
  4. package/bin/cli.js +152 -0
  5. package/package.json +52 -0
  6. package/payloads/community/README.md +45 -0
  7. package/payloads/community/ai/ml-poisoning.json +173 -0
  8. package/payloads/community/ai/prompt-injection.json +247 -0
  9. package/payloads/community/ai/workflow-abuse.json +222 -0
  10. package/payloads/community/auth/jwt.json +855 -0
  11. package/payloads/community/auth/login-bypass.json +623 -0
  12. package/payloads/community/auth/mfa.json +402 -0
  13. package/payloads/community/auth/oauth.json +421 -0
  14. package/payloads/community/auth/open-redirect.json +1028 -0
  15. package/payloads/community/auth/session.json +404 -0
  16. package/payloads/community/cache/deception.json +402 -0
  17. package/payloads/community/cache/poisoning.json +403 -0
  18. package/payloads/community/deserialization/gadget.json +375 -0
  19. package/payloads/community/deserialization/prototype.json +370 -0
  20. package/payloads/community/fuzz/content-type.json +397 -0
  21. package/payloads/community/fuzz/headers.json +401 -0
  22. package/payloads/community/fuzz/methods.json +397 -0
  23. package/payloads/community/fuzz/obfuscation.json +362 -0
  24. package/payloads/community/fuzz/special-chars.json +740 -0
  25. package/payloads/community/fuzz/waf-bypass.json +452 -0
  26. package/payloads/community/graphql/batching-abuse.json +271 -0
  27. package/payloads/community/graphql/depth-limit.json +271 -0
  28. package/payloads/community/graphql/introspection.json +267 -0
  29. package/payloads/community/injection/crlf.json +569 -0
  30. package/payloads/community/injection/ldap.json +357 -0
  31. package/payloads/community/injection/nosqli.json +529 -0
  32. package/payloads/community/injection/oscmd.json +662 -0
  33. package/payloads/community/injection/rce-polyglots.json +452 -0
  34. package/payloads/community/injection/sqli.json +681 -0
  35. package/payloads/community/injection/ssti.json +584 -0
  36. package/payloads/community/injection/upload-attacks.json +632 -0
  37. package/payloads/community/injection/xpath.json +357 -0
  38. package/payloads/community/injection/xxe.json +716 -0
  39. package/payloads/community/logic/forced-browsing.json +405 -0
  40. package/payloads/community/logic/idor.json +1026 -0
  41. package/payloads/community/logic/privilege.json +337 -0
  42. package/payloads/community/media/exif-injection.json +225 -0
  43. package/payloads/community/media/metadata-poison.json +239 -0
  44. package/payloads/community/protocol/http-smuggling.json +798 -0
  45. package/payloads/community/protocol/http2-attacks.json +382 -0
  46. package/payloads/community/protocol/websocket-abuse.json +375 -0
  47. package/payloads/community/rate-limit/burst-simulation.json +286 -0
  48. package/payloads/community/rate-limit/bypass-attempts.json +326 -0
  49. package/payloads/community/rate-limit/zone-tests.json +332 -0
  50. package/payloads/community/services/authentik.json +415 -0
  51. package/payloads/community/services/immich.json +423 -0
  52. package/payloads/community/services/n8n.json +366 -0
  53. package/payloads/community/sqli-basic.json +182 -0
  54. package/payloads/community/ssrf/cloud-metadata.json +999 -0
  55. package/payloads/community/ssrf/dns-rebinding.json +503 -0
  56. package/payloads/community/ssrf/internal-networks.json +627 -0
  57. package/payloads/community/ssrf/protocol-smuggling.json +350 -0
  58. package/payloads/community/ssti/multi-language-templates.json +191 -0
  59. package/payloads/community/ssti/python-templates.json +200 -0
  60. package/payloads/community/traversal/basic.json +675 -0
  61. package/payloads/community/traversal/cloud-credentials.json +107 -0
  62. package/payloads/community/traversal/config-files.json +193 -0
  63. package/payloads/community/traversal/encoding.json +558 -0
  64. package/payloads/community/traversal/null-byte.json +105 -0
  65. package/payloads/community/traversal/symlink.json +93 -0
  66. package/payloads/community/traversal/unicode.json +134 -0
  67. package/payloads/community/traversal/unix-advanced.json +195 -0
  68. package/payloads/community/traversal/windows-advanced.json +195 -0
  69. package/payloads/community/waf-bypass/cloudflare-bypass.json +102 -0
  70. package/payloads/community/waf-bypass/encoding-bypass.json +120 -0
  71. package/payloads/community/waf-bypass/evasion-techniques.json +164 -0
  72. package/payloads/community/waf-bypass/hpp-bypass.json +92 -0
  73. package/payloads/community/waf-bypass/modsecurity-crs.json +220 -0
  74. package/payloads/community/waf-bypass/protocol-attacks.json +101 -0
  75. package/payloads/community/waf-bypass/sqlmap-tamper.json +252 -0
  76. package/payloads/community/waf-bypass/unicode-charset.json +152 -0
  77. package/payloads/community/waf-bypass/vendor-bypasses.json +72 -0
  78. package/payloads/community/waf-validation/README.md +172 -0
  79. package/payloads/community/waf-validation/bypass-techniques.json +272 -0
  80. package/payloads/community/waf-validation/custom-rules.json +952 -0
  81. package/payloads/community/waf-validation/evasion-techniques.json +272 -0
  82. package/payloads/community/waf-validation/modsecurity-core.json +151 -0
  83. package/payloads/community/waf-validation/owasp-top10.json +236 -0
  84. package/payloads/community/waf-validation/regression-tests.json +227 -0
  85. package/payloads/community/xss/csp-bypass.json +431 -0
  86. package/payloads/community/xss/dom.json +389 -0
  87. package/payloads/community/xss/filter-bypass.json +1242 -0
  88. package/payloads/community/xss/mutation.json +263 -0
  89. package/payloads/community/xss/polyglots.json +371 -0
  90. package/payloads/community/xss/reflected.json +187 -0
  91. package/payloads/community/xss/stored.json +330 -0
  92. package/payloads/crlf-injection.json +182 -0
  93. package/payloads/ids-map.json +155 -0
  94. package/payloads/ldap-injection.json +182 -0
  95. package/payloads/nosql-injection.json +227 -0
  96. package/payloads/prototype-pollution.json +182 -0
  97. package/payloads/request-smuggling.json +182 -0
  98. package/payloads/version.json +28 -0
  99. package/payloads/xss-advanced.json +227 -0
  100. package/templates/README.md +221 -0
  101. package/templates/nuclei/http/waf-bypass/crlf-bypass.yaml +146 -0
  102. package/templates/nuclei/http/waf-bypass/lfi-bypass.yaml +152 -0
  103. package/templates/nuclei/http/waf-bypass/nosqli-bypass.yaml +166 -0
  104. package/templates/nuclei/http/waf-bypass/rce-bypass.yaml +171 -0
  105. package/templates/nuclei/http/waf-bypass/sqli-basic.yaml +142 -0
  106. package/templates/nuclei/http/waf-bypass/sqli-evasion.yaml +192 -0
  107. package/templates/nuclei/http/waf-bypass/ssrf-bypass.yaml +130 -0
  108. package/templates/nuclei/http/waf-bypass/ssti-bypass.yaml +147 -0
  109. package/templates/nuclei/http/waf-bypass/xss-basic.yaml +163 -0
  110. package/templates/nuclei/http/waf-bypass/xss-evasion.yaml +217 -0
  111. package/templates/nuclei/http/waf-bypass/xxe-bypass.yaml +204 -0
  112. package/templates/nuclei/http/waf-detection/akamai-detect.yaml +105 -0
  113. package/templates/nuclei/http/waf-detection/aws-waf-detect.yaml +115 -0
  114. package/templates/nuclei/http/waf-detection/azure-waf-detect.yaml +114 -0
  115. package/templates/nuclei/http/waf-detection/cloudflare-detect.yaml +121 -0
  116. package/templates/nuclei/http/waf-detection/modsecurity-detect.yaml +129 -0
  117. package/templates/nuclei/workflows/waf-assessment-workflow.yaml +71 -0
  118. package/templates/output/asff.tmpl +61 -0
  119. package/templates/output/csv.tmpl +4 -0
  120. package/templates/output/junit.tmpl +34 -0
  121. package/templates/output/markdown-report.tmpl +92 -0
  122. package/templates/output/slack-notification.tmpl +95 -0
  123. package/templates/output/text-summary.tmpl +56 -0
  124. package/templates/overrides/api-only.yaml +130 -0
  125. package/templates/overrides/crs-tuning.yaml +204 -0
  126. package/templates/overrides/false-positive-suppression.yaml +159 -0
  127. package/templates/policies/owasp-top10.yaml +152 -0
  128. package/templates/policies/pci-dss.yaml +124 -0
  129. package/templates/policies/permissive.yaml +40 -0
  130. package/templates/policies/standard.yaml +57 -0
  131. package/templates/policies/strict.yaml +72 -0
  132. package/templates/report-configs/compliance.yaml +173 -0
  133. package/templates/report-configs/dark.yaml +136 -0
  134. package/templates/report-configs/enterprise.yaml +175 -0
  135. package/templates/report-configs/minimal.yaml +84 -0
  136. package/templates/report-configs/print.yaml +139 -0
  137. package/templates/workflows/api-scan.yaml +132 -0
  138. package/templates/workflows/ci-gate.yaml +129 -0
  139. package/templates/workflows/full-scan.yaml +133 -0
  140. package/templates/workflows/quick-probe.yaml +80 -0
  141. package/templates/workflows/waf-detection.yaml +89 -0
@@ -0,0 +1,326 @@
1
+ [
2
+ {
3
+ "id": "RATE-BYPASS-001",
4
+ "payload": "/login",
5
+ "method": "POST",
6
+ "headers": {
7
+ "Content-Type": "application/json",
8
+ "Content-Length": "128",
9
+ "X-Forwarded-For": "192.168.1.100"
10
+ },
11
+ "tags": [
12
+ "rate-limit",
13
+ "bypass",
14
+ "xff-spoof",
15
+ "quick",
16
+ "high"
17
+ ],
18
+ "expected_block": false,
19
+ "severity_hint": "High",
20
+ "notes": "X-Forwarded-For spoofing to bypass rate limiting (should fail - realip validates source)",
21
+ "category": "RateLimit"
22
+ },
23
+ {
24
+ "id": "RATE-BYPASS-002",
25
+ "payload": "/login",
26
+ "method": "POST",
27
+ "headers": {
28
+ "Content-Type": "application/json",
29
+ "Content-Length": "128",
30
+ "X-Real-IP": "10.0.0.1"
31
+ },
32
+ "tags": [
33
+ "rate-limit",
34
+ "bypass",
35
+ "real-ip-spoof",
36
+ "high"
37
+ ],
38
+ "expected_block": false,
39
+ "severity_hint": "High",
40
+ "notes": "X-Real-IP spoofing attempt (should fail - realip validates source)",
41
+ "category": "RateLimit"
42
+ },
43
+ {
44
+ "id": "RATE-BYPASS-003",
45
+ "payload": "/login",
46
+ "method": "POST",
47
+ "headers": {
48
+ "Content-Type": "application/json",
49
+ "Content-Length": "128",
50
+ "CF-Connecting-IP": "1.1.1.1"
51
+ },
52
+ "tags": [
53
+ "rate-limit",
54
+ "bypass",
55
+ "cf-ip-spoof",
56
+ "quick",
57
+ "high"
58
+ ],
59
+ "expected_block": false,
60
+ "severity_hint": "High",
61
+ "notes": "CF-Connecting-IP spoofing (should fail - realip validates source)",
62
+ "category": "RateLimit"
63
+ },
64
+ {
65
+ "id": "RATE-BYPASS-004",
66
+ "payload": "/login",
67
+ "method": "POST",
68
+ "headers": {
69
+ "Content-Type": "application/json",
70
+ "Content-Length": "128",
71
+ "X-Forwarded-For": "1.1.1.1, 2.2.2.2, 3.3.3.3"
72
+ },
73
+ "tags": [
74
+ "rate-limit",
75
+ "bypass",
76
+ "xff-chain",
77
+ "high"
78
+ ],
79
+ "expected_block": false,
80
+ "severity_hint": "High",
81
+ "notes": "Multiple IPs in X-Forwarded-For (should use real IP)",
82
+ "category": "RateLimit"
83
+ },
84
+ {
85
+ "id": "RATE-BYPASS-005",
86
+ "payload": "/login",
87
+ "method": "POST",
88
+ "headers": {
89
+ "Content-Type": "application/json",
90
+ "Content-Length": "128",
91
+ "X-Forwarded-For": "127.0.0.1"
92
+ },
93
+ "tags": [
94
+ "rate-limit",
95
+ "bypass",
96
+ "localhost-spoof",
97
+ "quick",
98
+ "high"
99
+ ],
100
+ "expected_block": false,
101
+ "severity_hint": "High",
102
+ "notes": "Localhost IP spoofing in X-Forwarded-For",
103
+ "category": "RateLimit"
104
+ },
105
+ {
106
+ "id": "RATE-BYPASS-006",
107
+ "payload": "/login",
108
+ "method": "POST",
109
+ "headers": {
110
+ "Content-Type": "application/json",
111
+ "Content-Length": "128",
112
+ "Client-IP": "8.8.8.8"
113
+ },
114
+ "tags": [
115
+ "rate-limit",
116
+ "bypass",
117
+ "client-ip-header",
118
+ "medium"
119
+ ],
120
+ "expected_block": false,
121
+ "severity_hint": "Medium",
122
+ "notes": "Non-standard Client-IP header (should be ignored)",
123
+ "category": "RateLimit"
124
+ },
125
+ {
126
+ "id": "RATE-BYPASS-007",
127
+ "payload": "/login",
128
+ "method": "POST",
129
+ "headers": {
130
+ "Content-Type": "application/json",
131
+ "Content-Length": "128",
132
+ "X-Originating-IP": "9.9.9.9"
133
+ },
134
+ "tags": [
135
+ "rate-limit",
136
+ "bypass",
137
+ "originating-ip",
138
+ "quick",
139
+ "medium"
140
+ ],
141
+ "expected_block": false,
142
+ "severity_hint": "Medium",
143
+ "notes": "X-Originating-IP header (should be ignored)",
144
+ "category": "RateLimit"
145
+ },
146
+ {
147
+ "id": "RATE-BYPASS-008",
148
+ "payload": "/login",
149
+ "method": "POST",
150
+ "headers": {
151
+ "Content-Type": "application/json",
152
+ "Content-Length": "128",
153
+ "True-Client-IP": "10.10.10.10"
154
+ },
155
+ "tags": [
156
+ "rate-limit",
157
+ "bypass",
158
+ "true-client-ip",
159
+ "medium"
160
+ ],
161
+ "expected_block": false,
162
+ "severity_hint": "Medium",
163
+ "notes": "True-Client-IP header (should be ignored)",
164
+ "category": "RateLimit"
165
+ },
166
+ {
167
+ "id": "RATE-BYPASS-009",
168
+ "payload": "/login",
169
+ "method": "POST",
170
+ "headers": {
171
+ "Content-Type": "application/json",
172
+ "Content-Length": "128",
173
+ "X-Forwarded-For": ""
174
+ },
175
+ "tags": [
176
+ "rate-limit",
177
+ "bypass",
178
+ "empty-xff",
179
+ "quick",
180
+ "low"
181
+ ],
182
+ "expected_block": false,
183
+ "severity_hint": "Low",
184
+ "notes": "Empty X-Forwarded-For header (should use real connection IP)",
185
+ "category": "RateLimit"
186
+ },
187
+ {
188
+ "id": "RATE-BYPASS-010",
189
+ "payload": "/login",
190
+ "method": "POST",
191
+ "headers": {
192
+ "Content-Type": "application/json",
193
+ "Content-Length": "128",
194
+ "X-Forwarded-For": "null"
195
+ },
196
+ "tags": [
197
+ "rate-limit",
198
+ "bypass",
199
+ "null-xff",
200
+ "low"
201
+ ],
202
+ "expected_block": false,
203
+ "severity_hint": "Low",
204
+ "notes": "Literal 'null' in X-Forwarded-For",
205
+ "category": "RateLimit"
206
+ },
207
+ {
208
+ "id": "RATE-BYPASS-011",
209
+ "payload": "/login",
210
+ "method": "POST",
211
+ "headers": {
212
+ "Content-Type": "application/json",
213
+ "Content-Length": "128",
214
+ "X-Forwarded-For": "unknown"
215
+ },
216
+ "tags": [
217
+ "rate-limit",
218
+ "bypass",
219
+ "invalid-xff",
220
+ "quick",
221
+ "low"
222
+ ],
223
+ "expected_block": false,
224
+ "severity_hint": "Low",
225
+ "notes": "Invalid IP format in X-Forwarded-For",
226
+ "category": "RateLimit"
227
+ },
228
+ {
229
+ "id": "RATE-BYPASS-012",
230
+ "payload": "/login?cache_bust=1234567890",
231
+ "method": "POST",
232
+ "headers": {
233
+ "Content-Type": "application/json",
234
+ "Content-Length": "128"
235
+ },
236
+ "tags": [
237
+ "rate-limit",
238
+ "bypass",
239
+ "cache-bust",
240
+ "low"
241
+ ],
242
+ "expected_block": false,
243
+ "severity_hint": "Low",
244
+ "notes": "Cache-busting query parameter (rate limit is IP-based, not URL-based)",
245
+ "category": "RateLimit"
246
+ },
247
+ {
248
+ "id": "RATE-BYPASS-013",
249
+ "payload": "/LOGIN",
250
+ "method": "POST",
251
+ "headers": {
252
+ "Content-Type": "application/json",
253
+ "Content-Length": "128"
254
+ },
255
+ "tags": [
256
+ "rate-limit",
257
+ "bypass",
258
+ "case-manipulation",
259
+ "quick",
260
+ "medium"
261
+ ],
262
+ "expected_block": false,
263
+ "severity_hint": "Medium",
264
+ "notes": "Uppercase path (should match /login* pattern)",
265
+ "category": "RateLimit"
266
+ },
267
+ {
268
+ "id": "RATE-BYPASS-014",
269
+ "payload": "/login/../login",
270
+ "method": "POST",
271
+ "headers": {
272
+ "Content-Type": "application/json",
273
+ "Content-Length": "128"
274
+ },
275
+ "tags": [
276
+ "rate-limit",
277
+ "bypass",
278
+ "path-traversal",
279
+ "medium"
280
+ ],
281
+ "expected_block": true,
282
+ "severity_hint": "Medium",
283
+ "notes": "Path traversal to evade matcher (should be normalized and blocked by WAF)",
284
+ "category": "RateLimit"
285
+ },
286
+ {
287
+ "id": "RATE-BYPASS-015",
288
+ "payload": "/login",
289
+ "method": "POST",
290
+ "headers": {
291
+ "Content-Type": "application/json",
292
+ "Content-Length": "128",
293
+ "X-Forwarded-For": "::1"
294
+ },
295
+ "tags": [
296
+ "rate-limit",
297
+ "bypass",
298
+ "ipv6-spoof",
299
+ "quick",
300
+ "medium"
301
+ ],
302
+ "expected_block": false,
303
+ "severity_hint": "Medium",
304
+ "notes": "IPv6 localhost spoofing in X-Forwarded-For",
305
+ "category": "RateLimit"
306
+ },
307
+ {
308
+ "id": "RATE-BYPASS-016",
309
+ "payload": "/login%00",
310
+ "method": "POST",
311
+ "headers": {
312
+ "Content-Type": "application/json",
313
+ "Content-Length": "128"
314
+ },
315
+ "tags": [
316
+ "rate-limit",
317
+ "bypass",
318
+ "null-byte",
319
+ "high"
320
+ ],
321
+ "expected_block": true,
322
+ "severity_hint": "High",
323
+ "notes": "Null byte in path to evade matcher (should be blocked by WAF)",
324
+ "category": "RateLimit"
325
+ }
326
+ ]
@@ -0,0 +1,332 @@
1
+ [
2
+ {
3
+ "id": "RATE-ZONE-001",
4
+ "payload": "/rest/workflows",
5
+ "tags": [
6
+ "rate-limit",
7
+ "zone-api",
8
+ "quick",
9
+ "low"
10
+ ],
11
+ "expected_block": false,
12
+ "severity_hint": "Low",
13
+ "notes": "Test 'api' zone (1000 req/min limit on /rest/*)",
14
+ "category": "RateLimit"
15
+ },
16
+ {
17
+ "id": "RATE-ZONE-002",
18
+ "payload": "/api/assets",
19
+ "tags": [
20
+ "rate-limit",
21
+ "zone-api",
22
+ "quick",
23
+ "low"
24
+ ],
25
+ "expected_block": false,
26
+ "severity_hint": "Low",
27
+ "notes": "Test 'api' zone (1000 req/min limit on /api/*)",
28
+ "category": "RateLimit"
29
+ },
30
+ {
31
+ "id": "RATE-ZONE-003",
32
+ "payload": "/login",
33
+ "method": "POST",
34
+ "headers": {
35
+ "Content-Type": "application/json",
36
+ "Content-Length": "128"
37
+ },
38
+ "tags": [
39
+ "rate-limit",
40
+ "zone-auth-like",
41
+ "quick",
42
+ "low"
43
+ ],
44
+ "expected_block": false,
45
+ "severity_hint": "Low",
46
+ "notes": "Test 'auth_like' zone (10 req/min limit - strict)",
47
+ "category": "RateLimit"
48
+ },
49
+ {
50
+ "id": "RATE-ZONE-004",
51
+ "payload": "/auth/signin",
52
+ "method": "POST",
53
+ "headers": {
54
+ "Content-Type": "application/json",
55
+ "Content-Length": "256"
56
+ },
57
+ "tags": [
58
+ "rate-limit",
59
+ "zone-auth-like",
60
+ "brute-force-protection",
61
+ "low"
62
+ ],
63
+ "expected_block": false,
64
+ "severity_hint": "Low",
65
+ "notes": "Test 'auth_like' zone on /auth* path",
66
+ "category": "RateLimit"
67
+ },
68
+ {
69
+ "id": "RATE-ZONE-005",
70
+ "payload": "/token",
71
+ "method": "POST",
72
+ "headers": {
73
+ "Content-Type": "application/json",
74
+ "Content-Length": "512"
75
+ },
76
+ "tags": [
77
+ "rate-limit",
78
+ "zone-auth-like",
79
+ "quick",
80
+ "low"
81
+ ],
82
+ "expected_block": false,
83
+ "severity_hint": "Low",
84
+ "notes": "Test 'auth_like' zone on /token* path",
85
+ "category": "RateLimit"
86
+ },
87
+ {
88
+ "id": "RATE-ZONE-006",
89
+ "payload": "/api/assets/stream.mp4",
90
+ "headers": {
91
+ "Range": "bytes=0-1024"
92
+ },
93
+ "tags": [
94
+ "rate-limit",
95
+ "zone-streaming",
96
+ "quick",
97
+ "low"
98
+ ],
99
+ "expected_block": false,
100
+ "severity_hint": "Low",
101
+ "notes": "Test 'streaming' zone (1000 req/min for Range requests)",
102
+ "category": "RateLimit"
103
+ },
104
+ {
105
+ "id": "RATE-ZONE-007",
106
+ "payload": "/api/assets/upload",
107
+ "method": "POST",
108
+ "headers": {
109
+ "Content-Length": "10485760"
110
+ },
111
+ "tags": [
112
+ "rate-limit",
113
+ "zone-uploads",
114
+ "large-file",
115
+ "low"
116
+ ],
117
+ "expected_block": false,
118
+ "severity_hint": "Low",
119
+ "notes": "Test 'uploads' zone (100 req/min for >1MB uploads)",
120
+ "category": "RateLimit"
121
+ },
122
+ {
123
+ "id": "RATE-ZONE-008",
124
+ "payload": "/icons/favicon.ico",
125
+ "tags": [
126
+ "rate-limit",
127
+ "zone-static-assets",
128
+ "quick",
129
+ "low"
130
+ ],
131
+ "expected_block": false,
132
+ "severity_hint": "Low",
133
+ "notes": "Test 'static_assets' zone (10,000 req/min)",
134
+ "category": "RateLimit"
135
+ },
136
+ {
137
+ "id": "RATE-ZONE-009",
138
+ "payload": "/style.css",
139
+ "tags": [
140
+ "rate-limit",
141
+ "zone-static-assets",
142
+ "quick",
143
+ "low"
144
+ ],
145
+ "expected_block": false,
146
+ "severity_hint": "Low",
147
+ "notes": "Test 'static_assets' zone for CSS files",
148
+ "category": "RateLimit"
149
+ },
150
+ {
151
+ "id": "RATE-ZONE-010",
152
+ "payload": "/",
153
+ "tags": [
154
+ "rate-limit",
155
+ "zone-general",
156
+ "quick",
157
+ "low"
158
+ ],
159
+ "expected_block": false,
160
+ "severity_hint": "Low",
161
+ "notes": "Test 'general' zone (360 req/min = 6 req/sec)",
162
+ "category": "RateLimit"
163
+ },
164
+ {
165
+ "id": "RATE-ZONE-011",
166
+ "payload": "/password/reset",
167
+ "method": "POST",
168
+ "headers": {
169
+ "Content-Type": "application/json",
170
+ "Content-Length": "64"
171
+ },
172
+ "tags": [
173
+ "rate-limit",
174
+ "zone-auth-like",
175
+ "password-reset",
176
+ "low"
177
+ ],
178
+ "expected_block": false,
179
+ "severity_hint": "Low",
180
+ "notes": "Test 'auth_like' zone on /password* path",
181
+ "category": "RateLimit"
182
+ },
183
+ {
184
+ "id": "RATE-ZONE-012",
185
+ "payload": "/signup",
186
+ "method": "POST",
187
+ "headers": {
188
+ "Content-Type": "application/json",
189
+ "Content-Length": "200"
190
+ },
191
+ "tags": [
192
+ "rate-limit",
193
+ "zone-auth-like",
194
+ "registration",
195
+ "quick",
196
+ "low"
197
+ ],
198
+ "expected_block": false,
199
+ "severity_hint": "Low",
200
+ "notes": "Test 'auth_like' zone on /signup* path",
201
+ "category": "RateLimit"
202
+ },
203
+ {
204
+ "id": "RATE-ZONE-013",
205
+ "payload": "/register",
206
+ "method": "POST",
207
+ "headers": {
208
+ "Content-Type": "application/json",
209
+ "Content-Length": "180"
210
+ },
211
+ "tags": [
212
+ "rate-limit",
213
+ "zone-auth-like",
214
+ "registration",
215
+ "low"
216
+ ],
217
+ "expected_block": false,
218
+ "severity_hint": "Low",
219
+ "notes": "Test 'auth_like' zone on /register* path",
220
+ "category": "RateLimit"
221
+ },
222
+ {
223
+ "id": "RATE-ZONE-014",
224
+ "payload": "/health",
225
+ "tags": [
226
+ "rate-limit",
227
+ "excluded",
228
+ "health-check",
229
+ "quick",
230
+ "low"
231
+ ],
232
+ "expected_block": false,
233
+ "severity_hint": "Low",
234
+ "notes": "Verify /health is excluded from rate limiting",
235
+ "category": "RateLimit"
236
+ },
237
+ {
238
+ "id": "RATE-ZONE-015",
239
+ "payload": "/api/socket.io/",
240
+ "headers": {
241
+ "Connection": "Upgrade",
242
+ "Upgrade": "websocket"
243
+ },
244
+ "tags": [
245
+ "rate-limit",
246
+ "excluded",
247
+ "websocket",
248
+ "low"
249
+ ],
250
+ "expected_block": false,
251
+ "severity_hint": "Low",
252
+ "notes": "Verify WebSocket connections excluded from rate limiting",
253
+ "category": "RateLimit"
254
+ },
255
+ {
256
+ "id": "RATE-ZONE-016",
257
+ "payload": "/rest/executions",
258
+ "tags": [
259
+ "rate-limit",
260
+ "zone-api",
261
+ "n8n",
262
+ "quick",
263
+ "low"
264
+ ],
265
+ "expected_block": false,
266
+ "severity_hint": "Low",
267
+ "notes": "Test 'api' zone for n8n executions endpoint",
268
+ "category": "RateLimit"
269
+ },
270
+ {
271
+ "id": "RATE-ZONE-017",
272
+ "payload": "/api/search/metadata",
273
+ "tags": [
274
+ "rate-limit",
275
+ "zone-api",
276
+ "immich",
277
+ "low"
278
+ ],
279
+ "expected_block": false,
280
+ "severity_hint": "Low",
281
+ "notes": "Test 'api' zone for Immich search endpoint",
282
+ "category": "RateLimit"
283
+ },
284
+ {
285
+ "id": "RATE-ZONE-018",
286
+ "payload": "/application/saml/",
287
+ "tags": [
288
+ "rate-limit",
289
+ "zone-general",
290
+ "authentik",
291
+ "quick",
292
+ "low"
293
+ ],
294
+ "expected_block": false,
295
+ "severity_hint": "Low",
296
+ "notes": "Test 'general' zone for Authentik SAML paths",
297
+ "category": "RateLimit"
298
+ },
299
+ {
300
+ "id": "RATE-ZONE-019",
301
+ "payload": "/signin",
302
+ "method": "POST",
303
+ "headers": {
304
+ "Content-Type": "application/json",
305
+ "Content-Length": "100"
306
+ },
307
+ "tags": [
308
+ "rate-limit",
309
+ "zone-auth-like",
310
+ "quick",
311
+ "low"
312
+ ],
313
+ "expected_block": false,
314
+ "severity_hint": "Low",
315
+ "notes": "Test 'auth_like' zone on /signin* path",
316
+ "category": "RateLimit"
317
+ },
318
+ {
319
+ "id": "RATE-ZONE-020",
320
+ "payload": "/image.png",
321
+ "tags": [
322
+ "rate-limit",
323
+ "zone-static-assets",
324
+ "quick",
325
+ "low"
326
+ ],
327
+ "expected_block": false,
328
+ "severity_hint": "Low",
329
+ "notes": "Test 'static_assets' zone for PNG files",
330
+ "category": "RateLimit"
331
+ }
332
+ ]