@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,403 @@
1
+ [
2
+ {
3
+ "id": "CACHE-POISON-001",
4
+ "payload": "GET /api/data HTTP/1.1\r\nHost: target.com\r\nX-Forwarded-Proto: https\r\nX-Forwarded-Proto: http\r\n\r\n",
5
+ "tags": [
6
+ "cache-poisoning",
7
+ "duplicate-headers",
8
+ "quick",
9
+ "critical"
10
+ ],
11
+ "expected_block": true,
12
+ "severity_hint": "Critical",
13
+ "notes": "Duplicate X-Forwarded-Proto header to poison cache key",
14
+ "destructive": false,
15
+ "category": "Cache"
16
+ },
17
+ {
18
+ "id": "CACHE-POISON-002",
19
+ "payload": "GET /api/data HTTP/1.1\r\nHost: target.com\r\nX-FORWARDED-PROTO: javascript:alert(1)\r\n\r\n",
20
+ "tags": [
21
+ "cache-poisoning",
22
+ "header-case",
23
+ "quick"
24
+ ],
25
+ "expected_block": true,
26
+ "severity_hint": "High",
27
+ "notes": "Case variation of X-Forwarded-Proto with malicious value",
28
+ "destructive": false,
29
+ "category": "Cache"
30
+ },
31
+ {
32
+ "id": "CACHE-POISON-003",
33
+ "payload": "GET /api/data HTTP/1.1\r\nHost: target.com\r\nAccept-Encoding: gzip\r\nAccept-Encoding: identity, <script>alert(1)</script>\r\n\r\n",
34
+ "tags": [
35
+ "cache-poisoning",
36
+ "accept-encoding"
37
+ ],
38
+ "expected_block": true,
39
+ "severity_hint": "High",
40
+ "notes": "Duplicate Accept-Encoding with XSS payload",
41
+ "destructive": false,
42
+ "category": "Cache"
43
+ },
44
+ {
45
+ "id": "CACHE-POISON-004",
46
+ "payload": "GET /api/data HTTP/1.1\r\nHost: target.com\r\nX-Original-URL: /admin/delete\r\n\r\n",
47
+ "tags": [
48
+ "cache-poisoning",
49
+ "unkeyed-header",
50
+ "critical"
51
+ ],
52
+ "expected_block": true,
53
+ "severity_hint": "Critical",
54
+ "notes": "X-Original-URL unkeyed header to poison cache with different route",
55
+ "destructive": false,
56
+ "category": "Cache"
57
+ },
58
+ {
59
+ "id": "CACHE-POISON-005",
60
+ "payload": "GET /api/data HTTP/1.1\r\nHost: target.com\r\nX-Rewrite-URL: /../admin\r\n\r\n",
61
+ "tags": [
62
+ "cache-poisoning",
63
+ "unkeyed-header"
64
+ ],
65
+ "expected_block": true,
66
+ "severity_hint": "High",
67
+ "notes": "X-Rewrite-URL with path traversal",
68
+ "destructive": false,
69
+ "category": "Cache"
70
+ },
71
+ {
72
+ "id": "CACHE-POISON-006",
73
+ "payload": "GET /api/data?callback=alert(1) HTTP/1.1\r\nHost: target.com\r\n\r\n",
74
+ "tags": [
75
+ "cache-poisoning",
76
+ "query-param",
77
+ "quick"
78
+ ],
79
+ "expected_block": true,
80
+ "severity_hint": "High",
81
+ "notes": "JSONP callback parameter with XSS payload",
82
+ "destructive": false,
83
+ "category": "Cache"
84
+ },
85
+ {
86
+ "id": "CACHE-POISON-007",
87
+ "payload": "GET /api/data HTTP/1.1\r\nHost: target.com\r\nX-Forwarded-Host: evil.com\r\n\r\n",
88
+ "tags": [
89
+ "cache-poisoning",
90
+ "host-header",
91
+ "critical"
92
+ ],
93
+ "expected_block": true,
94
+ "severity_hint": "Critical",
95
+ "notes": "X-Forwarded-Host poisoning to inject evil domain",
96
+ "destructive": false,
97
+ "category": "Cache"
98
+ },
99
+ {
100
+ "id": "CACHE-POISON-008",
101
+ "payload": "GET /api/data HTTP/1.1\r\nHost: target.com\r\nX-Forwarded-Scheme: javascript\r\n\r\n",
102
+ "tags": [
103
+ "cache-poisoning",
104
+ "scheme-injection"
105
+ ],
106
+ "expected_block": true,
107
+ "severity_hint": "High",
108
+ "notes": "X-Forwarded-Scheme with javascript protocol",
109
+ "destructive": false,
110
+ "category": "Cache"
111
+ },
112
+ {
113
+ "id": "CACHE-POISON-009",
114
+ "payload": "GET /api/data HTTP/1.1\r\nHost: target.com\r\nX-HTTP-Method-Override: DELETE\r\n\r\n",
115
+ "tags": [
116
+ "cache-poisoning",
117
+ "method-override",
118
+ "critical"
119
+ ],
120
+ "expected_block": true,
121
+ "severity_hint": "Critical",
122
+ "notes": "Method override header to poison cache with DELETE semantics",
123
+ "destructive": false,
124
+ "category": "Cache"
125
+ },
126
+ {
127
+ "id": "CACHE-POISON-010",
128
+ "payload": "GET /api/data HTTP/1.1\r\nHost: target.com\r\nX-Method-Override: PUT\r\n\r\n",
129
+ "tags": [
130
+ "cache-poisoning",
131
+ "method-override"
132
+ ],
133
+ "expected_block": true,
134
+ "severity_hint": "High",
135
+ "notes": "X-Method-Override to change cached method semantics",
136
+ "destructive": false,
137
+ "category": "Cache"
138
+ },
139
+ {
140
+ "id": "CACHE-POISON-011",
141
+ "payload": "GET /api/data?utm_content=<script>alert(1)</script> HTTP/1.1\r\nHost: target.com\r\n\r\n",
142
+ "tags": [
143
+ "cache-poisoning",
144
+ "utm-params"
145
+ ],
146
+ "expected_block": true,
147
+ "severity_hint": "High",
148
+ "notes": "UTM parameter with XSS payload (often unkeyed)",
149
+ "destructive": false,
150
+ "category": "Cache"
151
+ },
152
+ {
153
+ "id": "CACHE-POISON-012",
154
+ "payload": "GET /api/data HTTP/1.1\r\nHost: target.com\r\nTranslate: <script>alert(1)</script>\r\n\r\n",
155
+ "tags": [
156
+ "cache-poisoning",
157
+ "rare-header"
158
+ ],
159
+ "expected_block": true,
160
+ "severity_hint": "Medium",
161
+ "notes": "Translate header (WebDAV) with XSS payload",
162
+ "destructive": false,
163
+ "category": "Cache"
164
+ },
165
+ {
166
+ "id": "CACHE-POISON-013",
167
+ "payload": "GET /api/data HTTP/1.1\r\nHost: target.com\r\nX-Forwarded-Prefix: /xss'><script>alert(1)</script>\r\n\r\n",
168
+ "tags": [
169
+ "cache-poisoning",
170
+ "prefix-injection"
171
+ ],
172
+ "expected_block": true,
173
+ "severity_hint": "High",
174
+ "notes": "X-Forwarded-Prefix with XSS payload",
175
+ "destructive": false,
176
+ "category": "Cache"
177
+ },
178
+ {
179
+ "id": "CACHE-POISON-014",
180
+ "payload": "GET /api/data HTTP/1.1\r\nHost: target.com\r\nX-Custom-IP-Authorization: 127.0.0.1\r\n\r\n",
181
+ "tags": [
182
+ "cache-poisoning",
183
+ "auth-bypass"
184
+ ],
185
+ "expected_block": true,
186
+ "severity_hint": "Critical",
187
+ "notes": "Custom IP authorization header to poison cache with admin access",
188
+ "destructive": false,
189
+ "category": "Cache"
190
+ },
191
+ {
192
+ "id": "CACHE-POISON-015",
193
+ "payload": "GET /api/data?_=<img src=x onerror=alert(1)> HTTP/1.1\r\nHost: target.com\r\n\r\n",
194
+ "tags": [
195
+ "cache-poisoning",
196
+ "cache-buster",
197
+ "quick"
198
+ ],
199
+ "expected_block": true,
200
+ "severity_hint": "High",
201
+ "notes": "Cache buster parameter with XSS payload",
202
+ "destructive": false,
203
+ "category": "Cache"
204
+ },
205
+ {
206
+ "id": "CACHE-POISON-016",
207
+ "payload": "GET /api/data HTTP/1.1\r\nHost: target.com\r\nX-Forwarded-Port: 8080<script>alert(1)</script>\r\n\r\n",
208
+ "tags": [
209
+ "cache-poisoning",
210
+ "port-injection"
211
+ ],
212
+ "expected_block": true,
213
+ "severity_hint": "High",
214
+ "notes": "X-Forwarded-Port with XSS payload",
215
+ "destructive": false,
216
+ "category": "Cache"
217
+ },
218
+ {
219
+ "id": "CACHE-POISON-017",
220
+ "payload": "GET /api/data HTTP/1.1\r\nHost: target.com\r\nAccept-Language: en-US<script>alert(1)</script>\r\n\r\n",
221
+ "tags": [
222
+ "cache-poisoning",
223
+ "language-header"
224
+ ],
225
+ "expected_block": true,
226
+ "severity_hint": "Medium",
227
+ "notes": "Accept-Language with XSS payload (sometimes unkeyed)",
228
+ "destructive": false,
229
+ "category": "Cache"
230
+ },
231
+ {
232
+ "id": "CACHE-POISON-018",
233
+ "payload": "GET /api/data?version=1.0&version=<script>alert(1)</script> HTTP/1.1\r\nHost: target.com\r\n\r\n",
234
+ "tags": [
235
+ "cache-poisoning",
236
+ "duplicate-params"
237
+ ],
238
+ "expected_block": true,
239
+ "severity_hint": "High",
240
+ "notes": "Duplicate query parameters with XSS in second occurrence",
241
+ "destructive": false,
242
+ "category": "Cache"
243
+ },
244
+ {
245
+ "id": "CACHE-POISON-019",
246
+ "payload": "GET /api/data HTTP/1.1\r\nHost: target.com\r\nX-Amz-Website-Redirect-Location: javascript:alert(1)\r\n\r\n",
247
+ "tags": [
248
+ "cache-poisoning",
249
+ "aws-header"
250
+ ],
251
+ "expected_block": true,
252
+ "severity_hint": "High",
253
+ "notes": "AWS S3 redirect header with javascript protocol",
254
+ "destructive": false,
255
+ "category": "Cache"
256
+ },
257
+ {
258
+ "id": "CACHE-POISON-020",
259
+ "payload": "GET /api/data HTTP/1.1\r\nHost: target.com\r\nX-Original-Url: /admin\r\nX-Rewrite-Url: /public\r\n\r\n",
260
+ "tags": [
261
+ "cache-poisoning",
262
+ "conflicting-headers",
263
+ "critical"
264
+ ],
265
+ "expected_block": true,
266
+ "severity_hint": "Critical",
267
+ "notes": "Conflicting URL rewrite headers to confuse cache/origin",
268
+ "destructive": false,
269
+ "category": "Cache"
270
+ },
271
+ {
272
+ "id": "CACHE-POISON-021",
273
+ "payload": "GET /api/data HTTP/1.1\r\nHost: target.com\r\nX-Forwarded-Proto: http\r\nX-Forwarded-Ssl: on\r\n\r\n",
274
+ "tags": [
275
+ "cache-poisoning",
276
+ "protocol-confusion"
277
+ ],
278
+ "expected_block": true,
279
+ "severity_hint": "High",
280
+ "notes": "Conflicting protocol headers (http vs SSL on)",
281
+ "destructive": false,
282
+ "category": "Cache"
283
+ },
284
+ {
285
+ "id": "CACHE-POISON-022",
286
+ "payload": "GET /api/data?callback=jQuery<script>alert(1)</script> HTTP/1.1\r\nHost: target.com\r\n\r\n",
287
+ "tags": [
288
+ "cache-poisoning",
289
+ "jsonp-injection"
290
+ ],
291
+ "expected_block": true,
292
+ "severity_hint": "High",
293
+ "notes": "JSONP callback with injected script tags",
294
+ "destructive": false,
295
+ "category": "Cache"
296
+ },
297
+ {
298
+ "id": "CACHE-POISON-023",
299
+ "payload": "GET /api/data HTTP/1.1\r\nHost: target.com\r\nUser-Agent: Mozilla/5.0<script>alert(1)</script>\r\n\r\n",
300
+ "tags": [
301
+ "cache-poisoning",
302
+ "user-agent"
303
+ ],
304
+ "expected_block": true,
305
+ "severity_hint": "Medium",
306
+ "notes": "User-Agent header with XSS payload (if used in cache key)",
307
+ "destructive": false,
308
+ "category": "Cache"
309
+ },
310
+ {
311
+ "id": "CACHE-POISON-024",
312
+ "payload": "GET /api/data HTTP/1.1\r\nHost: target.com\r\nReferer: https://evil.com/<script>alert(1)</script>\r\n\r\n",
313
+ "tags": [
314
+ "cache-poisoning",
315
+ "referer"
316
+ ],
317
+ "expected_block": true,
318
+ "severity_hint": "Medium",
319
+ "notes": "Referer header with XSS payload",
320
+ "destructive": false,
321
+ "category": "Cache"
322
+ },
323
+ {
324
+ "id": "CACHE-POISON-025",
325
+ "payload": "GET /api/data?%3Finjected=1 HTTP/1.1\r\nHost: target.com\r\n\r\n",
326
+ "tags": [
327
+ "cache-poisoning",
328
+ "encoding-bypass",
329
+ "critical"
330
+ ],
331
+ "expected_block": true,
332
+ "severity_hint": "Critical",
333
+ "notes": "URL-encoded question mark to inject extra query parameters",
334
+ "destructive": false,
335
+ "category": "Cache"
336
+ },
337
+ {
338
+ "id": "CACHE-POISON-026",
339
+ "payload": "GET /api/data?utm_source=test&%26injected=<script>alert(1)</script> HTTP/1.1\r\nHost: target.com\r\n\r\n",
340
+ "tags": [
341
+ "cache-poisoning",
342
+ "ampersand-encoding"
343
+ ],
344
+ "expected_block": true,
345
+ "severity_hint": "High",
346
+ "notes": "URL-encoded ampersand to inject parameter after cache key calculation",
347
+ "destructive": false,
348
+ "category": "Cache"
349
+ },
350
+ {
351
+ "id": "CACHE-POISON-027",
352
+ "payload": "GET /api/data HTTP/1.1\r\nHost: target.com\r\nX-Forwarded-For: 127.0.0.1, <script>alert(1)</script>\r\n\r\n",
353
+ "tags": [
354
+ "cache-poisoning",
355
+ "xff-injection"
356
+ ],
357
+ "expected_block": true,
358
+ "severity_hint": "High",
359
+ "notes": "X-Forwarded-For with XSS payload after valid IP",
360
+ "destructive": false,
361
+ "category": "Cache"
362
+ },
363
+ {
364
+ "id": "CACHE-POISON-028",
365
+ "payload": "GET /api/data HTTP/1.1\r\nHost: target.com\r\nCookie: session=abc123; injected=<script>alert(1)</script>\r\n\r\n",
366
+ "tags": [
367
+ "cache-poisoning",
368
+ "cookie-injection"
369
+ ],
370
+ "expected_block": true,
371
+ "severity_hint": "High",
372
+ "notes": "Cookie with XSS payload (if cookies included in cache key)",
373
+ "destructive": false,
374
+ "category": "Cache"
375
+ },
376
+ {
377
+ "id": "CACHE-POISON-029",
378
+ "payload": "GET /api/data HTTP/1.1\r\nHost: target.com\r\nX-Edge-Location: <script>alert(1)</script>\r\n\r\n",
379
+ "tags": [
380
+ "cache-poisoning",
381
+ "cdn-header"
382
+ ],
383
+ "expected_block": true,
384
+ "severity_hint": "Medium",
385
+ "notes": "CDN-specific header with XSS payload",
386
+ "destructive": false,
387
+ "category": "Cache"
388
+ },
389
+ {
390
+ "id": "CACHE-POISON-030",
391
+ "payload": "GET /api/data HTTP/1.1\r\nHost: target.com\r\nX-Host: evil.com:80@target.com\r\n\r\n",
392
+ "tags": [
393
+ "cache-poisoning",
394
+ "host-confusion",
395
+ "critical"
396
+ ],
397
+ "expected_block": true,
398
+ "severity_hint": "Critical",
399
+ "notes": "X-Host header with credential-style host confusion",
400
+ "destructive": false,
401
+ "category": "Cache"
402
+ }
403
+ ]