deepscan-cli 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +419 -0
- package/dist/bin/deepscan.d.ts +1 -0
- package/dist/bin/deepscan.js +393 -0
- package/dist/bin/deepscan.js.map +1 -0
- package/dist/chunk-OSYJXVNF.js +7268 -0
- package/dist/chunk-OSYJXVNF.js.map +1 -0
- package/dist/index.d.ts +470 -0
- package/dist/index.js +21 -0
- package/dist/index.js.map +1 -0
- package/package.json +68 -0
- package/rules/built-in/converted-semgrep.yml +37 -0
- package/rules/built-in/default-config.yml +59 -0
- package/rules/built-in/quality.yml +117 -0
- package/rules/built-in/security.yml +383 -0
- package/rules/built-in/semgrep-apex.yml +336 -0
- package/rules/built-in/semgrep-bash.yml +362 -0
- package/rules/built-in/semgrep-c.yml +429 -0
- package/rules/built-in/semgrep-clojure.yml +166 -0
- package/rules/built-in/semgrep-csharp.yml +1260 -0
- package/rules/built-in/semgrep-dart.yml +21 -0
- package/rules/built-in/semgrep-dockerfile.yml +874 -0
- package/rules/built-in/semgrep-elixir.yml +146 -0
- package/rules/built-in/semgrep-generic.yml +2945 -0
- package/rules/built-in/semgrep-go.yml +2898 -0
- package/rules/built-in/semgrep-hcl.yml +8181 -0
- package/rules/built-in/semgrep-html.yml +94 -0
- package/rules/built-in/semgrep-java.yml +4219 -0
- package/rules/built-in/semgrep-javascript.yml +6243 -0
- package/rules/built-in/semgrep-json.yml +360 -0
- package/rules/built-in/semgrep-kotlin.yml +540 -0
- package/rules/built-in/semgrep-lua.yml +46 -0
- package/rules/built-in/semgrep-ocaml.yml +773 -0
- package/rules/built-in/semgrep-php.yml +1638 -0
- package/rules/built-in/semgrep-python.yml +11240 -0
- package/rules/built-in/semgrep-regex.yml +6444 -0
- package/rules/built-in/semgrep-ruby.yml +2687 -0
- package/rules/built-in/semgrep-rust.yml +278 -0
- package/rules/built-in/semgrep-scala.yml +807 -0
- package/rules/built-in/semgrep-sh.yml +46 -0
- package/rules/built-in/semgrep-solidity.yml +1046 -0
- package/rules/built-in/semgrep-swift.yml +200 -0
- package/rules/built-in/semgrep-terraform.yml +147 -0
- package/rules/built-in/semgrep-typescript.yml +6212 -0
- package/rules/built-in/semgrep-xml.yml +31 -0
- package/rules/built-in/semgrep-yaml.yml +2785 -0
- package/rules/examples/custom-api-security.yml +66 -0
|
@@ -0,0 +1,1260 @@
|
|
|
1
|
+
rules:
|
|
2
|
+
- id: detect-openai
|
|
3
|
+
name: detect-openai
|
|
4
|
+
description: 'Possibly found usage of AI: OpenAI'
|
|
5
|
+
category: security
|
|
6
|
+
severity: low
|
|
7
|
+
confidence: medium
|
|
8
|
+
languages:
|
|
9
|
+
- csharp
|
|
10
|
+
patterns:
|
|
11
|
+
- pattern: using OpenAI
|
|
12
|
+
message: 'Possibly found usage of AI: OpenAI'
|
|
13
|
+
- pattern: (ChatClient $CLIENT)
|
|
14
|
+
message: 'Possibly found usage of AI: OpenAI'
|
|
15
|
+
- pattern: (ChatClient $CLIENT).$FUNC(...)
|
|
16
|
+
message: 'Possibly found usage of AI: OpenAI'
|
|
17
|
+
cwe: []
|
|
18
|
+
owasp: []
|
|
19
|
+
references:
|
|
20
|
+
- https://semgrep.dev/blog/2024/detecting-shadow-ai
|
|
21
|
+
tags:
|
|
22
|
+
- genAI
|
|
23
|
+
- LLMs
|
|
24
|
+
- id: ldap-injection
|
|
25
|
+
name: ldap-injection
|
|
26
|
+
description: >-
|
|
27
|
+
LDAP queries are constructed dynamically on user-controlled input. This vulnerability in code could lead to an
|
|
28
|
+
arbitrary LDAP query execution.
|
|
29
|
+
category: security
|
|
30
|
+
severity: high
|
|
31
|
+
confidence: medium
|
|
32
|
+
languages:
|
|
33
|
+
- csharp
|
|
34
|
+
patterns:
|
|
35
|
+
- regex: .*
|
|
36
|
+
message: >-
|
|
37
|
+
LDAP queries are constructed dynamically on user-controlled input. This vulnerability in code could lead to an
|
|
38
|
+
arbitrary LDAP query execution.
|
|
39
|
+
cwe:
|
|
40
|
+
- CWE-90
|
|
41
|
+
owasp:
|
|
42
|
+
- A01:2017
|
|
43
|
+
- A03:2021
|
|
44
|
+
- A05:2025
|
|
45
|
+
references:
|
|
46
|
+
- https://owasp.org/Top10/A03_2021-Injection/
|
|
47
|
+
- https://cwe.mitre.org/data/definitions/90
|
|
48
|
+
- >-
|
|
49
|
+
https://cheatsheetseries.owasp.org/cheatsheets/LDAP_Injection_Prevention_Cheat_Sheet.html#safe-c-sharp-net-tba-example
|
|
50
|
+
tags:
|
|
51
|
+
- .net
|
|
52
|
+
- id: mass-assignment
|
|
53
|
+
name: mass-assignment
|
|
54
|
+
description: >-
|
|
55
|
+
Mass assignment or Autobinding vulnerability in code allows an attacker to execute over-posting attacks, which
|
|
56
|
+
could create a new parameter in the binding request and manipulate the underlying object in the application.
|
|
57
|
+
category: security
|
|
58
|
+
severity: medium
|
|
59
|
+
confidence: medium
|
|
60
|
+
languages:
|
|
61
|
+
- csharp
|
|
62
|
+
patterns:
|
|
63
|
+
- regex: .*
|
|
64
|
+
message: >-
|
|
65
|
+
Mass assignment or Autobinding vulnerability in code allows an attacker to execute over-posting attacks, which
|
|
66
|
+
could create a new parameter in the binding request and manipulate the underlying object in the application.
|
|
67
|
+
cwe:
|
|
68
|
+
- CWE-915
|
|
69
|
+
owasp:
|
|
70
|
+
- A08:2021
|
|
71
|
+
- A08:2025
|
|
72
|
+
references:
|
|
73
|
+
- https://cwe.mitre.org/data/definitions/915.html
|
|
74
|
+
- https://github.com/OWASP/API-Security/blob/master/2019/en/src/0xa6-mass-assignment.md
|
|
75
|
+
tags:
|
|
76
|
+
- .net
|
|
77
|
+
- id: misconfigured-lockout-option
|
|
78
|
+
name: misconfigured-lockout-option
|
|
79
|
+
description: >-
|
|
80
|
+
A misconfigured lockout mechanism allows an attacker to execute brute-force attacks. Account lockout must be
|
|
81
|
+
correctly configured and enabled to prevent these attacks.
|
|
82
|
+
category: security
|
|
83
|
+
severity: medium
|
|
84
|
+
confidence: medium
|
|
85
|
+
languages:
|
|
86
|
+
- csharp
|
|
87
|
+
patterns:
|
|
88
|
+
- regex: .*
|
|
89
|
+
message: >-
|
|
90
|
+
A misconfigured lockout mechanism allows an attacker to execute brute-force attacks. Account lockout must be
|
|
91
|
+
correctly configured and enabled to prevent these attacks.
|
|
92
|
+
cwe:
|
|
93
|
+
- CWE-307
|
|
94
|
+
owasp:
|
|
95
|
+
- A07:2021
|
|
96
|
+
- A07:2025
|
|
97
|
+
references:
|
|
98
|
+
- https://owasp.org/Top10/A07_2021-Identification_and_Authentication_Failures
|
|
99
|
+
- https://cwe.mitre.org/data/definitions/307.html
|
|
100
|
+
tags:
|
|
101
|
+
- dotnet
|
|
102
|
+
- id: missing-or-broken-authorization
|
|
103
|
+
name: missing-or-broken-authorization
|
|
104
|
+
description: >-
|
|
105
|
+
Anonymous access shouldn't be allowed unless explicit by design. Access control checks are missing and potentially
|
|
106
|
+
can be bypassed. This finding violates the principle of least privilege or deny by default, where access should
|
|
107
|
+
only be permitted for a specific set of roles or conforms to a custom policy or users.
|
|
108
|
+
category: auth
|
|
109
|
+
severity: low
|
|
110
|
+
confidence: medium
|
|
111
|
+
languages:
|
|
112
|
+
- csharp
|
|
113
|
+
patterns:
|
|
114
|
+
- pattern: |
|
|
115
|
+
public class $CLASS : Controller {
|
|
116
|
+
...
|
|
117
|
+
}
|
|
118
|
+
message: >-
|
|
119
|
+
Anonymous access shouldn't be allowed unless explicit by design. Access control checks are missing and
|
|
120
|
+
potentially can be bypassed. This finding violates the principle of least privilege or deny by default, where
|
|
121
|
+
access should only be permitted for a specific set of roles or conforms to a custom policy or users.
|
|
122
|
+
cwe:
|
|
123
|
+
- CWE-862
|
|
124
|
+
owasp:
|
|
125
|
+
- A01:2021
|
|
126
|
+
- A01:2025
|
|
127
|
+
references:
|
|
128
|
+
- https://owasp.org/Top10/A01_2021-Broken_Access_Control
|
|
129
|
+
- https://cwe.mitre.org/data/definitions/862.html
|
|
130
|
+
- https://docs.microsoft.com/en-us/aspnet/core/security/authorization/simple?view=aspnetcore-7.0
|
|
131
|
+
tags:
|
|
132
|
+
- .net
|
|
133
|
+
- mvc
|
|
134
|
+
- id: open-directory-listing
|
|
135
|
+
name: open-directory-listing
|
|
136
|
+
description: An open directory listing is potentially exposed, potentially revealing sensitive information to attackers.
|
|
137
|
+
category: security
|
|
138
|
+
severity: low
|
|
139
|
+
confidence: medium
|
|
140
|
+
languages:
|
|
141
|
+
- csharp
|
|
142
|
+
patterns:
|
|
143
|
+
- regex: .*
|
|
144
|
+
message: An open directory listing is potentially exposed, potentially revealing sensitive information to attackers.
|
|
145
|
+
cwe:
|
|
146
|
+
- CWE-548
|
|
147
|
+
owasp:
|
|
148
|
+
- A06:2017
|
|
149
|
+
- A01:2021
|
|
150
|
+
- A01:2025
|
|
151
|
+
references:
|
|
152
|
+
- https://cwe.mitre.org/data/definitions/548.html
|
|
153
|
+
- https://owasp.org/Top10/A05_2021-Security_Misconfiguration/
|
|
154
|
+
- https://docs.microsoft.com/en-us/aspnet/core/fundamentals/static-files?view=aspnetcore-7.0#directory-browsing
|
|
155
|
+
tags:
|
|
156
|
+
- .net
|
|
157
|
+
- mvc
|
|
158
|
+
- id: xpath-injection
|
|
159
|
+
name: xpath-injection
|
|
160
|
+
description: >-
|
|
161
|
+
XPath queries are constructed dynamically on user-controlled input. This vulnerability in code could lead to an
|
|
162
|
+
XPath Injection exploitation.
|
|
163
|
+
category: file-ops
|
|
164
|
+
severity: high
|
|
165
|
+
confidence: medium
|
|
166
|
+
languages:
|
|
167
|
+
- csharp
|
|
168
|
+
patterns:
|
|
169
|
+
- regex: .*
|
|
170
|
+
message: >-
|
|
171
|
+
XPath queries are constructed dynamically on user-controlled input. This vulnerability in code could lead to
|
|
172
|
+
an XPath Injection exploitation.
|
|
173
|
+
cwe:
|
|
174
|
+
- CWE-643
|
|
175
|
+
owasp:
|
|
176
|
+
- A03:2021
|
|
177
|
+
- A05:2025
|
|
178
|
+
references:
|
|
179
|
+
- https://owasp.org/Top10/A03_2021-Injection/
|
|
180
|
+
- https://cwe.mitre.org/data/definitions/643.html
|
|
181
|
+
tags:
|
|
182
|
+
- .net
|
|
183
|
+
- id: mvc-missing-antiforgery
|
|
184
|
+
name: mvc-missing-antiforgery
|
|
185
|
+
description: >-
|
|
186
|
+
$METHOD is a state-changing MVC method that does not validate the antiforgery token or do strict content-type
|
|
187
|
+
checking. State-changing controller methods should either enforce antiforgery tokens or do strict content-type
|
|
188
|
+
checking to prevent simple HTTP request types from bypassing CORS preflight controls.
|
|
189
|
+
category: security
|
|
190
|
+
severity: medium
|
|
191
|
+
confidence: medium
|
|
192
|
+
languages:
|
|
193
|
+
- csharp
|
|
194
|
+
patterns:
|
|
195
|
+
- pattern: |
|
|
196
|
+
[$HTTPMETHOD]
|
|
197
|
+
public IActionResult $METHOD(...){
|
|
198
|
+
...
|
|
199
|
+
}
|
|
200
|
+
message: >-
|
|
201
|
+
$METHOD is a state-changing MVC method that does not validate the antiforgery token or do strict content-type
|
|
202
|
+
checking. State-changing controller methods should either enforce antiforgery tokens or do strict content-type
|
|
203
|
+
checking to prevent simple HTTP request types from bypassing CORS preflight controls.
|
|
204
|
+
cwe:
|
|
205
|
+
- CWE-352
|
|
206
|
+
owasp:
|
|
207
|
+
- A01:2021
|
|
208
|
+
- A01:2025
|
|
209
|
+
references:
|
|
210
|
+
- https://cheatsheetseries.owasp.org/cheatsheets/DotNet_Security_Cheat_Sheet.html#cross-site-request-forgery
|
|
211
|
+
- https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#simple_requests
|
|
212
|
+
tags:
|
|
213
|
+
- .net
|
|
214
|
+
- mvc
|
|
215
|
+
- id: razor-template-injection
|
|
216
|
+
name: razor-template-injection
|
|
217
|
+
description: >-
|
|
218
|
+
User-controllable string passed to Razor.Parse. This leads directly to code execution in the context of the
|
|
219
|
+
process.
|
|
220
|
+
category: security
|
|
221
|
+
severity: medium
|
|
222
|
+
confidence: medium
|
|
223
|
+
languages:
|
|
224
|
+
- csharp
|
|
225
|
+
patterns:
|
|
226
|
+
- regex: .*
|
|
227
|
+
message: >-
|
|
228
|
+
User-controllable string passed to Razor.Parse. This leads directly to code execution in the context of the
|
|
229
|
+
process.
|
|
230
|
+
cwe:
|
|
231
|
+
- CWE-94
|
|
232
|
+
owasp:
|
|
233
|
+
- A03:2021
|
|
234
|
+
- A05:2025
|
|
235
|
+
references:
|
|
236
|
+
- https://clement.notin.org/blog/2020/04/15/Server-Side-Template-Injection-(SSTI)-in-ASP.NET-Razor/
|
|
237
|
+
tags:
|
|
238
|
+
- .net
|
|
239
|
+
- razor
|
|
240
|
+
- asp
|
|
241
|
+
- id: use_deprecated_cipher_algorithm
|
|
242
|
+
name: use_deprecated_cipher_algorithm
|
|
243
|
+
description: Usage of deprecated cipher algorithm detected. Use Aes or ChaCha20Poly1305 instead.
|
|
244
|
+
category: crypto
|
|
245
|
+
severity: high
|
|
246
|
+
confidence: medium
|
|
247
|
+
languages:
|
|
248
|
+
- csharp
|
|
249
|
+
patterns:
|
|
250
|
+
- pattern: $KEYTYPE.Create(...);
|
|
251
|
+
message: Usage of deprecated cipher algorithm detected. Use Aes or ChaCha20Poly1305 instead.
|
|
252
|
+
cwe:
|
|
253
|
+
- CWE-327
|
|
254
|
+
owasp:
|
|
255
|
+
- A02:2021
|
|
256
|
+
- A04:2025
|
|
257
|
+
references:
|
|
258
|
+
- https://learn.microsoft.com/en-gb/dotnet/api/system.security.cryptography.des?view=net-6.0#remarks
|
|
259
|
+
- https://learn.microsoft.com/en-gb/dotnet/api/system.security.cryptography.rc2?view=net-6.0#remarks
|
|
260
|
+
- https://learn.microsoft.com/en-gb/dotnet/api/system.security.cryptography.aes?view=net-6.0
|
|
261
|
+
- https://learn.microsoft.com/en-gb/dotnet/api/system.security.cryptography.chacha20poly1305?view=net-6.0
|
|
262
|
+
tags:
|
|
263
|
+
- .net
|
|
264
|
+
- id: use_ecb_mode
|
|
265
|
+
name: use_ecb_mode
|
|
266
|
+
description: >-
|
|
267
|
+
Usage of the insecure ECB mode detected. You should use an authenticated encryption mode instead, which is
|
|
268
|
+
implemented by the classes AesGcm or ChaCha20Poly1305.
|
|
269
|
+
category: security
|
|
270
|
+
severity: medium
|
|
271
|
+
confidence: medium
|
|
272
|
+
languages:
|
|
273
|
+
- csharp
|
|
274
|
+
patterns:
|
|
275
|
+
- regex: .*
|
|
276
|
+
message: >-
|
|
277
|
+
Usage of the insecure ECB mode detected. You should use an authenticated encryption mode instead, which is
|
|
278
|
+
implemented by the classes AesGcm or ChaCha20Poly1305.
|
|
279
|
+
cwe:
|
|
280
|
+
- CWE-327
|
|
281
|
+
owasp:
|
|
282
|
+
- A02:2021
|
|
283
|
+
- A04:2025
|
|
284
|
+
references:
|
|
285
|
+
- https://learn.microsoft.com/en-gb/dotnet/api/system.security.cryptography.chacha20poly1305?view=net-6.0
|
|
286
|
+
- https://learn.microsoft.com/en-gb/dotnet/api/system.security.cryptography.aesgcm?view=net-6.0
|
|
287
|
+
- https://learn.microsoft.com/en-gb/dotnet/api/system.security.cryptography.ciphermode?view=net-6.0
|
|
288
|
+
- https://cheatsheetseries.owasp.org/cheatsheets/Cryptographic_Storage_Cheat_Sheet.html#cipher-modes
|
|
289
|
+
tags:
|
|
290
|
+
- .net
|
|
291
|
+
- id: use_weak_rng_for_keygeneration
|
|
292
|
+
name: use_weak_rng_for_keygeneration
|
|
293
|
+
description: >-
|
|
294
|
+
You are using an insecure random number generator (RNG) to create a cryptographic key. System.Random must never be
|
|
295
|
+
used for cryptographic purposes. Use System.Security.Cryptography.RandomNumberGenerator instead.
|
|
296
|
+
category: secrets
|
|
297
|
+
severity: high
|
|
298
|
+
confidence: medium
|
|
299
|
+
languages:
|
|
300
|
+
- csharp
|
|
301
|
+
patterns:
|
|
302
|
+
- regex: .*
|
|
303
|
+
message: >-
|
|
304
|
+
You are using an insecure random number generator (RNG) to create a cryptographic key. System.Random must
|
|
305
|
+
never be used for cryptographic purposes. Use System.Security.Cryptography.RandomNumberGenerator instead.
|
|
306
|
+
cwe:
|
|
307
|
+
- CWE-338
|
|
308
|
+
owasp:
|
|
309
|
+
- A02:2021
|
|
310
|
+
- A04:2025
|
|
311
|
+
references:
|
|
312
|
+
- https://learn.microsoft.com/en-us/dotnet/api/system.random?view=net-6.0#remarks
|
|
313
|
+
- https://learn.microsoft.com/en-us/dotnet/api/system.security.cryptography.randomnumbergenerator?view=net-6.0
|
|
314
|
+
- https://learn.microsoft.com/en-us/dotnet/api/system.security.cryptography.aesgcm?view=net-6.0#constructors
|
|
315
|
+
- >-
|
|
316
|
+
https://learn.microsoft.com/en-us/dotnet/api/system.security.cryptography.symmetricalgorithm.key?view=net-6.0#system-security-cryptography-symmetricalgorithm-key
|
|
317
|
+
tags:
|
|
318
|
+
- .net
|
|
319
|
+
- id: use_weak_rsa_encryption_padding
|
|
320
|
+
name: use_weak_rsa_encryption_padding
|
|
321
|
+
description: You are using the outdated PKCS#1 v1.5 encryption padding for your RSA key. Use the OAEP padding instead.
|
|
322
|
+
category: security
|
|
323
|
+
severity: medium
|
|
324
|
+
confidence: medium
|
|
325
|
+
languages:
|
|
326
|
+
- csharp
|
|
327
|
+
patterns:
|
|
328
|
+
- pattern: (RSAPKCS1KeyExchangeFormatter $FORMATER).CreateKeyExchange(...);
|
|
329
|
+
message: You are using the outdated PKCS#1 v1.5 encryption padding for your RSA key. Use the OAEP padding instead.
|
|
330
|
+
- pattern: (RSAPKCS1KeyExchangeDeformatter $DEFORMATER).DecryptKeyExchange(...);
|
|
331
|
+
message: You are using the outdated PKCS#1 v1.5 encryption padding for your RSA key. Use the OAEP padding instead.
|
|
332
|
+
cwe:
|
|
333
|
+
- CWE-780
|
|
334
|
+
owasp:
|
|
335
|
+
- A02:2021
|
|
336
|
+
- A04:2025
|
|
337
|
+
references:
|
|
338
|
+
- https://learn.microsoft.com/en-gb/dotnet/api/system.security.cryptography.rsapkcs1keyexchangeformatter
|
|
339
|
+
- https://learn.microsoft.com/en-gb/dotnet/api/system.security.cryptography.rsaoaepkeyexchangeformatter
|
|
340
|
+
- https://learn.microsoft.com/en-gb/dotnet/api/system.security.cryptography.rsapkcs1keyexchangedeformatter
|
|
341
|
+
- https://learn.microsoft.com/en-gb/dotnet/api/system.security.cryptography.rsaoaepkeyexchangedeformatter
|
|
342
|
+
tags:
|
|
343
|
+
- .net
|
|
344
|
+
- id: structured-logging
|
|
345
|
+
name: structured-logging
|
|
346
|
+
description: >-
|
|
347
|
+
String interpolation in log message obscures the distinction between variables and the log message. Use structured
|
|
348
|
+
logging instead, where the variables are passed as additional arguments and the interpolation is performed by the
|
|
349
|
+
logging library. This reduces the possibility of log injection and makes it easier to search through logs.
|
|
350
|
+
category: security
|
|
351
|
+
severity: low
|
|
352
|
+
confidence: medium
|
|
353
|
+
languages:
|
|
354
|
+
- csharp
|
|
355
|
+
patterns:
|
|
356
|
+
- regex: .*
|
|
357
|
+
message: >-
|
|
358
|
+
String interpolation in log message obscures the distinction between variables and the log message. Use
|
|
359
|
+
structured logging instead, where the variables are passed as additional arguments and the interpolation is
|
|
360
|
+
performed by the logging library. This reduces the possibility of log injection and makes it easier to search
|
|
361
|
+
through logs.
|
|
362
|
+
cwe:
|
|
363
|
+
- CWE-117
|
|
364
|
+
owasp:
|
|
365
|
+
- A09:2021
|
|
366
|
+
- A09:2025
|
|
367
|
+
references:
|
|
368
|
+
- https://github.com/NLog/NLog/wiki/How-to-use-structured-logging
|
|
369
|
+
- https://softwareengineering.stackexchange.com/questions/312197/benefits-of-structured-logging-vs-basic-logging
|
|
370
|
+
tags:
|
|
371
|
+
- .net
|
|
372
|
+
- serilog
|
|
373
|
+
- nlog
|
|
374
|
+
- id: correctness-double-epsilon-equality
|
|
375
|
+
name: correctness-double-epsilon-equality
|
|
376
|
+
description: >-
|
|
377
|
+
Double.Epsilon is defined by .NET as the smallest value that can be added to or subtracted from a zero-value
|
|
378
|
+
Double. It is unsuitable for equality comparisons of non-zero Double values. Furthermore, the value of
|
|
379
|
+
Double.Epsilon is framework and processor architecture dependent. Wherever possible, developers should prefer the
|
|
380
|
+
framework Equals() method over custom equality implementations.
|
|
381
|
+
category: security
|
|
382
|
+
severity: medium
|
|
383
|
+
confidence: medium
|
|
384
|
+
languages:
|
|
385
|
+
- csharp
|
|
386
|
+
patterns:
|
|
387
|
+
- pattern: |
|
|
388
|
+
$V1 - $V2
|
|
389
|
+
message: >-
|
|
390
|
+
Double.Epsilon is defined by .NET as the smallest value that can be added to or subtracted from a zero-value
|
|
391
|
+
Double. It is unsuitable for equality comparisons of non-zero Double values. Furthermore, the value of
|
|
392
|
+
Double.Epsilon is framework and processor architecture dependent. Wherever possible, developers should prefer
|
|
393
|
+
the framework Equals() method over custom equality implementations.
|
|
394
|
+
cwe: []
|
|
395
|
+
owasp: []
|
|
396
|
+
references:
|
|
397
|
+
- https://docs.microsoft.com/en-us/dotnet/api/system.double?view=net-6.0#testing-for-equality
|
|
398
|
+
- https://docs.microsoft.com/en-us/dotnet/api/system.double.epsilon?view=net-6.0#platform-notes
|
|
399
|
+
tags:
|
|
400
|
+
- .net
|
|
401
|
+
- id: correctness-regioninfo-interop
|
|
402
|
+
name: correctness-regioninfo-interop
|
|
403
|
+
description: >-
|
|
404
|
+
Potential inter-process write of RegionInfo $RI via $PIPESTREAM $P that was instantiated with a two-character
|
|
405
|
+
culture code $REGION. Per .NET documentation, if you want to persist a RegionInfo object or communicate it
|
|
406
|
+
between processes, you should instantiate it by using a full culture name rather than a two-letter ISO region
|
|
407
|
+
code.
|
|
408
|
+
category: security
|
|
409
|
+
severity: medium
|
|
410
|
+
confidence: medium
|
|
411
|
+
languages:
|
|
412
|
+
- csharp
|
|
413
|
+
patterns:
|
|
414
|
+
- regex: .*
|
|
415
|
+
message: >-
|
|
416
|
+
Potential inter-process write of RegionInfo $RI via $PIPESTREAM $P that was instantiated with a two-character
|
|
417
|
+
culture code $REGION. Per .NET documentation, if you want to persist a RegionInfo object or communicate it
|
|
418
|
+
between processes, you should instantiate it by using a full culture name rather than a two-letter ISO region
|
|
419
|
+
code.
|
|
420
|
+
cwe: []
|
|
421
|
+
owasp: []
|
|
422
|
+
references:
|
|
423
|
+
- >-
|
|
424
|
+
https://docs.microsoft.com/en-us/dotnet/api/system.globalization.regioninfo.twoletterisoregionname?view=net-6.0#remarks
|
|
425
|
+
tags:
|
|
426
|
+
- .net
|
|
427
|
+
- id: correctness-sslcertificatetrust-handshake-no-trust
|
|
428
|
+
name: correctness-sslcertificatetrust-handshake-no-trust
|
|
429
|
+
description: >-
|
|
430
|
+
Sending the trusted CA list increases the size of the handshake request and can leak system configuration
|
|
431
|
+
information.
|
|
432
|
+
category: security
|
|
433
|
+
severity: medium
|
|
434
|
+
confidence: medium
|
|
435
|
+
languages:
|
|
436
|
+
- csharp
|
|
437
|
+
patterns:
|
|
438
|
+
- regex: .*
|
|
439
|
+
message: >-
|
|
440
|
+
Sending the trusted CA list increases the size of the handshake request and can leak system configuration
|
|
441
|
+
information.
|
|
442
|
+
cwe:
|
|
443
|
+
- CWE-200
|
|
444
|
+
owasp:
|
|
445
|
+
- A03:2017
|
|
446
|
+
references:
|
|
447
|
+
- >-
|
|
448
|
+
https://docs.microsoft.com/en-us/dotnet/api/system.net.security.sslcertificatetrust.createforx509collection?view=net-6.0#remarks
|
|
449
|
+
- >-
|
|
450
|
+
https://docs.microsoft.com/en-us/dotnet/api/system.net.security.sslcertificatetrust.createforx509store?view=net-6.0#remarks
|
|
451
|
+
tags:
|
|
452
|
+
- .net
|
|
453
|
+
- id: jwt-tokenvalidationparameters-no-expiry-validation
|
|
454
|
+
name: jwt-tokenvalidationparameters-no-expiry-validation
|
|
455
|
+
description: >-
|
|
456
|
+
The TokenValidationParameters.$LIFETIME is set to $FALSE, this means the JWT tokens lifetime is not validated.
|
|
457
|
+
This can lead to an JWT token being used after it has expired, which has security implications. It is recommended
|
|
458
|
+
to validate the JWT lifetime to ensure only valid tokens are used.
|
|
459
|
+
category: secrets
|
|
460
|
+
severity: medium
|
|
461
|
+
confidence: medium
|
|
462
|
+
languages:
|
|
463
|
+
- csharp
|
|
464
|
+
patterns:
|
|
465
|
+
- regex: .*
|
|
466
|
+
message: >-
|
|
467
|
+
The TokenValidationParameters.$LIFETIME is set to $FALSE, this means the JWT tokens lifetime is not validated.
|
|
468
|
+
This can lead to an JWT token being used after it has expired, which has security implications. It is
|
|
469
|
+
recommended to validate the JWT lifetime to ensure only valid tokens are used.
|
|
470
|
+
cwe:
|
|
471
|
+
- CWE-613
|
|
472
|
+
owasp:
|
|
473
|
+
- A02:2017
|
|
474
|
+
- A07:2021
|
|
475
|
+
- A07:2025
|
|
476
|
+
references:
|
|
477
|
+
- https://owasp.org/Top10/A07_2021-Identification_and_Authentication_Failures/
|
|
478
|
+
- https://cwe.mitre.org/data/definitions/613.html
|
|
479
|
+
- >-
|
|
480
|
+
https://docs.microsoft.com/en-us/dotnet/api/microsoft.identitymodel.tokens.tokenvalidationparameters?view=azure-dotnet
|
|
481
|
+
tags:
|
|
482
|
+
- csharp
|
|
483
|
+
- id: unsigned-security-token
|
|
484
|
+
name: unsigned-security-token
|
|
485
|
+
description: >-
|
|
486
|
+
Accepting unsigned security tokens as valid security tokens allows an attacker to remove its signature and
|
|
487
|
+
potentially forge an identity. As a fix, set RequireSignedTokens to be true.
|
|
488
|
+
category: secrets
|
|
489
|
+
severity: high
|
|
490
|
+
confidence: medium
|
|
491
|
+
languages:
|
|
492
|
+
- csharp
|
|
493
|
+
patterns:
|
|
494
|
+
- pattern: RequireSignedTokens = false
|
|
495
|
+
message: >-
|
|
496
|
+
Accepting unsigned security tokens as valid security tokens allows an attacker to remove its signature and
|
|
497
|
+
potentially forge an identity. As a fix, set RequireSignedTokens to be true.
|
|
498
|
+
cwe:
|
|
499
|
+
- CWE-347
|
|
500
|
+
owasp:
|
|
501
|
+
- A02:2021
|
|
502
|
+
- A04:2025
|
|
503
|
+
references:
|
|
504
|
+
- https://owasp.org/Top10/A01_2021-Broken_Access_Control/
|
|
505
|
+
- https://owasp.org/Top10/A02_2021-Cryptographic_Failures/
|
|
506
|
+
- https://cwe.mitre.org/data/definitions/347
|
|
507
|
+
tags:
|
|
508
|
+
- csharp
|
|
509
|
+
- id: X509-subject-name-validation
|
|
510
|
+
name: X509-subject-name-validation
|
|
511
|
+
description: Validating certificates based on subject name is bad practice. Use the X509Certificate2.Verify() method instead.
|
|
512
|
+
category: security
|
|
513
|
+
severity: medium
|
|
514
|
+
confidence: medium
|
|
515
|
+
languages:
|
|
516
|
+
- csharp
|
|
517
|
+
patterns:
|
|
518
|
+
- regex: .*
|
|
519
|
+
message: >-
|
|
520
|
+
Validating certificates based on subject name is bad practice. Use the X509Certificate2.Verify() method
|
|
521
|
+
instead.
|
|
522
|
+
cwe:
|
|
523
|
+
- CWE-295
|
|
524
|
+
owasp:
|
|
525
|
+
- A03:2017
|
|
526
|
+
- A07:2021
|
|
527
|
+
- A07:2025
|
|
528
|
+
references:
|
|
529
|
+
- https://docs.microsoft.com/en-us/dotnet/api/system.identitymodel.tokens.issuernameregistry?view=netframework-4.8
|
|
530
|
+
tags:
|
|
531
|
+
- .net
|
|
532
|
+
- id: X509Certificate2-privkey
|
|
533
|
+
name: X509Certificate2-privkey
|
|
534
|
+
description: >-
|
|
535
|
+
X509Certificate2.PrivateKey is obsolete. Use a method such as GetRSAPrivateKey() or GetECDsaPrivateKey().
|
|
536
|
+
Alternatively, use the CopyWithPrivateKey() method to create a new instance with a private key. Further, if you
|
|
537
|
+
set X509Certificate2.PrivateKey to `null` or set it to another key without deleting it first, the private key will
|
|
538
|
+
be left on disk.
|
|
539
|
+
category: secrets
|
|
540
|
+
severity: medium
|
|
541
|
+
confidence: medium
|
|
542
|
+
languages:
|
|
543
|
+
- C#
|
|
544
|
+
patterns:
|
|
545
|
+
- pattern: $CERT.PrivateKey
|
|
546
|
+
message: >-
|
|
547
|
+
X509Certificate2.PrivateKey is obsolete. Use a method such as GetRSAPrivateKey() or GetECDsaPrivateKey().
|
|
548
|
+
Alternatively, use the CopyWithPrivateKey() method to create a new instance with a private key. Further, if
|
|
549
|
+
you set X509Certificate2.PrivateKey to `null` or set it to another key without deleting it first, the private
|
|
550
|
+
key will be left on disk.
|
|
551
|
+
cwe:
|
|
552
|
+
- CWE-310
|
|
553
|
+
owasp:
|
|
554
|
+
- A02:2021
|
|
555
|
+
- A04:2025
|
|
556
|
+
references:
|
|
557
|
+
- >-
|
|
558
|
+
https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.x509certificates.x509certificate2.privatekey
|
|
559
|
+
tags:
|
|
560
|
+
- .net
|
|
561
|
+
- id: unsafe-path-combine
|
|
562
|
+
name: unsafe-path-combine
|
|
563
|
+
description: >-
|
|
564
|
+
String argument $A is used to read or write data from a file via Path.Combine without direct sanitization via
|
|
565
|
+
Path.GetFileName. If the path is user-supplied data this can lead to path traversal.
|
|
566
|
+
category: file-ops
|
|
567
|
+
severity: medium
|
|
568
|
+
confidence: medium
|
|
569
|
+
languages:
|
|
570
|
+
- csharp
|
|
571
|
+
patterns:
|
|
572
|
+
- regex: .*
|
|
573
|
+
message: >-
|
|
574
|
+
String argument $A is used to read or write data from a file via Path.Combine without direct sanitization via
|
|
575
|
+
Path.GetFileName. If the path is user-supplied data this can lead to path traversal.
|
|
576
|
+
cwe:
|
|
577
|
+
- CWE-22
|
|
578
|
+
owasp:
|
|
579
|
+
- A05:2017
|
|
580
|
+
- A01:2021
|
|
581
|
+
- A01:2025
|
|
582
|
+
references:
|
|
583
|
+
- https://www.praetorian.com/blog/pathcombine-security-issues-in-aspnet-applications/
|
|
584
|
+
- https://docs.microsoft.com/en-us/dotnet/api/system.io.path.combine?view=net-6.0#remarks
|
|
585
|
+
tags:
|
|
586
|
+
- .net
|
|
587
|
+
- id: http-listener-wildcard-bindings
|
|
588
|
+
name: http-listener-wildcard-bindings
|
|
589
|
+
description: >-
|
|
590
|
+
The top level wildcard bindings $PREFIX leaves your application open to security vulnerabilities and give
|
|
591
|
+
attackers more control over where traffic is routed. If you must use wildcards, consider using subdomain wildcard
|
|
592
|
+
binding. For example, you can use "*.asdf.gov" if you own all of "asdf.gov".
|
|
593
|
+
category: security
|
|
594
|
+
severity: medium
|
|
595
|
+
confidence: medium
|
|
596
|
+
languages:
|
|
597
|
+
- C#
|
|
598
|
+
patterns:
|
|
599
|
+
- pattern: $LISTENER.Prefixes.Add("$PREFIX")
|
|
600
|
+
message: >-
|
|
601
|
+
The top level wildcard bindings $PREFIX leaves your application open to security vulnerabilities and give
|
|
602
|
+
attackers more control over where traffic is routed. If you must use wildcards, consider using subdomain
|
|
603
|
+
wildcard binding. For example, you can use "*.asdf.gov" if you own all of "asdf.gov".
|
|
604
|
+
cwe:
|
|
605
|
+
- CWE-706
|
|
606
|
+
owasp:
|
|
607
|
+
- A01:2021
|
|
608
|
+
- A01:2025
|
|
609
|
+
references:
|
|
610
|
+
- https://docs.microsoft.com/en-us/dotnet/api/system.net.httplistener?view=net-6.0
|
|
611
|
+
tags:
|
|
612
|
+
- .net
|
|
613
|
+
- id: os-command-injection
|
|
614
|
+
name: os-command-injection
|
|
615
|
+
description: >-
|
|
616
|
+
The software constructs all or part of an OS command using externally-influenced input from an upstream component,
|
|
617
|
+
but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command
|
|
618
|
+
when it is sent to a downstream component.
|
|
619
|
+
category: injection
|
|
620
|
+
severity: high
|
|
621
|
+
confidence: medium
|
|
622
|
+
languages:
|
|
623
|
+
- csharp
|
|
624
|
+
patterns:
|
|
625
|
+
- regex: .*
|
|
626
|
+
message: >-
|
|
627
|
+
The software constructs all or part of an OS command using externally-influenced input from an upstream
|
|
628
|
+
component, but it does not neutralize or incorrectly neutralizes special elements that could modify the
|
|
629
|
+
intended OS command when it is sent to a downstream component.
|
|
630
|
+
cwe:
|
|
631
|
+
- CWE-78
|
|
632
|
+
owasp:
|
|
633
|
+
- A01:2017
|
|
634
|
+
- A03:2021
|
|
635
|
+
- A05:2025
|
|
636
|
+
references:
|
|
637
|
+
- https://owasp.org/www-community/attacks/Command_Injection
|
|
638
|
+
tags:
|
|
639
|
+
- .net
|
|
640
|
+
- id: insecure-binaryformatter-deserialization
|
|
641
|
+
name: insecure-binaryformatter-deserialization
|
|
642
|
+
description: >-
|
|
643
|
+
The BinaryFormatter type is dangerous and is not recommended for data processing. Applications should stop using
|
|
644
|
+
BinaryFormatter as soon as possible, even if they believe the data they're processing to be trustworthy.
|
|
645
|
+
BinaryFormatter is insecure and can't be made secure
|
|
646
|
+
category: security
|
|
647
|
+
severity: medium
|
|
648
|
+
confidence: medium
|
|
649
|
+
languages:
|
|
650
|
+
- C#
|
|
651
|
+
patterns:
|
|
652
|
+
- pattern: |
|
|
653
|
+
new BinaryFormatter();
|
|
654
|
+
message: >-
|
|
655
|
+
The BinaryFormatter type is dangerous and is not recommended for data processing. Applications should stop
|
|
656
|
+
using BinaryFormatter as soon as possible, even if they believe the data they're processing to be trustworthy.
|
|
657
|
+
BinaryFormatter is insecure and can't be made secure
|
|
658
|
+
cwe:
|
|
659
|
+
- CWE-502
|
|
660
|
+
owasp:
|
|
661
|
+
- A08:2017
|
|
662
|
+
- A08:2021
|
|
663
|
+
- A08:2025
|
|
664
|
+
references:
|
|
665
|
+
- https://docs.microsoft.com/en-us/dotnet/standard/serialization/binaryformatter-security-guide
|
|
666
|
+
tags:
|
|
667
|
+
- .net
|
|
668
|
+
- id: data-contract-resolver
|
|
669
|
+
name: data-contract-resolver
|
|
670
|
+
description: >-
|
|
671
|
+
Only use DataContractResolver if you are completely sure of what information is being serialized. Malicious types
|
|
672
|
+
can cause unexpected behavior.
|
|
673
|
+
category: security
|
|
674
|
+
severity: medium
|
|
675
|
+
confidence: medium
|
|
676
|
+
languages:
|
|
677
|
+
- C#
|
|
678
|
+
patterns:
|
|
679
|
+
- pattern: |
|
|
680
|
+
class $MYDCR : DataContractResolver { ... }
|
|
681
|
+
message: >-
|
|
682
|
+
Only use DataContractResolver if you are completely sure of what information is being serialized. Malicious
|
|
683
|
+
types can cause unexpected behavior.
|
|
684
|
+
cwe:
|
|
685
|
+
- CWE-502
|
|
686
|
+
owasp:
|
|
687
|
+
- A08:2017
|
|
688
|
+
- A08:2021
|
|
689
|
+
- A08:2025
|
|
690
|
+
references:
|
|
691
|
+
- https://docs.microsoft.com/en-us/dotnet/standard/serialization/binaryformatter-security-guide
|
|
692
|
+
tags:
|
|
693
|
+
- .net
|
|
694
|
+
- id: insecure-fastjson-deserialization
|
|
695
|
+
name: insecure-fastjson-deserialization
|
|
696
|
+
description: >-
|
|
697
|
+
$type extension has the potential to be unsafe, so use it with common sense and known json sources and not public
|
|
698
|
+
facing ones to be safe
|
|
699
|
+
category: security
|
|
700
|
+
severity: medium
|
|
701
|
+
confidence: medium
|
|
702
|
+
languages:
|
|
703
|
+
- C#
|
|
704
|
+
patterns:
|
|
705
|
+
- pattern: |
|
|
706
|
+
new JSONParameters
|
|
707
|
+
{
|
|
708
|
+
BadListTypeChecking = false
|
|
709
|
+
}
|
|
710
|
+
message: >-
|
|
711
|
+
$type extension has the potential to be unsafe, so use it with common sense and known json sources and not
|
|
712
|
+
public facing ones to be safe
|
|
713
|
+
cwe:
|
|
714
|
+
- CWE-502
|
|
715
|
+
owasp:
|
|
716
|
+
- A08:2017
|
|
717
|
+
- A08:2021
|
|
718
|
+
- A08:2025
|
|
719
|
+
references:
|
|
720
|
+
- https://github.com/mgholam/fastJSON#security-warning-update
|
|
721
|
+
tags:
|
|
722
|
+
- .net
|
|
723
|
+
- id: insecure-fspickler-deserialization
|
|
724
|
+
name: insecure-fspickler-deserialization
|
|
725
|
+
description: >-
|
|
726
|
+
The FsPickler is dangerous and is not recommended for data processing. Default configuration tend to insecure
|
|
727
|
+
deserialization vulnerability.
|
|
728
|
+
category: security
|
|
729
|
+
severity: medium
|
|
730
|
+
confidence: medium
|
|
731
|
+
languages:
|
|
732
|
+
- C#
|
|
733
|
+
patterns:
|
|
734
|
+
- pattern: |
|
|
735
|
+
FsPickler.CreateJsonSerializer();
|
|
736
|
+
message: >-
|
|
737
|
+
The FsPickler is dangerous and is not recommended for data processing. Default configuration tend to insecure
|
|
738
|
+
deserialization vulnerability.
|
|
739
|
+
cwe:
|
|
740
|
+
- CWE-502
|
|
741
|
+
owasp:
|
|
742
|
+
- A08:2017
|
|
743
|
+
- A08:2021
|
|
744
|
+
- A08:2025
|
|
745
|
+
references:
|
|
746
|
+
- https://mbraceproject.github.io/FsPickler/tutorial.html#Disabling-Subtype-Resolution
|
|
747
|
+
tags:
|
|
748
|
+
- .net
|
|
749
|
+
- id: insecure-typefilterlevel-full
|
|
750
|
+
name: insecure-typefilterlevel-full
|
|
751
|
+
description: >-
|
|
752
|
+
Using a .NET remoting service can lead to RCE, even if you try to configure TypeFilterLevel. Recommended to switch
|
|
753
|
+
from .NET Remoting to WCF https://docs.microsoft.com/en-us/dotnet/framework/wcf/migrating-from-net-remoting-to-wcf
|
|
754
|
+
category: security
|
|
755
|
+
severity: medium
|
|
756
|
+
confidence: medium
|
|
757
|
+
languages:
|
|
758
|
+
- C#
|
|
759
|
+
patterns:
|
|
760
|
+
- regex: .*
|
|
761
|
+
message: >-
|
|
762
|
+
Using a .NET remoting service can lead to RCE, even if you try to configure TypeFilterLevel. Recommended to
|
|
763
|
+
switch from .NET Remoting to WCF
|
|
764
|
+
https://docs.microsoft.com/en-us/dotnet/framework/wcf/migrating-from-net-remoting-to-wcf
|
|
765
|
+
cwe:
|
|
766
|
+
- CWE-502
|
|
767
|
+
owasp:
|
|
768
|
+
- A08:2017
|
|
769
|
+
- A08:2021
|
|
770
|
+
- A08:2025
|
|
771
|
+
references:
|
|
772
|
+
- https://docs.microsoft.com/en-us/dotnet/api/system.runtime.serialization.formatters.typefilterlevel?view=net-6.0
|
|
773
|
+
- https://www.synacktiv.com/en/publications/izi-izi-pwn2own-ics-miami.html
|
|
774
|
+
tags:
|
|
775
|
+
- .net
|
|
776
|
+
- id: insecure-javascriptserializer-deserialization
|
|
777
|
+
name: insecure-javascriptserializer-deserialization
|
|
778
|
+
description: >-
|
|
779
|
+
The SimpleTypeResolver class is insecure and should not be used. Using SimpleTypeResolver to deserialize JSON
|
|
780
|
+
could allow the remote client to execute malicious code within the app and take control of the web server.
|
|
781
|
+
category: security
|
|
782
|
+
severity: high
|
|
783
|
+
confidence: medium
|
|
784
|
+
languages:
|
|
785
|
+
- C#
|
|
786
|
+
patterns:
|
|
787
|
+
- pattern: |
|
|
788
|
+
new JavaScriptSerializer((SimpleTypeResolver $RESOLVER))
|
|
789
|
+
message: >-
|
|
790
|
+
The SimpleTypeResolver class is insecure and should not be used. Using SimpleTypeResolver to deserialize JSON
|
|
791
|
+
could allow the remote client to execute malicious code within the app and take control of the web server.
|
|
792
|
+
cwe:
|
|
793
|
+
- CWE-502
|
|
794
|
+
owasp:
|
|
795
|
+
- A08:2017
|
|
796
|
+
- A08:2021
|
|
797
|
+
- A08:2025
|
|
798
|
+
references:
|
|
799
|
+
- >-
|
|
800
|
+
https://docs.microsoft.com/en-us/dotnet/api/system.web.script.serialization.simpletyperesolver?view=netframework-4.8#remarks
|
|
801
|
+
tags:
|
|
802
|
+
- .net
|
|
803
|
+
- id: insecure-losformatter-deserialization
|
|
804
|
+
name: insecure-losformatter-deserialization
|
|
805
|
+
description: >-
|
|
806
|
+
The LosFormatter type is dangerous and is not recommended for data processing. Applications should stop using
|
|
807
|
+
LosFormatter as soon as possible, even if they believe the data they're processing to be trustworthy. LosFormatter
|
|
808
|
+
is insecure and can't be made secure
|
|
809
|
+
category: security
|
|
810
|
+
severity: medium
|
|
811
|
+
confidence: medium
|
|
812
|
+
languages:
|
|
813
|
+
- C#
|
|
814
|
+
patterns:
|
|
815
|
+
- pattern: |
|
|
816
|
+
new LosFormatter();
|
|
817
|
+
message: >-
|
|
818
|
+
The LosFormatter type is dangerous and is not recommended for data processing. Applications should stop using
|
|
819
|
+
LosFormatter as soon as possible, even if they believe the data they're processing to be trustworthy.
|
|
820
|
+
LosFormatter is insecure and can't be made secure
|
|
821
|
+
cwe:
|
|
822
|
+
- CWE-502
|
|
823
|
+
owasp:
|
|
824
|
+
- A08:2017
|
|
825
|
+
- A08:2021
|
|
826
|
+
- A08:2025
|
|
827
|
+
references:
|
|
828
|
+
- https://docs.microsoft.com/en-us/dotnet/api/system.web.ui.losformatter?view=netframework-4.8
|
|
829
|
+
tags:
|
|
830
|
+
- .net
|
|
831
|
+
- id: insecure-netdatacontract-deserialization
|
|
832
|
+
name: insecure-netdatacontract-deserialization
|
|
833
|
+
description: >-
|
|
834
|
+
The NetDataContractSerializer type is dangerous and is not recommended for data processing. Applications should
|
|
835
|
+
stop using NetDataContractSerializer as soon as possible, even if they believe the data they're processing to be
|
|
836
|
+
trustworthy. NetDataContractSerializer is insecure and can't be made secure
|
|
837
|
+
category: security
|
|
838
|
+
severity: medium
|
|
839
|
+
confidence: medium
|
|
840
|
+
languages:
|
|
841
|
+
- C#
|
|
842
|
+
patterns:
|
|
843
|
+
- pattern: |
|
|
844
|
+
new NetDataContractSerializer();
|
|
845
|
+
message: >-
|
|
846
|
+
The NetDataContractSerializer type is dangerous and is not recommended for data processing. Applications
|
|
847
|
+
should stop using NetDataContractSerializer as soon as possible, even if they believe the data they're
|
|
848
|
+
processing to be trustworthy. NetDataContractSerializer is insecure and can't be made secure
|
|
849
|
+
cwe:
|
|
850
|
+
- CWE-502
|
|
851
|
+
owasp:
|
|
852
|
+
- A08:2017
|
|
853
|
+
- A08:2021
|
|
854
|
+
- A08:2025
|
|
855
|
+
references:
|
|
856
|
+
- >-
|
|
857
|
+
https://docs.microsoft.com/en-us/dotnet/api/system.runtime.serialization.netdatacontractserializer?view=netframework-4.8#security
|
|
858
|
+
tags:
|
|
859
|
+
- .net
|
|
860
|
+
- id: insecure-newtonsoft-deserialization
|
|
861
|
+
name: insecure-newtonsoft-deserialization
|
|
862
|
+
description: >-
|
|
863
|
+
TypeNameHandling $TYPEHANDLER is unsafe and can lead to arbitrary code execution in the context of the process.
|
|
864
|
+
Use a custom SerializationBinder whenever using a setting other than TypeNameHandling.None.
|
|
865
|
+
category: security
|
|
866
|
+
severity: medium
|
|
867
|
+
confidence: medium
|
|
868
|
+
languages:
|
|
869
|
+
- csharp
|
|
870
|
+
patterns:
|
|
871
|
+
- regex: .*
|
|
872
|
+
message: >-
|
|
873
|
+
TypeNameHandling $TYPEHANDLER is unsafe and can lead to arbitrary code execution in the context of the
|
|
874
|
+
process. Use a custom SerializationBinder whenever using a setting other than TypeNameHandling.None.
|
|
875
|
+
cwe:
|
|
876
|
+
- CWE-502
|
|
877
|
+
owasp:
|
|
878
|
+
- A08:2017
|
|
879
|
+
- A08:2021
|
|
880
|
+
- A08:2025
|
|
881
|
+
references:
|
|
882
|
+
- https://www.newtonsoft.com/json/help/html/T_Newtonsoft_Json_TypeNameHandling.htm#remarks
|
|
883
|
+
tags:
|
|
884
|
+
- .net
|
|
885
|
+
- newtonsoft
|
|
886
|
+
- json
|
|
887
|
+
- id: insecure-soapformatter-deserialization
|
|
888
|
+
name: insecure-soapformatter-deserialization
|
|
889
|
+
description: >-
|
|
890
|
+
The SoapFormatter type is dangerous and is not recommended for data processing. Applications should stop using
|
|
891
|
+
SoapFormatter as soon as possible, even if they believe the data they're processing to be trustworthy.
|
|
892
|
+
SoapFormatter is insecure and can't be made secure
|
|
893
|
+
category: security
|
|
894
|
+
severity: medium
|
|
895
|
+
confidence: medium
|
|
896
|
+
languages:
|
|
897
|
+
- C#
|
|
898
|
+
patterns:
|
|
899
|
+
- pattern: |
|
|
900
|
+
new SoapFormatter();
|
|
901
|
+
message: >-
|
|
902
|
+
The SoapFormatter type is dangerous and is not recommended for data processing. Applications should stop using
|
|
903
|
+
SoapFormatter as soon as possible, even if they believe the data they're processing to be trustworthy.
|
|
904
|
+
SoapFormatter is insecure and can't be made secure
|
|
905
|
+
cwe:
|
|
906
|
+
- CWE-502
|
|
907
|
+
owasp:
|
|
908
|
+
- A08:2017
|
|
909
|
+
- A08:2021
|
|
910
|
+
- A08:2025
|
|
911
|
+
references:
|
|
912
|
+
- >-
|
|
913
|
+
https://docs.microsoft.com/en-us/dotnet/api/system.runtime.serialization.formatters.soap.soapformatter?view=netframework-4.8#remarks
|
|
914
|
+
tags:
|
|
915
|
+
- .net
|
|
916
|
+
- id: memory-marshal-create-span
|
|
917
|
+
name: memory-marshal-create-span
|
|
918
|
+
description: >-
|
|
919
|
+
MemoryMarshal.CreateSpan and MemoryMarshal.CreateReadOnlySpan should be used with caution, as the length argument
|
|
920
|
+
is not checked.
|
|
921
|
+
category: security
|
|
922
|
+
severity: medium
|
|
923
|
+
confidence: medium
|
|
924
|
+
languages:
|
|
925
|
+
- C#
|
|
926
|
+
patterns:
|
|
927
|
+
- pattern: MemoryMarshal.CreateSpan(...)
|
|
928
|
+
message: >-
|
|
929
|
+
MemoryMarshal.CreateSpan and MemoryMarshal.CreateReadOnlySpan should be used with caution, as the length
|
|
930
|
+
argument is not checked.
|
|
931
|
+
- pattern: MemoryMarshal.CreateReadOnlySpan(...)
|
|
932
|
+
message: >-
|
|
933
|
+
MemoryMarshal.CreateSpan and MemoryMarshal.CreateReadOnlySpan should be used with caution, as the length
|
|
934
|
+
argument is not checked.
|
|
935
|
+
cwe:
|
|
936
|
+
- CWE-125
|
|
937
|
+
owasp:
|
|
938
|
+
- A04:2021
|
|
939
|
+
- A06:2025
|
|
940
|
+
references:
|
|
941
|
+
- https://docs.microsoft.com/en-us/dotnet/api/system.runtime.interopservices.memorymarshal.createspan?view=net-6.0
|
|
942
|
+
- >-
|
|
943
|
+
https://docs.microsoft.com/en-us/dotnet/api/system.runtime.interopservices.memorymarshal.createreadonlyspan?view=net-6.0
|
|
944
|
+
tags:
|
|
945
|
+
- .net
|
|
946
|
+
- id: missing-hsts-header
|
|
947
|
+
name: missing-hsts-header
|
|
948
|
+
description: >-
|
|
949
|
+
The HSTS HTTP response security header is missing, allowing interaction and communication to be sent over the
|
|
950
|
+
insecure HTTP protocol.
|
|
951
|
+
category: security
|
|
952
|
+
severity: medium
|
|
953
|
+
confidence: medium
|
|
954
|
+
languages:
|
|
955
|
+
- csharp
|
|
956
|
+
patterns:
|
|
957
|
+
- regex: .*
|
|
958
|
+
message: >-
|
|
959
|
+
The HSTS HTTP response security header is missing, allowing interaction and communication to be sent over the
|
|
960
|
+
insecure HTTP protocol.
|
|
961
|
+
cwe:
|
|
962
|
+
- CWE-346
|
|
963
|
+
owasp:
|
|
964
|
+
- A07:2021
|
|
965
|
+
- A07:2025
|
|
966
|
+
references:
|
|
967
|
+
- https://cwe.mitre.org/data/definitions/346.html
|
|
968
|
+
- https://owasp.org/Top10/A02_2021-Cryptographic_Failures/
|
|
969
|
+
tags:
|
|
970
|
+
- dotnet
|
|
971
|
+
- id: open-redirect
|
|
972
|
+
name: open-redirect
|
|
973
|
+
description: >-
|
|
974
|
+
A query string parameter may contain a URL value that could cause the web application to redirect the request to a
|
|
975
|
+
malicious website controlled by an attacker. Make sure to sanitize this parameter sufficiently.
|
|
976
|
+
category: security
|
|
977
|
+
severity: high
|
|
978
|
+
confidence: medium
|
|
979
|
+
languages:
|
|
980
|
+
- csharp
|
|
981
|
+
patterns:
|
|
982
|
+
- regex: .*
|
|
983
|
+
message: >-
|
|
984
|
+
A query string parameter may contain a URL value that could cause the web application to redirect the request
|
|
985
|
+
to a malicious website controlled by an attacker. Make sure to sanitize this parameter sufficiently.
|
|
986
|
+
cwe:
|
|
987
|
+
- CWE-601
|
|
988
|
+
owasp:
|
|
989
|
+
- A01:2021
|
|
990
|
+
- A01:2025
|
|
991
|
+
references:
|
|
992
|
+
- https://cwe.mitre.org/data/definitions/601.html
|
|
993
|
+
tags:
|
|
994
|
+
- csharp
|
|
995
|
+
- id: regular-expression-dos-infinite-timeout
|
|
996
|
+
name: regular-expression-dos-infinite-timeout
|
|
997
|
+
description: >-
|
|
998
|
+
Specifying the regex timeout leaves the system vulnerable to a regex-based Denial of Service (DoS) attack.
|
|
999
|
+
Consider setting the timeout to a short amount of time like 2 or 3 seconds. If you are sure you need an infinite
|
|
1000
|
+
timeout, double check that your context meets the conditions outlined in the "Notes to Callers" section at the
|
|
1001
|
+
bottom of this page:
|
|
1002
|
+
https://docs.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.regex.-ctor?view=net-6.0
|
|
1003
|
+
category: security
|
|
1004
|
+
severity: medium
|
|
1005
|
+
confidence: medium
|
|
1006
|
+
languages:
|
|
1007
|
+
- C#
|
|
1008
|
+
patterns:
|
|
1009
|
+
- regex: .*
|
|
1010
|
+
message: >-
|
|
1011
|
+
Specifying the regex timeout leaves the system vulnerable to a regex-based Denial of Service (DoS) attack.
|
|
1012
|
+
Consider setting the timeout to a short amount of time like 2 or 3 seconds. If you are sure you need an
|
|
1013
|
+
infinite timeout, double check that your context meets the conditions outlined in the "Notes to Callers"
|
|
1014
|
+
section at the bottom of this page:
|
|
1015
|
+
https://docs.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.regex.-ctor?view=net-6.0
|
|
1016
|
+
cwe:
|
|
1017
|
+
- CWE-1333
|
|
1018
|
+
owasp:
|
|
1019
|
+
- A01:2017
|
|
1020
|
+
references:
|
|
1021
|
+
- https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS
|
|
1022
|
+
- https://docs.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.regex.infinitematchtimeout
|
|
1023
|
+
- https://docs.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.regex.-ctor?view=net-6.0
|
|
1024
|
+
tags:
|
|
1025
|
+
- .net
|
|
1026
|
+
- id: regular-expression-dos
|
|
1027
|
+
name: regular-expression-dos
|
|
1028
|
+
description: >-
|
|
1029
|
+
When using `System.Text.RegularExpressions` to process untrusted input, pass a timeout. A malicious user can
|
|
1030
|
+
provide input to `RegularExpressions` that abuses the backtracking behaviour of this regular expression engine.
|
|
1031
|
+
This will lead to excessive CPU usage, causing a Denial-of-Service attack
|
|
1032
|
+
category: security
|
|
1033
|
+
severity: medium
|
|
1034
|
+
confidence: medium
|
|
1035
|
+
languages:
|
|
1036
|
+
- C#
|
|
1037
|
+
patterns:
|
|
1038
|
+
- regex: .*
|
|
1039
|
+
message: >-
|
|
1040
|
+
When using `System.Text.RegularExpressions` to process untrusted input, pass a timeout. A malicious user can
|
|
1041
|
+
provide input to `RegularExpressions` that abuses the backtracking behaviour of this regular expression
|
|
1042
|
+
engine. This will lead to excessive CPU usage, causing a Denial-of-Service attack
|
|
1043
|
+
cwe:
|
|
1044
|
+
- CWE-1333
|
|
1045
|
+
owasp:
|
|
1046
|
+
- A01:2017
|
|
1047
|
+
references:
|
|
1048
|
+
- https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS
|
|
1049
|
+
- https://docs.microsoft.com/en-us/dotnet/standard/base-types/regular-expressions#regular-expression-examples
|
|
1050
|
+
tags:
|
|
1051
|
+
- .net
|
|
1052
|
+
- id: csharp-sqli
|
|
1053
|
+
name: csharp-sqli
|
|
1054
|
+
description: >-
|
|
1055
|
+
Detected a formatted string in a SQL statement. This could lead to SQL injection if variables in the SQL statement
|
|
1056
|
+
are not properly sanitized. Use a prepared statements instead. You can obtain a PreparedStatement using
|
|
1057
|
+
'SqlCommand' and 'SqlParameter'.
|
|
1058
|
+
category: injection
|
|
1059
|
+
severity: high
|
|
1060
|
+
confidence: medium
|
|
1061
|
+
languages:
|
|
1062
|
+
- csharp
|
|
1063
|
+
patterns:
|
|
1064
|
+
- regex: .*
|
|
1065
|
+
message: >-
|
|
1066
|
+
Detected a formatted string in a SQL statement. This could lead to SQL injection if variables in the SQL
|
|
1067
|
+
statement are not properly sanitized. Use a prepared statements instead. You can obtain a PreparedStatement
|
|
1068
|
+
using 'SqlCommand' and 'SqlParameter'.
|
|
1069
|
+
cwe:
|
|
1070
|
+
- CWE-89
|
|
1071
|
+
owasp:
|
|
1072
|
+
- A01:2017
|
|
1073
|
+
- A03:2021
|
|
1074
|
+
- A05:2025
|
|
1075
|
+
references:
|
|
1076
|
+
- https://owasp.org/Top10/A03_2021-Injection
|
|
1077
|
+
tags:
|
|
1078
|
+
- csharp
|
|
1079
|
+
- id: ssrf
|
|
1080
|
+
name: ssrf
|
|
1081
|
+
description: >-
|
|
1082
|
+
SSRF is an attack vector that abuses an application to interact with the internal/external network or the machine
|
|
1083
|
+
itself.
|
|
1084
|
+
category: api-security
|
|
1085
|
+
severity: high
|
|
1086
|
+
confidence: medium
|
|
1087
|
+
languages:
|
|
1088
|
+
- csharp
|
|
1089
|
+
patterns:
|
|
1090
|
+
- regex: .*
|
|
1091
|
+
message: >-
|
|
1092
|
+
SSRF is an attack vector that abuses an application to interact with the internal/external network or the
|
|
1093
|
+
machine itself.
|
|
1094
|
+
cwe:
|
|
1095
|
+
- CWE-918
|
|
1096
|
+
owasp:
|
|
1097
|
+
- A10:2021
|
|
1098
|
+
- A01:2025
|
|
1099
|
+
references:
|
|
1100
|
+
- https://cheatsheetseries.owasp.org/cheatsheets/Server_Side_Request_Forgery_Prevention_Cheat_Sheet.html
|
|
1101
|
+
tags:
|
|
1102
|
+
- .net
|
|
1103
|
+
- id: stacktrace-disclosure
|
|
1104
|
+
name: stacktrace-disclosure
|
|
1105
|
+
description: >-
|
|
1106
|
+
Stacktrace information is displayed in a non-Development environment. Accidentally disclosing sensitive stack
|
|
1107
|
+
trace information in a production environment aids an attacker in reconnaissance and information gathering.
|
|
1108
|
+
category: security
|
|
1109
|
+
severity: medium
|
|
1110
|
+
confidence: medium
|
|
1111
|
+
languages:
|
|
1112
|
+
- csharp
|
|
1113
|
+
patterns:
|
|
1114
|
+
- pattern: $APP.UseDeveloperExceptionPage(...);
|
|
1115
|
+
message: >-
|
|
1116
|
+
Stacktrace information is displayed in a non-Development environment. Accidentally disclosing sensitive stack
|
|
1117
|
+
trace information in a production environment aids an attacker in reconnaissance and information gathering.
|
|
1118
|
+
cwe:
|
|
1119
|
+
- CWE-209
|
|
1120
|
+
owasp:
|
|
1121
|
+
- A06:2017
|
|
1122
|
+
- A04:2021
|
|
1123
|
+
- A06:2025
|
|
1124
|
+
references:
|
|
1125
|
+
- https://cwe.mitre.org/data/definitions/209.html
|
|
1126
|
+
- https://owasp.org/Top10/A04_2021-Insecure_Design/
|
|
1127
|
+
tags:
|
|
1128
|
+
- csharp
|
|
1129
|
+
- id: xmldocument-unsafe-parser-override
|
|
1130
|
+
name: xmldocument-unsafe-parser-override
|
|
1131
|
+
description: >-
|
|
1132
|
+
XmlReaderSettings found with DtdProcessing.Parse on an XmlReader handling a string argument from a public method.
|
|
1133
|
+
Enabling Document Type Definition (DTD) parsing may cause XML External Entity (XXE) injection if supplied with
|
|
1134
|
+
user-controllable data.
|
|
1135
|
+
category: security
|
|
1136
|
+
severity: medium
|
|
1137
|
+
confidence: medium
|
|
1138
|
+
languages:
|
|
1139
|
+
- csharp
|
|
1140
|
+
patterns:
|
|
1141
|
+
- regex: .*
|
|
1142
|
+
message: >-
|
|
1143
|
+
XmlReaderSettings found with DtdProcessing.Parse on an XmlReader handling a string argument from a public
|
|
1144
|
+
method. Enabling Document Type Definition (DTD) parsing may cause XML External Entity (XXE) injection if
|
|
1145
|
+
supplied with user-controllable data.
|
|
1146
|
+
cwe:
|
|
1147
|
+
- CWE-611
|
|
1148
|
+
owasp:
|
|
1149
|
+
- A04:2017
|
|
1150
|
+
- A05:2021
|
|
1151
|
+
- A02:2025
|
|
1152
|
+
references:
|
|
1153
|
+
- https://www.jardinesoftware.net/2016/05/26/xxe-and-net/
|
|
1154
|
+
- https://docs.microsoft.com/en-us/dotnet/api/system.xml.xmldocument.xmlresolver?view=net-6.0#remarks
|
|
1155
|
+
tags:
|
|
1156
|
+
- .net
|
|
1157
|
+
- xml
|
|
1158
|
+
- id: xmlreadersettings-unsafe-parser-override
|
|
1159
|
+
name: xmlreadersettings-unsafe-parser-override
|
|
1160
|
+
description: >-
|
|
1161
|
+
XmlReaderSettings found with DtdProcessing.Parse on an XmlReader handling a string argument from a public method.
|
|
1162
|
+
Enabling Document Type Definition (DTD) parsing may cause XML External Entity (XXE) injection if supplied with
|
|
1163
|
+
user-controllable data.
|
|
1164
|
+
category: security
|
|
1165
|
+
severity: medium
|
|
1166
|
+
confidence: medium
|
|
1167
|
+
languages:
|
|
1168
|
+
- csharp
|
|
1169
|
+
patterns:
|
|
1170
|
+
- regex: .*
|
|
1171
|
+
message: >-
|
|
1172
|
+
XmlReaderSettings found with DtdProcessing.Parse on an XmlReader handling a string argument from a public
|
|
1173
|
+
method. Enabling Document Type Definition (DTD) parsing may cause XML External Entity (XXE) injection if
|
|
1174
|
+
supplied with user-controllable data.
|
|
1175
|
+
cwe:
|
|
1176
|
+
- CWE-611
|
|
1177
|
+
owasp:
|
|
1178
|
+
- A04:2017
|
|
1179
|
+
- A05:2021
|
|
1180
|
+
- A02:2025
|
|
1181
|
+
references:
|
|
1182
|
+
- https://www.jardinesoftware.net/2016/05/26/xxe-and-net/
|
|
1183
|
+
- https://docs.microsoft.com/en-us/dotnet/api/system.xml.xmldocument.xmlresolver?view=net-6.0#remarks
|
|
1184
|
+
tags:
|
|
1185
|
+
- .net
|
|
1186
|
+
- xml
|
|
1187
|
+
- id: xmltextreader-unsafe-defaults
|
|
1188
|
+
name: xmltextreader-unsafe-defaults
|
|
1189
|
+
description: >-
|
|
1190
|
+
XmlReaderSettings found with DtdProcessing.Parse on an XmlReader handling a string argument from a public method.
|
|
1191
|
+
Enabling Document Type Definition (DTD) parsing may cause XML External Entity (XXE) injection if supplied with
|
|
1192
|
+
user-controllable data.
|
|
1193
|
+
category: security
|
|
1194
|
+
severity: medium
|
|
1195
|
+
confidence: medium
|
|
1196
|
+
languages:
|
|
1197
|
+
- csharp
|
|
1198
|
+
patterns:
|
|
1199
|
+
- regex: .*
|
|
1200
|
+
message: >-
|
|
1201
|
+
XmlReaderSettings found with DtdProcessing.Parse on an XmlReader handling a string argument from a public
|
|
1202
|
+
method. Enabling Document Type Definition (DTD) parsing may cause XML External Entity (XXE) injection if
|
|
1203
|
+
supplied with user-controllable data.
|
|
1204
|
+
cwe:
|
|
1205
|
+
- CWE-611
|
|
1206
|
+
owasp:
|
|
1207
|
+
- A04:2017
|
|
1208
|
+
- A05:2021
|
|
1209
|
+
- A02:2025
|
|
1210
|
+
references:
|
|
1211
|
+
- https://www.jardinesoftware.net/2016/05/26/xxe-and-net/
|
|
1212
|
+
- https://docs.microsoft.com/en-us/dotnet/api/system.xml.xmldocument.xmlresolver?view=net-6.0#remarks
|
|
1213
|
+
tags:
|
|
1214
|
+
- .net
|
|
1215
|
+
- xml
|
|
1216
|
+
- id: contains-bidirectional-characters
|
|
1217
|
+
name: contains-bidirectional-characters
|
|
1218
|
+
description: >-
|
|
1219
|
+
This code contains bidirectional (bidi) characters. While this is useful for support of right-to-left languages
|
|
1220
|
+
such as Arabic or Hebrew, it can also be used to trick language parsers into executing code in a manner that is
|
|
1221
|
+
different from how it is displayed in code editing and review tools. If this is not what you were expecting,
|
|
1222
|
+
please review this code in an editor that can reveal hidden Unicode characters.
|
|
1223
|
+
category: security
|
|
1224
|
+
severity: medium
|
|
1225
|
+
confidence: medium
|
|
1226
|
+
languages:
|
|
1227
|
+
- bash
|
|
1228
|
+
- c
|
|
1229
|
+
- csharp
|
|
1230
|
+
- go
|
|
1231
|
+
- java
|
|
1232
|
+
- javascript
|
|
1233
|
+
- json
|
|
1234
|
+
- kotlin
|
|
1235
|
+
- lua
|
|
1236
|
+
- ocaml
|
|
1237
|
+
- php
|
|
1238
|
+
- python
|
|
1239
|
+
- ruby
|
|
1240
|
+
- rust
|
|
1241
|
+
- scala
|
|
1242
|
+
- sh
|
|
1243
|
+
- typescript
|
|
1244
|
+
- yaml
|
|
1245
|
+
patterns:
|
|
1246
|
+
- regex: .*
|
|
1247
|
+
message: >-
|
|
1248
|
+
This code contains bidirectional (bidi) characters. While this is useful for support of right-to-left
|
|
1249
|
+
languages such as Arabic or Hebrew, it can also be used to trick language parsers into executing code in a
|
|
1250
|
+
manner that is different from how it is displayed in code editing and review tools. If this is not what you
|
|
1251
|
+
were expecting, please review this code in an editor that can reveal hidden Unicode characters.
|
|
1252
|
+
cwe:
|
|
1253
|
+
- CWE-94
|
|
1254
|
+
owasp:
|
|
1255
|
+
- A03:2021
|
|
1256
|
+
- A05:2025
|
|
1257
|
+
references:
|
|
1258
|
+
- https://trojansource.codes/
|
|
1259
|
+
tags:
|
|
1260
|
+
- unicode
|