vetkit.csharp.jwt.https-metadata-disabled
JWT/OpenID Connect authentication allows its metadata and signing keys to be fetched over plain HTTP (RequireHttpsMetadata = false) outside a development-only branch.
Last updated:
Suite: Security
csharp
JWT/OpenID Connect authentication allows its metadata and signing keys to be fetched over plain HTTP (RequireHttpsMetadata = false) outside a development-only branch.
Category: SECURITY · Engine rule severity: INFO
How to fix it
Use an https authority and keep RequireHttpsMetadata = true, or tie it to IsDevelopment().
References
Source: packages/engine/rules/sast/csharp.yml.
Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.