vetkit.js.info-exposure.stack-trace
An error stack trace is sent to the client. Stack traces reveal file paths, library versions and internal logic that help attackers.
Last updated:
Suite: Security
javascript, typescript
An error stack trace is sent to the client. Stack traces reveal file paths, library versions and internal logic that help attackers.
Category: SECURITY · Engine rule severity: INFO
How to fix it
Log the stack on the server and return a generic error message (with a correlation id) to the client.
References
Source: packages/engine/rules/sast/javascript.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.