codewatch-scan 0.1.0__py3-none-any.whl
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.
- codewatch/__init__.py +0 -0
- codewatch/__main__.py +14 -0
- codewatch/asgi.py +16 -0
- codewatch/settings.py +175 -0
- codewatch/urls.py +40 -0
- codewatch/wsgi.py +16 -0
- codewatch_scan-0.1.0.dist-info/METADATA +81 -0
- codewatch_scan-0.1.0.dist-info/RECORD +136 -0
- codewatch_scan-0.1.0.dist-info/WHEEL +5 -0
- codewatch_scan-0.1.0.dist-info/entry_points.txt +4 -0
- codewatch_scan-0.1.0.dist-info/licenses/LICENSE +21 -0
- codewatch_scan-0.1.0.dist-info/top_level.txt +2 -0
- core/__init__.py +0 -0
- core/analyzers/__init__.py +19 -0
- core/analyzers/accessibility.py +199 -0
- core/analyzers/base.py +192 -0
- core/analyzers/body_models.py +154 -0
- core/analyzers/codewatch_checks.py +394 -0
- core/analyzers/constant_branches.py +251 -0
- core/analyzers/containers.py +316 -0
- core/analyzers/coverage.py +131 -0
- core/analyzers/dependencies.py +347 -0
- core/analyzers/drf_serializers.py +65 -0
- core/analyzers/else_branches.py +106 -0
- core/analyzers/extra.py +400 -0
- core/analyzers/flask_resources.py +65 -0
- core/analyzers/inline_scripts.py +50 -0
- core/analyzers/jinja_sandboxes.py +63 -0
- core/analyzers/match_statements.py +148 -0
- core/analyzers/multi_tools.py +888 -0
- core/analyzers/php_template_sinks.py +444 -0
- core/analyzers/project_checks.py +150 -0
- core/analyzers/python_tools.py +333 -0
- core/analyzers/route_converters.py +237 -0
- core/analyzers/slices.py +94 -0
- core/analyzers/starred_targets.py +42 -0
- core/analyzers/stored_fields.py +386 -0
- core/analyzers/summaries.py +1387 -0
- core/analyzers/template_sinks.py +162 -0
- core/api.py +360 -0
- core/apps.py +6 -0
- core/benchmark.py +955 -0
- core/bundled/catalog/codewatch/rules/javascript-crypto.yml +224 -0
- core/bundled/catalog/codewatch/rules/javascript-injection.yml +116 -0
- core/bundled/catalog/codewatch/rules/javascript-taint.yml +1539 -0
- core/bundled/catalog/codewatch/rules/javascript-web.yml +562 -0
- core/bundled/catalog/codewatch/rules/php-web.yml +719 -0
- core/bundled/catalog/codewatch/rules/python-crypto.yml +203 -0
- core/bundled/catalog/codewatch/rules/python-django.yml +267 -0
- core/bundled/catalog/codewatch/rules/python-injection.yml +115 -0
- core/bundled/catalog/codewatch/rules/python-web.yml +3382 -0
- core/bundled/catalog/custom/mappings.json +360 -0
- core/bundled/catalog/custom/overrides.json +4 -0
- core/bundled/catalog/custom/rules/django-settings.yml +19 -0
- core/bundled/catalog/imported/changes.json +5 -0
- core/bundled/catalog/imported/docs.json +1143 -0
- core/bundled/catalog/imported/meta.json +54 -0
- core/bundled/catalog/imported/rules.json +85421 -0
- core/bundled/catalog/imported/standards.json +11191 -0
- core/bundled/tools/analyzers.lock +786 -0
- core/bundled/tools/axe-scan.mjs +45 -0
- core/bundled/tools/checkov.lock +2463 -0
- core/bundled/tools/codewatch-checks.mjs +99 -0
- core/bundled/tools/eslint-a11y.config.js +16 -0
- core/bundled/tools/eslint-quality.config.js +63 -0
- core/bundled/tools/eslint-typed.config.js +18 -0
- core/bundled/tools/package-lock.json +6102 -0
- core/bundled/tools/package.json +32 -0
- core/bundled/tools/rule-metadata.mjs +56 -0
- core/bundled/tools/semgrep.lock +1232 -0
- core/bundled/tools/stylelint.config.json +11 -0
- core/catalog/__init__.py +190 -0
- core/catalog/build.py +84 -0
- core/catalog/merge.py +122 -0
- core/catalog/sources.py +418 -0
- core/catalog/standards.py +119 -0
- core/catalog/update.py +99 -0
- core/catalog_views.py +115 -0
- core/client.py +645 -0
- core/collect.py +518 -0
- core/duplicates.py +60 -0
- core/fingerprint.py +25 -0
- core/folders.py +73 -0
- core/gate.py +77 -0
- core/git.py +149 -0
- core/jobs.py +86 -0
- core/management/__init__.py +0 -0
- core/management/commands/__init__.py +0 -0
- core/management/commands/addproject.py +40 -0
- core/management/commands/buildcatalog.py +15 -0
- core/management/commands/scan.py +74 -0
- core/management/commands/updatecatalog.py +14 -0
- core/mcp_server.py +140 -0
- core/middleware.py +17 -0
- core/migrations/0001_initial.py +115 -0
- core/migrations/0002_auth_tokens_a11y.py +60 -0
- core/migrations/0003_default_admin.py +43 -0
- core/migrations/0004_project_members.py +28 -0
- core/migrations/0005_uploads_and_sources.py +55 -0
- core/migrations/0006_thresholds.py +28 -0
- core/migrations/0007_also_reported_by.py +18 -0
- core/migrations/0008_new_code_period.py +18 -0
- core/migrations/0009_resolution_safe.py +18 -0
- core/migrations/0010_analysis_progress.py +18 -0
- core/migrations/0011_overall_gate_conditions.py +20 -0
- core/migrations/__init__.py +0 -0
- core/models.py +323 -0
- core/network.py +41 -0
- core/paths.py +29 -0
- core/ratings.py +67 -0
- core/runner.py +168 -0
- core/templates/core/account.html +30 -0
- core/templates/core/analysis.html +49 -0
- core/templates/core/base.html +121 -0
- core/templates/core/form_table.html +12 -0
- core/templates/core/gate_badge.html +1 -0
- core/templates/core/index.html +26 -0
- core/templates/core/issues.html +38 -0
- core/templates/core/login.html +13 -0
- core/templates/core/new_project.html +27 -0
- core/templates/core/password_change.html +10 -0
- core/templates/core/project.html +40 -0
- core/templates/core/rating.html +1 -0
- core/templates/core/ratings.html +32 -0
- core/templates/core/rule.html +33 -0
- core/templates/core/rules.html +42 -0
- core/templates/core/scan_progress.html +2 -0
- core/templates/core/settings.html +36 -0
- core/templates/core/source.html +15 -0
- core/templates/core/standards.html +30 -0
- core/templates/core/user_edit.html +15 -0
- core/templates/core/users.html +18 -0
- core/templatetags/__init__.py +0 -0
- core/templatetags/codewatch.py +42 -0
- core/tool_setup.py +68 -0
- core/views.py +564 -0
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_about": "codewatch's own mappings for rules whose analyzer doesn't publish them. Edit freely; rebuilt into the catalogue on every update. Keys are catalogue rule IDs; a key ending in /* applies to every rule of that tool.",
|
|
3
|
+
"cwe": {
|
|
4
|
+
"eslint/no-eval": [
|
|
5
|
+
95
|
|
6
|
+
],
|
|
7
|
+
"eslint/no-implied-eval": [
|
|
8
|
+
95
|
|
9
|
+
],
|
|
10
|
+
"eslint/no-new-func": [
|
|
11
|
+
95
|
|
12
|
+
],
|
|
13
|
+
"eslint/security/detect-child-process": [
|
|
14
|
+
78
|
|
15
|
+
],
|
|
16
|
+
"eslint/security/detect-eval-with-expression": [
|
|
17
|
+
95
|
|
18
|
+
],
|
|
19
|
+
"eslint/security/detect-non-literal-fs-filename": [
|
|
20
|
+
22
|
|
21
|
+
],
|
|
22
|
+
"eslint/security/detect-non-literal-regexp": [
|
|
23
|
+
1333
|
|
24
|
+
],
|
|
25
|
+
"eslint/security/detect-unsafe-regex": [
|
|
26
|
+
1333
|
|
27
|
+
],
|
|
28
|
+
"eslint/security/detect-object-injection": [
|
|
29
|
+
1321
|
|
30
|
+
],
|
|
31
|
+
"eslint/security/detect-pseudoRandomBytes": [
|
|
32
|
+
338
|
|
33
|
+
],
|
|
34
|
+
"eslint/security/detect-possible-timing-attacks": [
|
|
35
|
+
208
|
|
36
|
+
],
|
|
37
|
+
"eslint/security/detect-no-csrf-before-method-override": [
|
|
38
|
+
352
|
|
39
|
+
],
|
|
40
|
+
"eslint/security/detect-buffer-noassert": [
|
|
41
|
+
119
|
|
42
|
+
],
|
|
43
|
+
"eslint/security/detect-new-buffer": [
|
|
44
|
+
119
|
|
45
|
+
],
|
|
46
|
+
"eslint/security/detect-disable-mustache-escape": [
|
|
47
|
+
79
|
|
48
|
+
],
|
|
49
|
+
"eslint/security/detect-non-literal-require": [
|
|
50
|
+
94
|
|
51
|
+
],
|
|
52
|
+
"eslint/security/detect-bidi-characters": [
|
|
53
|
+
1007
|
|
54
|
+
],
|
|
55
|
+
"basedpyright/reportOptionalMemberAccess": [
|
|
56
|
+
476
|
|
57
|
+
],
|
|
58
|
+
"basedpyright/reportOptionalSubscript": [
|
|
59
|
+
476
|
|
60
|
+
],
|
|
61
|
+
"basedpyright/reportOptionalCall": [
|
|
62
|
+
476
|
|
63
|
+
],
|
|
64
|
+
"basedpyright/reportOptionalIterable": [
|
|
65
|
+
476
|
|
66
|
+
],
|
|
67
|
+
"basedpyright/reportOptionalContextManager": [
|
|
68
|
+
476
|
|
69
|
+
],
|
|
70
|
+
"basedpyright/reportOptionalOperand": [
|
|
71
|
+
476
|
|
72
|
+
],
|
|
73
|
+
"basedpyright/reportCallIssue": [
|
|
74
|
+
628
|
|
75
|
+
],
|
|
76
|
+
"basedpyright/reportArgumentType": [
|
|
77
|
+
843
|
|
78
|
+
],
|
|
79
|
+
"basedpyright/reportPossiblyUnbound": [
|
|
80
|
+
457
|
|
81
|
+
],
|
|
82
|
+
"basedpyright/reportIndexIssue": [
|
|
83
|
+
129
|
|
84
|
+
],
|
|
85
|
+
"ruff/B006": [
|
|
86
|
+
1188
|
|
87
|
+
],
|
|
88
|
+
"ruff/B008": [
|
|
89
|
+
1188
|
|
90
|
+
],
|
|
91
|
+
"ruff/BLE001": [
|
|
92
|
+
396
|
|
93
|
+
],
|
|
94
|
+
"ruff/E722": [
|
|
95
|
+
396
|
|
96
|
+
],
|
|
97
|
+
"ruff/PLW0603": [
|
|
98
|
+
1108
|
|
99
|
+
],
|
|
100
|
+
"ruff/B023": [
|
|
101
|
+
1109
|
|
102
|
+
],
|
|
103
|
+
"ruff/S608": [
|
|
104
|
+
89
|
|
105
|
+
],
|
|
106
|
+
"ruff/S602": [
|
|
107
|
+
78
|
|
108
|
+
],
|
|
109
|
+
"ruff/S307": [
|
|
110
|
+
95
|
|
111
|
+
],
|
|
112
|
+
"ruff/DTZ005": [
|
|
113
|
+
758
|
|
114
|
+
],
|
|
115
|
+
"detect-secrets/*": [
|
|
116
|
+
798
|
|
117
|
+
],
|
|
118
|
+
"pip-audit/vulnerable-dependency": [
|
|
119
|
+
1395,
|
|
120
|
+
1104
|
|
121
|
+
],
|
|
122
|
+
"radon/cyclomatic-complexity": [
|
|
123
|
+
1121
|
|
124
|
+
],
|
|
125
|
+
"lizard/cyclomatic-complexity": [
|
|
126
|
+
1121
|
|
127
|
+
],
|
|
128
|
+
"complexipy/cognitive-complexity": [
|
|
129
|
+
1121
|
|
130
|
+
],
|
|
131
|
+
"jscpd/duplicated-block": [
|
|
132
|
+
1041
|
|
133
|
+
],
|
|
134
|
+
"cppcheck/arrayIndexOutOfBounds": [
|
|
135
|
+
787,
|
|
136
|
+
125
|
|
137
|
+
],
|
|
138
|
+
"cppcheck/arrayIndexOutOfBoundsCond": [
|
|
139
|
+
787,
|
|
140
|
+
125
|
|
141
|
+
],
|
|
142
|
+
"cppcheck/bufferAccessOutOfBounds": [
|
|
143
|
+
787,
|
|
144
|
+
125
|
|
145
|
+
],
|
|
146
|
+
"cppcheck/stlOutOfBounds": [
|
|
147
|
+
787,
|
|
148
|
+
125
|
|
149
|
+
],
|
|
150
|
+
"cppcheck/pointerOutOfBounds": [
|
|
151
|
+
787,
|
|
152
|
+
125
|
|
153
|
+
],
|
|
154
|
+
"cppcheck/pointerOutOfBoundsCond": [
|
|
155
|
+
787,
|
|
156
|
+
125
|
|
157
|
+
],
|
|
158
|
+
"cppcheck/negativeIndex": [
|
|
159
|
+
787,
|
|
160
|
+
125
|
|
161
|
+
],
|
|
162
|
+
"cppcheck/negativeContainerIndex": [
|
|
163
|
+
787,
|
|
164
|
+
125
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
"wcag": {
|
|
168
|
+
"html-a11y/wcag/h30": [
|
|
169
|
+
"2.4.4",
|
|
170
|
+
"1.1.1"
|
|
171
|
+
],
|
|
172
|
+
"html-a11y/wcag/h32": [
|
|
173
|
+
"3.2.2"
|
|
174
|
+
],
|
|
175
|
+
"html-a11y/wcag/h36": [
|
|
176
|
+
"1.1.1"
|
|
177
|
+
],
|
|
178
|
+
"html-a11y/wcag/h37": [
|
|
179
|
+
"1.1.1"
|
|
180
|
+
],
|
|
181
|
+
"html-a11y/wcag/h63": [
|
|
182
|
+
"1.3.1"
|
|
183
|
+
],
|
|
184
|
+
"html-a11y/wcag/h67": [
|
|
185
|
+
"1.1.1"
|
|
186
|
+
],
|
|
187
|
+
"html-a11y/wcag/h71": [
|
|
188
|
+
"1.3.1"
|
|
189
|
+
],
|
|
190
|
+
"html-a11y/area-alt": [
|
|
191
|
+
"1.1.1",
|
|
192
|
+
"2.4.4"
|
|
193
|
+
],
|
|
194
|
+
"html-a11y/input-missing-label": [
|
|
195
|
+
"1.3.1",
|
|
196
|
+
"3.3.2",
|
|
197
|
+
"4.1.2"
|
|
198
|
+
],
|
|
199
|
+
"html-a11y/empty-heading": [
|
|
200
|
+
"1.3.1",
|
|
201
|
+
"2.4.6"
|
|
202
|
+
],
|
|
203
|
+
"html-a11y/text-content": [
|
|
204
|
+
"4.1.2"
|
|
205
|
+
],
|
|
206
|
+
"html-a11y/aria-label-misuse": [
|
|
207
|
+
"4.1.2"
|
|
208
|
+
],
|
|
209
|
+
"html-a11y/unique-landmark": [
|
|
210
|
+
"1.3.1",
|
|
211
|
+
"2.4.1"
|
|
212
|
+
],
|
|
213
|
+
"html-a11y/hidden-focusable": [
|
|
214
|
+
"4.1.2"
|
|
215
|
+
],
|
|
216
|
+
"html-a11y/aria-hidden-body": [
|
|
217
|
+
"4.1.2"
|
|
218
|
+
],
|
|
219
|
+
"html-a11y/no-abstract-role": [
|
|
220
|
+
"4.1.2"
|
|
221
|
+
],
|
|
222
|
+
"html-a11y/valid-autocomplete": [
|
|
223
|
+
"1.3.5"
|
|
224
|
+
],
|
|
225
|
+
"html-a11y/prefer-native-element": [
|
|
226
|
+
"4.1.2"
|
|
227
|
+
],
|
|
228
|
+
"html-a11y/empty-title": [
|
|
229
|
+
"2.4.2"
|
|
230
|
+
],
|
|
231
|
+
"html-a11y/meta-refresh": [
|
|
232
|
+
"2.2.1",
|
|
233
|
+
"3.2.5"
|
|
234
|
+
],
|
|
235
|
+
"html-a11y/svg-focusable": [
|
|
236
|
+
"2.4.3"
|
|
237
|
+
],
|
|
238
|
+
"html-a11y/no-autoplay": [
|
|
239
|
+
"1.4.2"
|
|
240
|
+
],
|
|
241
|
+
"jsx-a11y/jsx-a11y/alt-text": [
|
|
242
|
+
"1.1.1"
|
|
243
|
+
],
|
|
244
|
+
"jsx-a11y/jsx-a11y/anchor-has-content": [
|
|
245
|
+
"2.4.4",
|
|
246
|
+
"4.1.2"
|
|
247
|
+
],
|
|
248
|
+
"jsx-a11y/jsx-a11y/anchor-is-valid": [
|
|
249
|
+
"2.1.1",
|
|
250
|
+
"2.4.4"
|
|
251
|
+
],
|
|
252
|
+
"jsx-a11y/jsx-a11y/aria-props": [
|
|
253
|
+
"4.1.2"
|
|
254
|
+
],
|
|
255
|
+
"jsx-a11y/jsx-a11y/aria-proptypes": [
|
|
256
|
+
"4.1.2"
|
|
257
|
+
],
|
|
258
|
+
"jsx-a11y/jsx-a11y/aria-role": [
|
|
259
|
+
"4.1.2"
|
|
260
|
+
],
|
|
261
|
+
"jsx-a11y/jsx-a11y/aria-unsupported-elements": [
|
|
262
|
+
"4.1.2"
|
|
263
|
+
],
|
|
264
|
+
"jsx-a11y/jsx-a11y/autocomplete-valid": [
|
|
265
|
+
"1.3.5"
|
|
266
|
+
],
|
|
267
|
+
"jsx-a11y/jsx-a11y/click-events-have-key-events": [
|
|
268
|
+
"2.1.1"
|
|
269
|
+
],
|
|
270
|
+
"jsx-a11y/jsx-a11y/heading-has-content": [
|
|
271
|
+
"1.3.1",
|
|
272
|
+
"2.4.6"
|
|
273
|
+
],
|
|
274
|
+
"jsx-a11y/jsx-a11y/html-has-lang": [
|
|
275
|
+
"3.1.1"
|
|
276
|
+
],
|
|
277
|
+
"jsx-a11y/jsx-a11y/iframe-has-title": [
|
|
278
|
+
"2.4.1",
|
|
279
|
+
"4.1.2"
|
|
280
|
+
],
|
|
281
|
+
"jsx-a11y/jsx-a11y/img-redundant-alt": [
|
|
282
|
+
"1.1.1"
|
|
283
|
+
],
|
|
284
|
+
"jsx-a11y/jsx-a11y/interactive-supports-focus": [
|
|
285
|
+
"2.1.1"
|
|
286
|
+
],
|
|
287
|
+
"jsx-a11y/jsx-a11y/label-has-associated-control": [
|
|
288
|
+
"1.3.1",
|
|
289
|
+
"3.3.2"
|
|
290
|
+
],
|
|
291
|
+
"jsx-a11y/jsx-a11y/media-has-caption": [
|
|
292
|
+
"1.2.2"
|
|
293
|
+
],
|
|
294
|
+
"jsx-a11y/jsx-a11y/mouse-events-have-key-events": [
|
|
295
|
+
"2.1.1"
|
|
296
|
+
],
|
|
297
|
+
"jsx-a11y/jsx-a11y/no-access-key": [
|
|
298
|
+
"2.1.1"
|
|
299
|
+
],
|
|
300
|
+
"jsx-a11y/jsx-a11y/no-autofocus": [
|
|
301
|
+
"2.4.3",
|
|
302
|
+
"3.2.1"
|
|
303
|
+
],
|
|
304
|
+
"jsx-a11y/jsx-a11y/no-distracting-elements": [
|
|
305
|
+
"2.2.2"
|
|
306
|
+
],
|
|
307
|
+
"jsx-a11y/jsx-a11y/no-noninteractive-tabindex": [
|
|
308
|
+
"2.4.3"
|
|
309
|
+
],
|
|
310
|
+
"jsx-a11y/jsx-a11y/no-redundant-roles": [
|
|
311
|
+
"4.1.2"
|
|
312
|
+
],
|
|
313
|
+
"jsx-a11y/jsx-a11y/no-static-element-interactions": [
|
|
314
|
+
"4.1.2"
|
|
315
|
+
],
|
|
316
|
+
"jsx-a11y/jsx-a11y/role-has-required-aria-props": [
|
|
317
|
+
"4.1.2"
|
|
318
|
+
],
|
|
319
|
+
"jsx-a11y/jsx-a11y/role-supports-aria-props": [
|
|
320
|
+
"4.1.2"
|
|
321
|
+
],
|
|
322
|
+
"jsx-a11y/jsx-a11y/scope": [
|
|
323
|
+
"1.3.1"
|
|
324
|
+
],
|
|
325
|
+
"jsx-a11y/jsx-a11y/tabindex-no-positive": [
|
|
326
|
+
"2.4.3"
|
|
327
|
+
]
|
|
328
|
+
},
|
|
329
|
+
"owasp": {
|
|
330
|
+
"checkov/*": [
|
|
331
|
+
"A02:2025"
|
|
332
|
+
]
|
|
333
|
+
},
|
|
334
|
+
"equivalent": [
|
|
335
|
+
[
|
|
336
|
+
"ruff/F401",
|
|
337
|
+
"basedpyright/reportUnusedImport"
|
|
338
|
+
],
|
|
339
|
+
[
|
|
340
|
+
"ruff/F841",
|
|
341
|
+
"basedpyright/reportUnusedVariable"
|
|
342
|
+
],
|
|
343
|
+
[
|
|
344
|
+
"ruff/F821",
|
|
345
|
+
"basedpyright/reportUndefinedVariable"
|
|
346
|
+
],
|
|
347
|
+
[
|
|
348
|
+
"ruff/F811",
|
|
349
|
+
"basedpyright/reportRedeclaration"
|
|
350
|
+
],
|
|
351
|
+
[
|
|
352
|
+
"ruff/E722",
|
|
353
|
+
"ruff/BLE001"
|
|
354
|
+
],
|
|
355
|
+
[
|
|
356
|
+
"eslint/no-eval",
|
|
357
|
+
"eslint/security/detect-eval-with-expression"
|
|
358
|
+
]
|
|
359
|
+
]
|
|
360
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# codewatch custom rules: Semgrep syntax (https://semgrep.dev/docs/writing-rules/rule-syntax).
|
|
2
|
+
# Add metadata.cwe / metadata.owasp / metadata.references so they show up in the catalogue and coverage.
|
|
3
|
+
rules:
|
|
4
|
+
- id: codewatch.django.allowed-hosts-wildcard
|
|
5
|
+
languages: [python]
|
|
6
|
+
severity: WARNING
|
|
7
|
+
message: >-
|
|
8
|
+
ALLOWED_HOSTS accepts any Host header. List the real host names instead, so forged Host headers
|
|
9
|
+
can't poison password-reset links or caches.
|
|
10
|
+
pattern: ALLOWED_HOSTS = [..., "*", ...]
|
|
11
|
+
paths:
|
|
12
|
+
include: ["**/settings*.py", "**/settings/*.py"]
|
|
13
|
+
metadata:
|
|
14
|
+
category: security
|
|
15
|
+
cwe: ["CWE-644: Improper Neutralization of HTTP Headers for Scripting Syntax"]
|
|
16
|
+
owasp: ["A02:2025 - Security Misconfiguration"]
|
|
17
|
+
references:
|
|
18
|
+
- https://docs.djangoproject.com/en/stable/ref/settings/#allowed-hosts
|
|
19
|
+
- https://docs.djangoproject.com/en/stable/topics/security/#host-header-validation
|