electron_security_audit
Run an Electron security audit to flag risky webPreferences, sandbox, nodeIntegration, contextIsolation, window-open, navigation, and fuse settings. Requires inspectMain.
Instructions
Run security audit against Electron security recommendations (inspects webPreferences, sandbox, nodeIntegration, contextIsolation, setWindowOpenHandler, will-navigate guards, and binary fuses). Requires inspectMain.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "electron_security_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| processId | No | Process ID. If omitted, uses the single running app. |