Skip to content
vetkitChecksChangelogDocumentation

vetkit.js.electron.web-security-disabled

An Electron window disables web security (same-origin policy) or allows insecure content on HTTPS pages.

Last updated:

Suite: Security

javascript, typescript

An Electron window disables web security (same-origin policy) or allows insecure content on HTTPS pages.

Category: SECURITY · Engine rule severity: WARNING

How to fix it

Remove webSecurity: false / allowRunningInsecureContent: true; serve all content over HTTPS and use CORS properly.

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.