Skip to content
vetkitChecksChangelogDocumentation

vetkit.js.headers.helmet-protection-disabled

A helmet security header (CSP, frame options, HSTS or nosniff) is explicitly disabled. This removes a browser-side defence against XSS, clickjacking or protocol downgrade.

Last updated:

Suite: Security

javascript, typescript

A helmet security header (CSP, frame options, HSTS or nosniff) is explicitly disabled. This removes a browser-side defence against XSS, clickjacking or protocol downgrade.

Category: SECURITY · Engine rule severity: INFO

How to fix it

Configure the header instead of disabling it, e.g. a Content-Security-Policy with the directives the app needs (contentSecurityPolicy: { directives: { ... } }).

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.