@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,370 @@
1
+ [
2
+ {
3
+ "id": "DESER-PROTO-001",
4
+ "payload": "POST /api/settings HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"__proto__\":{\"admin\":true}}",
5
+ "tags": [
6
+ "deserialization",
7
+ "prototype-pollution",
8
+ "quick",
9
+ "critical"
10
+ ],
11
+ "expected_block": true,
12
+ "severity_hint": "Critical",
13
+ "notes": "Direct __proto__ pollution attempt to inject admin property",
14
+ "category": "Deserialization"
15
+ },
16
+ {
17
+ "id": "DESER-PROTO-002",
18
+ "payload": "POST /api/config HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"__proto__\":{\"isAdmin\":true,\"role\":\"admin\"}}",
19
+ "tags": [
20
+ "prototype-pollution",
21
+ "privilege-escalation"
22
+ ],
23
+ "expected_block": true,
24
+ "severity_hint": "Critical",
25
+ "notes": "Multiple property pollution via __proto__",
26
+ "category": "Deserialization"
27
+ },
28
+ {
29
+ "id": "DESER-PROTO-003",
30
+ "payload": "POST /api/user HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"constructor\":{\"prototype\":{\"admin\":true}}}",
31
+ "tags": [
32
+ "prototype-pollution",
33
+ "constructor"
34
+ ],
35
+ "expected_block": true,
36
+ "severity_hint": "Critical",
37
+ "notes": "Constructor.prototype pollution chain",
38
+ "category": "Deserialization"
39
+ },
40
+ {
41
+ "id": "DESER-PROTO-004",
42
+ "payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"__proto__.admin\":true}",
43
+ "tags": [
44
+ "prototype-pollution",
45
+ "dot-notation"
46
+ ],
47
+ "expected_block": true,
48
+ "severity_hint": "Critical",
49
+ "notes": "Dot notation __proto__ pollution",
50
+ "category": "Deserialization"
51
+ },
52
+ {
53
+ "id": "DESER-PROTO-005",
54
+ "payload": "POST /api/update HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"nested\":{\"__proto__\":{\"polluted\":true}}}",
55
+ "tags": [
56
+ "prototype-pollution",
57
+ "nested"
58
+ ],
59
+ "expected_block": true,
60
+ "severity_hint": "Critical",
61
+ "notes": "Nested __proto__ pollution attempt",
62
+ "category": "Deserialization"
63
+ },
64
+ {
65
+ "id": "DESER-PROTO-006",
66
+ "payload": "POST /api/settings HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"__proto__\":{\"toString\":\"hacked\"}}",
67
+ "tags": [
68
+ "prototype-pollution",
69
+ "built-in-override",
70
+ "quick"
71
+ ],
72
+ "expected_block": true,
73
+ "severity_hint": "Critical",
74
+ "notes": "Override Object.prototype.toString",
75
+ "category": "Deserialization"
76
+ },
77
+ {
78
+ "id": "DESER-PROTO-007",
79
+ "payload": "POST /api/config HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"__proto__\":{\"valueOf\":\"polluted\"}}",
80
+ "tags": [
81
+ "prototype-pollution",
82
+ "built-in-override"
83
+ ],
84
+ "expected_block": true,
85
+ "severity_hint": "Critical",
86
+ "notes": "Override Object.prototype.valueOf",
87
+ "category": "Deserialization"
88
+ },
89
+ {
90
+ "id": "DESER-PROTO-008",
91
+ "payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"__proto__\":{\"hasOwnProperty\":null}}",
92
+ "tags": [
93
+ "prototype-pollution",
94
+ "denial-of-service"
95
+ ],
96
+ "expected_block": true,
97
+ "severity_hint": "High",
98
+ "notes": "Pollute hasOwnProperty causing TypeError crashes",
99
+ "category": "Deserialization"
100
+ },
101
+ {
102
+ "id": "DESER-PROTO-009",
103
+ "payload": "POST /api/user HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"__proto__\":{\"constructor\":null}}",
104
+ "tags": [
105
+ "prototype-pollution",
106
+ "denial-of-service"
107
+ ],
108
+ "expected_block": true,
109
+ "severity_hint": "High",
110
+ "notes": "Nullify constructor property causing application errors",
111
+ "category": "Deserialization"
112
+ },
113
+ {
114
+ "id": "DESER-PROTO-010",
115
+ "payload": "POST /api/settings HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"__proto__%00\":{\"admin\":true}}",
116
+ "tags": [
117
+ "prototype-pollution",
118
+ "null-byte",
119
+ "evasion"
120
+ ],
121
+ "expected_block": true,
122
+ "severity_hint": "Critical",
123
+ "notes": "Null byte in __proto__ to bypass filters",
124
+ "category": "Deserialization"
125
+ },
126
+ {
127
+ "id": "DESER-PROTO-011",
128
+ "payload": "POST /api/config HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"__PROTO__\":{\"admin\":true}}",
129
+ "tags": [
130
+ "prototype-pollution",
131
+ "case-variation"
132
+ ],
133
+ "expected_block": true,
134
+ "severity_hint": "Critical",
135
+ "notes": "Uppercase __PROTO__ evasion",
136
+ "category": "Deserialization"
137
+ },
138
+ {
139
+ "id": "DESER-PROTO-012",
140
+ "payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"__Proto__\":{\"admin\":true}}",
141
+ "tags": [
142
+ "prototype-pollution",
143
+ "case-variation"
144
+ ],
145
+ "expected_block": true,
146
+ "severity_hint": "Critical",
147
+ "notes": "Mixed case __Proto__ evasion",
148
+ "category": "Deserialization"
149
+ },
150
+ {
151
+ "id": "DESER-PROTO-013",
152
+ "payload": "POST /api/update HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"_%5F_proto_%5F_\":{\"admin\":true}}",
153
+ "tags": [
154
+ "prototype-pollution",
155
+ "url-encoding",
156
+ "evasion"
157
+ ],
158
+ "expected_block": true,
159
+ "severity_hint": "Critical",
160
+ "notes": "URL-encoded __proto__ (%5F = underscore)",
161
+ "category": "Deserialization"
162
+ },
163
+ {
164
+ "id": "DESER-PROTO-014",
165
+ "payload": "POST /api/settings HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"\\u005f\\u005fproto\\u005f\\u005f\":{\"admin\":true}}",
166
+ "tags": [
167
+ "prototype-pollution",
168
+ "unicode-escape",
169
+ "evasion"
170
+ ],
171
+ "expected_block": true,
172
+ "severity_hint": "Critical",
173
+ "notes": "Unicode-escaped __proto__ (\\u005f = underscore)",
174
+ "category": "Deserialization"
175
+ },
176
+ {
177
+ "id": "DESER-PROTO-015",
178
+ "payload": "POST /api/config HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"['__proto__']\":{\"admin\":true}}",
179
+ "tags": [
180
+ "prototype-pollution",
181
+ "bracket-notation"
182
+ ],
183
+ "expected_block": true,
184
+ "severity_hint": "Critical",
185
+ "notes": "Bracket notation ['__proto__'] pollution",
186
+ "category": "Deserialization"
187
+ },
188
+ {
189
+ "id": "DESER-PROTO-016",
190
+ "payload": "POST /api/workflow HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"__proto__\":{\"blocked\":false,\"validated\":true}}",
191
+ "tags": [
192
+ "prototype-pollution",
193
+ "n8n-specific"
194
+ ],
195
+ "expected_block": true,
196
+ "severity_hint": "Critical",
197
+ "notes": "n8n workflow validation bypass via pollution",
198
+ "category": "Deserialization"
199
+ },
200
+ {
201
+ "id": "DESER-PROTO-017",
202
+ "payload": "POST /api/photos HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"__proto__\":{\"isPublic\":true,\"shared\":true}}",
203
+ "tags": [
204
+ "prototype-pollution",
205
+ "immich-specific"
206
+ ],
207
+ "expected_block": true,
208
+ "severity_hint": "Critical",
209
+ "notes": "Immich photo privacy bypass via pollution",
210
+ "category": "Deserialization"
211
+ },
212
+ {
213
+ "id": "DESER-PROTO-018",
214
+ "payload": "POST /api/auth HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"__proto__\":{\"authenticated\":true,\"role\":\"superadmin\"}}",
215
+ "tags": [
216
+ "prototype-pollution",
217
+ "authentik-specific",
218
+ "quick"
219
+ ],
220
+ "expected_block": true,
221
+ "severity_hint": "Critical",
222
+ "notes": "Authentik authentication bypass via pollution",
223
+ "category": "Deserialization"
224
+ },
225
+ {
226
+ "id": "DESER-PROTO-019",
227
+ "payload": "POST /api/merge HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n[{\"__proto__\":{\"admin\":true}},{\"user\":\"test\"}]",
228
+ "tags": [
229
+ "prototype-pollution",
230
+ "array-merge"
231
+ ],
232
+ "expected_block": true,
233
+ "severity_hint": "Critical",
234
+ "notes": "Array with __proto__ pollution during merge",
235
+ "category": "Deserialization"
236
+ },
237
+ {
238
+ "id": "DESER-PROTO-020",
239
+ "payload": "POST /api/deep HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"level1\":{\"level2\":{\"level3\":{\"__proto__\":{\"admin\":true}}}}}",
240
+ "tags": [
241
+ "prototype-pollution",
242
+ "deep-nested"
243
+ ],
244
+ "expected_block": true,
245
+ "severity_hint": "Critical",
246
+ "notes": "Deeply nested __proto__ pollution (4 levels)",
247
+ "category": "Deserialization"
248
+ },
249
+ {
250
+ "id": "DESER-PROTO-021",
251
+ "payload": "POST /api/settings HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"Object\":{\"prototype\":{\"admin\":true}}}",
252
+ "tags": [
253
+ "prototype-pollution",
254
+ "object-direct"
255
+ ],
256
+ "expected_block": true,
257
+ "severity_hint": "Critical",
258
+ "notes": "Direct Object.prototype pollution",
259
+ "category": "Deserialization"
260
+ },
261
+ {
262
+ "id": "DESER-PROTO-022",
263
+ "payload": "POST /api/config HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"prototype\":{\"admin\":true}}",
264
+ "tags": [
265
+ "prototype-pollution",
266
+ "short-form"
267
+ ],
268
+ "expected_block": true,
269
+ "severity_hint": "Critical",
270
+ "notes": "Short-form 'prototype' pollution without __proto__",
271
+ "category": "Deserialization"
272
+ },
273
+ {
274
+ "id": "DESER-PROTO-023",
275
+ "payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"__proto__\":{\"exec\":\"/bin/sh\"}}",
276
+ "tags": [
277
+ "prototype-pollution",
278
+ "rce-attempt"
279
+ ],
280
+ "expected_block": true,
281
+ "severity_hint": "Critical",
282
+ "notes": "Pollution with exec property (RCE gadget marker)",
283
+ "category": "Deserialization"
284
+ },
285
+ {
286
+ "id": "DESER-PROTO-024",
287
+ "payload": "POST /api/settings HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"__proto__\":{\"env\":{\"NODE_ENV\":\"development\"}}}",
288
+ "tags": [
289
+ "prototype-pollution",
290
+ "env-manipulation"
291
+ ],
292
+ "expected_block": true,
293
+ "severity_hint": "High",
294
+ "notes": "Environment variable manipulation via pollution",
295
+ "category": "Deserialization"
296
+ },
297
+ {
298
+ "id": "DESER-PROTO-025",
299
+ "payload": "POST /api/config HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"__proto__\":{\"shell\":\"cmd.exe\",\"args\":[\"/c\",\"calc\"]}}",
300
+ "tags": [
301
+ "prototype-pollution",
302
+ "shell-injection"
303
+ ],
304
+ "expected_block": true,
305
+ "severity_hint": "Critical",
306
+ "notes": "Shell command injection via pollution",
307
+ "category": "Deserialization"
308
+ },
309
+ {
310
+ "id": "DESER-PROTO-026",
311
+ "payload": "POST /api/user HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"__proto__\":{\"statusCode\":200,\"body\":\"hacked\"}}",
312
+ "tags": [
313
+ "prototype-pollution",
314
+ "response-manipulation"
315
+ ],
316
+ "expected_block": true,
317
+ "severity_hint": "High",
318
+ "notes": "HTTP response manipulation via pollution",
319
+ "category": "Deserialization"
320
+ },
321
+ {
322
+ "id": "DESER-PROTO-027",
323
+ "payload": "POST /api/query HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"__proto__\":{\"where\":{\"admin\":true}}}",
324
+ "tags": [
325
+ "prototype-pollution",
326
+ "query-manipulation"
327
+ ],
328
+ "expected_block": true,
329
+ "severity_hint": "Critical",
330
+ "notes": "Database query manipulation via pollution",
331
+ "category": "Deserialization"
332
+ },
333
+ {
334
+ "id": "DESER-PROTO-028",
335
+ "payload": "POST /api/settings HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"__proto__\":{\"toString\":\"function(){return 'hacked';}\"}}",
336
+ "tags": [
337
+ "prototype-pollution",
338
+ "function-override"
339
+ ],
340
+ "expected_block": true,
341
+ "severity_hint": "Critical",
342
+ "notes": "Function override via toString pollution",
343
+ "category": "Deserialization"
344
+ },
345
+ {
346
+ "id": "DESER-PROTO-029",
347
+ "payload": "POST /api/config HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"__proto__\":{\"type\":\"Buffer\",\"data\":[60,115,99,114,105,112,116,62]}}",
348
+ "tags": [
349
+ "prototype-pollution",
350
+ "buffer-confusion"
351
+ ],
352
+ "expected_block": true,
353
+ "severity_hint": "High",
354
+ "notes": "Buffer type confusion pollution (data = '<script>')",
355
+ "category": "Deserialization"
356
+ },
357
+ {
358
+ "id": "DESER-PROTO-030",
359
+ "payload": "POST /api/data HTTP/1.1\r\nHost: target.com\r\nContent-Type: application/json\r\n\r\n{\"__proto__\":{\"__proto__\":{\"admin\":true}}}",
360
+ "tags": [
361
+ "prototype-pollution",
362
+ "recursive",
363
+ "quick"
364
+ ],
365
+ "expected_block": true,
366
+ "severity_hint": "Critical",
367
+ "notes": "Recursive __proto__ pollution chain",
368
+ "category": "Deserialization"
369
+ }
370
+ ]