Skip to content
vetkitChecksChangelogDocumentation

vetkit.js.electron.node-integration

An Electron window enables Node.js integration for its web content. Any XSS or loaded remote content then gets full access to the operating system.

Last updated:

Suite: Security

javascript, typescript

An Electron window enables Node.js integration for its web content. Any XSS or loaded remote content then gets full access to the operating system.

Category: SECURITY · Engine rule severity: WARNING

How to fix it

Keep nodeIntegration: false (the default) and expose a minimal API from a preload script with contextBridge.

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.