vetkit.aspnet.config.debug-compilation
ASP.NET compiles the application in debug mode (<compilation debug="true">). Debug builds disable optimisations and request timeouts and can expose detailed error information.
Last updated:
Suite: Security
regex
ASP.NET compiles the application in debug mode (<compilation debug="true">). Debug builds disable optimisations and request timeouts and can expose detailed error information.
Category: SECURITY · Engine rule severity: WARNING
How to fix it
Set debug="false" in the deployed web.config, e.g. with a Web.Release.config transform (xdt:Transform="RemoveAttributes(debug)").
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.