vetkit.aspnet.appsettings.detailed-errors
An ASP.NET Core settings file that is not Development-only enables DetailedErrors. Blazor and the host then send exception details to the browser.
Last updated:
Suite: Security
json
An ASP.NET Core settings file that is not Development-only enables DetailedErrors. Blazor and the host then send exception details to the browser.
Category: SECURITY · Engine rule severity: WARNING
How to fix it
Move "DetailedErrors": true to appsettings.Development.json only.
References
Source: packages/engine/rules/sast/config.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.