@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.
- package/LICENSE +80 -0
- package/LICENSE-COMMUNITY +28 -0
- package/README.md +121 -0
- package/bin/cli.js +152 -0
- package/package.json +52 -0
- package/payloads/community/README.md +45 -0
- package/payloads/community/ai/ml-poisoning.json +173 -0
- package/payloads/community/ai/prompt-injection.json +247 -0
- package/payloads/community/ai/workflow-abuse.json +222 -0
- package/payloads/community/auth/jwt.json +855 -0
- package/payloads/community/auth/login-bypass.json +623 -0
- package/payloads/community/auth/mfa.json +402 -0
- package/payloads/community/auth/oauth.json +421 -0
- package/payloads/community/auth/open-redirect.json +1028 -0
- package/payloads/community/auth/session.json +404 -0
- package/payloads/community/cache/deception.json +402 -0
- package/payloads/community/cache/poisoning.json +403 -0
- package/payloads/community/deserialization/gadget.json +375 -0
- package/payloads/community/deserialization/prototype.json +370 -0
- package/payloads/community/fuzz/content-type.json +397 -0
- package/payloads/community/fuzz/headers.json +401 -0
- package/payloads/community/fuzz/methods.json +397 -0
- package/payloads/community/fuzz/obfuscation.json +362 -0
- package/payloads/community/fuzz/special-chars.json +740 -0
- package/payloads/community/fuzz/waf-bypass.json +452 -0
- package/payloads/community/graphql/batching-abuse.json +271 -0
- package/payloads/community/graphql/depth-limit.json +271 -0
- package/payloads/community/graphql/introspection.json +267 -0
- package/payloads/community/injection/crlf.json +569 -0
- package/payloads/community/injection/ldap.json +357 -0
- package/payloads/community/injection/nosqli.json +529 -0
- package/payloads/community/injection/oscmd.json +662 -0
- package/payloads/community/injection/rce-polyglots.json +452 -0
- package/payloads/community/injection/sqli.json +681 -0
- package/payloads/community/injection/ssti.json +584 -0
- package/payloads/community/injection/upload-attacks.json +632 -0
- package/payloads/community/injection/xpath.json +357 -0
- package/payloads/community/injection/xxe.json +716 -0
- package/payloads/community/logic/forced-browsing.json +405 -0
- package/payloads/community/logic/idor.json +1026 -0
- package/payloads/community/logic/privilege.json +337 -0
- package/payloads/community/media/exif-injection.json +225 -0
- package/payloads/community/media/metadata-poison.json +239 -0
- package/payloads/community/protocol/http-smuggling.json +798 -0
- package/payloads/community/protocol/http2-attacks.json +382 -0
- package/payloads/community/protocol/websocket-abuse.json +375 -0
- package/payloads/community/rate-limit/burst-simulation.json +286 -0
- package/payloads/community/rate-limit/bypass-attempts.json +326 -0
- package/payloads/community/rate-limit/zone-tests.json +332 -0
- package/payloads/community/services/authentik.json +415 -0
- package/payloads/community/services/immich.json +423 -0
- package/payloads/community/services/n8n.json +366 -0
- package/payloads/community/sqli-basic.json +182 -0
- package/payloads/community/ssrf/cloud-metadata.json +999 -0
- package/payloads/community/ssrf/dns-rebinding.json +503 -0
- package/payloads/community/ssrf/internal-networks.json +627 -0
- package/payloads/community/ssrf/protocol-smuggling.json +350 -0
- package/payloads/community/ssti/multi-language-templates.json +191 -0
- package/payloads/community/ssti/python-templates.json +200 -0
- package/payloads/community/traversal/basic.json +675 -0
- package/payloads/community/traversal/cloud-credentials.json +107 -0
- package/payloads/community/traversal/config-files.json +193 -0
- package/payloads/community/traversal/encoding.json +558 -0
- package/payloads/community/traversal/null-byte.json +105 -0
- package/payloads/community/traversal/symlink.json +93 -0
- package/payloads/community/traversal/unicode.json +134 -0
- package/payloads/community/traversal/unix-advanced.json +195 -0
- package/payloads/community/traversal/windows-advanced.json +195 -0
- package/payloads/community/waf-bypass/cloudflare-bypass.json +102 -0
- package/payloads/community/waf-bypass/encoding-bypass.json +120 -0
- package/payloads/community/waf-bypass/evasion-techniques.json +164 -0
- package/payloads/community/waf-bypass/hpp-bypass.json +92 -0
- package/payloads/community/waf-bypass/modsecurity-crs.json +220 -0
- package/payloads/community/waf-bypass/protocol-attacks.json +101 -0
- package/payloads/community/waf-bypass/sqlmap-tamper.json +252 -0
- package/payloads/community/waf-bypass/unicode-charset.json +152 -0
- package/payloads/community/waf-bypass/vendor-bypasses.json +72 -0
- package/payloads/community/waf-validation/README.md +172 -0
- package/payloads/community/waf-validation/bypass-techniques.json +272 -0
- package/payloads/community/waf-validation/custom-rules.json +952 -0
- package/payloads/community/waf-validation/evasion-techniques.json +272 -0
- package/payloads/community/waf-validation/modsecurity-core.json +151 -0
- package/payloads/community/waf-validation/owasp-top10.json +236 -0
- package/payloads/community/waf-validation/regression-tests.json +227 -0
- package/payloads/community/xss/csp-bypass.json +431 -0
- package/payloads/community/xss/dom.json +389 -0
- package/payloads/community/xss/filter-bypass.json +1242 -0
- package/payloads/community/xss/mutation.json +263 -0
- package/payloads/community/xss/polyglots.json +371 -0
- package/payloads/community/xss/reflected.json +187 -0
- package/payloads/community/xss/stored.json +330 -0
- package/payloads/crlf-injection.json +182 -0
- package/payloads/ids-map.json +155 -0
- package/payloads/ldap-injection.json +182 -0
- package/payloads/nosql-injection.json +227 -0
- package/payloads/prototype-pollution.json +182 -0
- package/payloads/request-smuggling.json +182 -0
- package/payloads/version.json +28 -0
- package/payloads/xss-advanced.json +227 -0
- package/templates/README.md +221 -0
- package/templates/nuclei/http/waf-bypass/crlf-bypass.yaml +146 -0
- package/templates/nuclei/http/waf-bypass/lfi-bypass.yaml +152 -0
- package/templates/nuclei/http/waf-bypass/nosqli-bypass.yaml +166 -0
- package/templates/nuclei/http/waf-bypass/rce-bypass.yaml +171 -0
- package/templates/nuclei/http/waf-bypass/sqli-basic.yaml +142 -0
- package/templates/nuclei/http/waf-bypass/sqli-evasion.yaml +192 -0
- package/templates/nuclei/http/waf-bypass/ssrf-bypass.yaml +130 -0
- package/templates/nuclei/http/waf-bypass/ssti-bypass.yaml +147 -0
- package/templates/nuclei/http/waf-bypass/xss-basic.yaml +163 -0
- package/templates/nuclei/http/waf-bypass/xss-evasion.yaml +217 -0
- package/templates/nuclei/http/waf-bypass/xxe-bypass.yaml +204 -0
- package/templates/nuclei/http/waf-detection/akamai-detect.yaml +105 -0
- package/templates/nuclei/http/waf-detection/aws-waf-detect.yaml +115 -0
- package/templates/nuclei/http/waf-detection/azure-waf-detect.yaml +114 -0
- package/templates/nuclei/http/waf-detection/cloudflare-detect.yaml +121 -0
- package/templates/nuclei/http/waf-detection/modsecurity-detect.yaml +129 -0
- package/templates/nuclei/workflows/waf-assessment-workflow.yaml +71 -0
- package/templates/output/asff.tmpl +61 -0
- package/templates/output/csv.tmpl +4 -0
- package/templates/output/junit.tmpl +34 -0
- package/templates/output/markdown-report.tmpl +92 -0
- package/templates/output/slack-notification.tmpl +95 -0
- package/templates/output/text-summary.tmpl +56 -0
- package/templates/overrides/api-only.yaml +130 -0
- package/templates/overrides/crs-tuning.yaml +204 -0
- package/templates/overrides/false-positive-suppression.yaml +159 -0
- package/templates/policies/owasp-top10.yaml +152 -0
- package/templates/policies/pci-dss.yaml +124 -0
- package/templates/policies/permissive.yaml +40 -0
- package/templates/policies/standard.yaml +57 -0
- package/templates/policies/strict.yaml +72 -0
- package/templates/report-configs/compliance.yaml +173 -0
- package/templates/report-configs/dark.yaml +136 -0
- package/templates/report-configs/enterprise.yaml +175 -0
- package/templates/report-configs/minimal.yaml +84 -0
- package/templates/report-configs/print.yaml +139 -0
- package/templates/workflows/api-scan.yaml +132 -0
- package/templates/workflows/ci-gate.yaml +129 -0
- package/templates/workflows/full-scan.yaml +133 -0
- package/templates/workflows/quick-probe.yaml +80 -0
- package/templates/workflows/waf-detection.yaml +89 -0
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "GQL-INTRO-001",
|
|
4
|
+
"payload": "{\"query\": \"{ __schema { types { name } } }\"}",
|
|
5
|
+
"tags": [
|
|
6
|
+
"introspection",
|
|
7
|
+
"schema",
|
|
8
|
+
"quick",
|
|
9
|
+
"critical"
|
|
10
|
+
],
|
|
11
|
+
"expected_block": true,
|
|
12
|
+
"severity_hint": "Critical",
|
|
13
|
+
"notes": "Standard introspection query for schema types",
|
|
14
|
+
"destructive": false,
|
|
15
|
+
"category": "GraphQL"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"id": "GQL-INTRO-002",
|
|
19
|
+
"payload": "{\"query\": \"{ __type(name: \\\"User\\\") { name fields { name type { name } } } }\"}",
|
|
20
|
+
"tags": [
|
|
21
|
+
"introspection",
|
|
22
|
+
"type-query",
|
|
23
|
+
"quick"
|
|
24
|
+
],
|
|
25
|
+
"expected_block": true,
|
|
26
|
+
"severity_hint": "Critical",
|
|
27
|
+
"notes": "Introspection for specific type structure",
|
|
28
|
+
"destructive": false,
|
|
29
|
+
"category": "GraphQL"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"id": "GQL-INTRO-003",
|
|
33
|
+
"payload": "{\"query\": \"query IntrospectionQuery { __schema { queryType { name } mutationType { name } subscriptionType { name } types { ...FullType } directives { name description locations args { ...InputValue } } } } fragment FullType on __Type { kind name description fields(includeDeprecated: true) { name description args { ...InputValue } type { ...TypeRef } isDeprecated deprecationReason } inputFields { ...InputValue } interfaces { ...TypeRef } enumValues(includeDeprecated: true) { name description isDeprecated deprecationReason } possibleTypes { ...TypeRef } } fragment InputValue on __InputValue { name description type { ...TypeRef } defaultValue } fragment TypeRef on __Type { kind name ofType { kind name ofType { kind name ofType { kind name ofType { kind name ofType { kind name ofType { kind name ofType { kind name } } } } } } } }\"}",
|
|
34
|
+
"tags": [
|
|
35
|
+
"introspection",
|
|
36
|
+
"full-schema",
|
|
37
|
+
"quick",
|
|
38
|
+
"critical"
|
|
39
|
+
],
|
|
40
|
+
"expected_block": true,
|
|
41
|
+
"severity_hint": "Critical",
|
|
42
|
+
"notes": "Complete GraphQL introspection query (GraphiQL/Altair default)",
|
|
43
|
+
"destructive": false,
|
|
44
|
+
"category": "GraphQL"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"id": "GQL-INTRO-004",
|
|
48
|
+
"payload": "{\"query\": \"{ __schema { mutationType { fields { name } } } }\"}",
|
|
49
|
+
"tags": [
|
|
50
|
+
"introspection",
|
|
51
|
+
"mutations"
|
|
52
|
+
],
|
|
53
|
+
"expected_block": true,
|
|
54
|
+
"severity_hint": "Critical",
|
|
55
|
+
"notes": "Introspection for available mutations",
|
|
56
|
+
"destructive": false,
|
|
57
|
+
"category": "GraphQL"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": "GQL-INTRO-005",
|
|
61
|
+
"payload": "{\"query\": \"{ __schema { subscriptionType { fields { name } } } }\"}",
|
|
62
|
+
"tags": [
|
|
63
|
+
"introspection",
|
|
64
|
+
"subscriptions"
|
|
65
|
+
],
|
|
66
|
+
"expected_block": true,
|
|
67
|
+
"severity_hint": "High",
|
|
68
|
+
"notes": "Introspection for subscription endpoints",
|
|
69
|
+
"destructive": false,
|
|
70
|
+
"category": "GraphQL"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"id": "GQL-INTRO-006",
|
|
74
|
+
"payload": "{\"query\": \"{ __schema { directives { name args { name } } } }\"}",
|
|
75
|
+
"tags": [
|
|
76
|
+
"introspection",
|
|
77
|
+
"directives"
|
|
78
|
+
],
|
|
79
|
+
"expected_block": true,
|
|
80
|
+
"severity_hint": "High",
|
|
81
|
+
"notes": "Introspection for available directives",
|
|
82
|
+
"destructive": false,
|
|
83
|
+
"category": "GraphQL"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"id": "GQL-INTRO-007",
|
|
87
|
+
"payload": "{\"query\": \"query { \\n__schema { \\ntypes { \\nname \\n} \\n} \\n}\"}",
|
|
88
|
+
"tags": [
|
|
89
|
+
"introspection",
|
|
90
|
+
"whitespace-obfuscation"
|
|
91
|
+
],
|
|
92
|
+
"expected_block": true,
|
|
93
|
+
"severity_hint": "Critical",
|
|
94
|
+
"notes": "Introspection with newline obfuscation",
|
|
95
|
+
"destructive": false,
|
|
96
|
+
"category": "GraphQL"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"id": "GQL-INTRO-008",
|
|
100
|
+
"payload": "{\"query\": \"{__schema{types{name}}}\"}",
|
|
101
|
+
"tags": [
|
|
102
|
+
"introspection",
|
|
103
|
+
"no-whitespace"
|
|
104
|
+
],
|
|
105
|
+
"expected_block": true,
|
|
106
|
+
"severity_hint": "Critical",
|
|
107
|
+
"notes": "Introspection without any whitespace",
|
|
108
|
+
"destructive": false,
|
|
109
|
+
"category": "GraphQL"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"id": "GQL-INTRO-009",
|
|
113
|
+
"payload": "{\"query\": \"query { __type(name: \\\"Query\\\") { fields { name type { name kind } } } }\"}",
|
|
114
|
+
"tags": [
|
|
115
|
+
"introspection",
|
|
116
|
+
"query-type"
|
|
117
|
+
],
|
|
118
|
+
"expected_block": true,
|
|
119
|
+
"severity_hint": "Critical",
|
|
120
|
+
"notes": "Introspection for root Query type fields",
|
|
121
|
+
"destructive": false,
|
|
122
|
+
"category": "GraphQL"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"id": "GQL-INTRO-010",
|
|
126
|
+
"payload": "{\"query\": \"{ __type(name: \\\"Mutation\\\") { fields { name args { name type { name } } } } }\"}",
|
|
127
|
+
"tags": [
|
|
128
|
+
"introspection",
|
|
129
|
+
"mutation-args"
|
|
130
|
+
],
|
|
131
|
+
"expected_block": true,
|
|
132
|
+
"severity_hint": "Critical",
|
|
133
|
+
"notes": "Introspection for mutation arguments",
|
|
134
|
+
"destructive": false,
|
|
135
|
+
"category": "GraphQL"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"id": "GQL-INTRO-011",
|
|
139
|
+
"payload": "{\"query\": \"fragment TypeFields on __Type { name fields { name } } query { __schema { types { ...TypeFields } } }\"}",
|
|
140
|
+
"tags": [
|
|
141
|
+
"introspection",
|
|
142
|
+
"fragments"
|
|
143
|
+
],
|
|
144
|
+
"expected_block": true,
|
|
145
|
+
"severity_hint": "Critical",
|
|
146
|
+
"notes": "Introspection using fragments",
|
|
147
|
+
"destructive": false,
|
|
148
|
+
"category": "GraphQL"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"id": "GQL-INTRO-012",
|
|
152
|
+
"payload": "{\"query\": \"{ __type(name: \\\"__Schema\\\") { fields { name } } }\"}",
|
|
153
|
+
"tags": [
|
|
154
|
+
"introspection",
|
|
155
|
+
"meta-type"
|
|
156
|
+
],
|
|
157
|
+
"expected_block": true,
|
|
158
|
+
"severity_hint": "High",
|
|
159
|
+
"notes": "Introspection on meta-types",
|
|
160
|
+
"destructive": false,
|
|
161
|
+
"category": "GraphQL"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"id": "GQL-INTRO-013",
|
|
165
|
+
"payload": "{\"query\": \"query { __typename }\"}",
|
|
166
|
+
"tags": [
|
|
167
|
+
"introspection",
|
|
168
|
+
"typename"
|
|
169
|
+
],
|
|
170
|
+
"expected_block": true,
|
|
171
|
+
"severity_hint": "Medium",
|
|
172
|
+
"notes": "Query for __typename (type name introspection)",
|
|
173
|
+
"destructive": false,
|
|
174
|
+
"category": "GraphQL"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"id": "GQL-INTRO-014",
|
|
178
|
+
"payload": "{\"query\": \"{ __schema { types { name fields { name type { name kind ofType { name kind } } } } } }\"}",
|
|
179
|
+
"tags": [
|
|
180
|
+
"introspection",
|
|
181
|
+
"deep-type-info"
|
|
182
|
+
],
|
|
183
|
+
"expected_block": true,
|
|
184
|
+
"severity_hint": "Critical",
|
|
185
|
+
"notes": "Deep introspection with nested type information",
|
|
186
|
+
"destructive": false,
|
|
187
|
+
"category": "GraphQL"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"id": "GQL-INTRO-015",
|
|
191
|
+
"payload": "{\"query\": \"{ __schema { types(includeDeprecated: true) { name isDeprecated deprecationReason } } }\"}",
|
|
192
|
+
"tags": [
|
|
193
|
+
"introspection",
|
|
194
|
+
"deprecated"
|
|
195
|
+
],
|
|
196
|
+
"expected_block": true,
|
|
197
|
+
"severity_hint": "High",
|
|
198
|
+
"notes": "Introspection including deprecated fields",
|
|
199
|
+
"destructive": false,
|
|
200
|
+
"category": "GraphQL"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"id": "GQL-INTRO-016",
|
|
204
|
+
"payload": "{\"query\": \"{ __type(name: \\\"String\\\") { kind } }\"}",
|
|
205
|
+
"tags": [
|
|
206
|
+
"introspection",
|
|
207
|
+
"scalar-types"
|
|
208
|
+
],
|
|
209
|
+
"expected_block": true,
|
|
210
|
+
"severity_hint": "Low",
|
|
211
|
+
"notes": "Introspection for scalar types",
|
|
212
|
+
"destructive": false,
|
|
213
|
+
"category": "GraphQL"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"id": "GQL-INTRO-017",
|
|
217
|
+
"payload": "{\"query\": \"query\\u0020{\\u0020__schema\\u0020{\\u0020types\\u0020{\\u0020name\\u0020}\\u0020}\\u0020}\"}",
|
|
218
|
+
"tags": [
|
|
219
|
+
"introspection",
|
|
220
|
+
"unicode-obfuscation"
|
|
221
|
+
],
|
|
222
|
+
"expected_block": true,
|
|
223
|
+
"severity_hint": "Critical",
|
|
224
|
+
"notes": "Introspection with Unicode space characters (U+0020)",
|
|
225
|
+
"destructive": false,
|
|
226
|
+
"category": "GraphQL"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"id": "GQL-INTRO-018",
|
|
230
|
+
"payload": "{\"query\": \"{ __schema @skip(if: false) { types { name } } }\"}",
|
|
231
|
+
"tags": [
|
|
232
|
+
"introspection",
|
|
233
|
+
"directive-abuse"
|
|
234
|
+
],
|
|
235
|
+
"expected_block": true,
|
|
236
|
+
"severity_hint": "High",
|
|
237
|
+
"notes": "Introspection with @skip directive",
|
|
238
|
+
"destructive": false,
|
|
239
|
+
"category": "GraphQL"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"id": "GQL-INTRO-019",
|
|
243
|
+
"payload": "{\"query\": \"{ __schema @include(if: true) { types { name } } }\"}",
|
|
244
|
+
"tags": [
|
|
245
|
+
"introspection",
|
|
246
|
+
"directive-abuse"
|
|
247
|
+
],
|
|
248
|
+
"expected_block": true,
|
|
249
|
+
"severity_hint": "High",
|
|
250
|
+
"notes": "Introspection with @include directive",
|
|
251
|
+
"destructive": false,
|
|
252
|
+
"category": "GraphQL"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"id": "GQL-INTRO-020",
|
|
256
|
+
"payload": "{\"query\": \"query GetSchema { __schema { types { name } } }\", \"operationName\": \"GetSchema\"}",
|
|
257
|
+
"tags": [
|
|
258
|
+
"introspection",
|
|
259
|
+
"named-operation"
|
|
260
|
+
],
|
|
261
|
+
"expected_block": true,
|
|
262
|
+
"severity_hint": "Critical",
|
|
263
|
+
"notes": "Named operation introspection query",
|
|
264
|
+
"destructive": false,
|
|
265
|
+
"category": "GraphQL"
|
|
266
|
+
}
|
|
267
|
+
]
|