electron_lint_security
Analyzes Electron source code for security vulnerabilities including unsafe shell.openExternal calls, disabled webSecurity, and missing navigation restrictions.
Instructions
Static analysis of Electron code for dangerous patterns: shell.openExternal with user input, @electron/remote usage, disabled webSecurity, missing navigation restrictions, unrestricted window creation, and other OWASP-style vulnerabilities specific to Electron.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Source code to analyze (main process, preload, or renderer) | |
| fileType | No | Which process this code runs in. Helps scope the analysis. Defaults to 'main'. |