MCP server · Org-owned · Audited from source
electron-mcp
by yawlabs/electron-mcpMIT licenceAudited 11 Oct 2026 · source 51b8f67ca909
Is it safe? With care — CAUTION, grade B (83/100). It exposes 16 tools: 13 read, 1 write and 2 destructive. The audit recorded 15 findings (0 critical, 1 high, 1 medium, 13 low). Maintainer's description: Electron.js MCP server — IPC scaffolding, security auditing, build tooling, and development intelligence for AI assistants
Cite
Cite this page
ModelsAtlas. “electron-mcp (YawLabs/electron-mcp)”. Retrieved 11 Oct 2026. https://modelsatlas.com/mcp/yawlabs/electron-mcp
Trust audit
Audit 0.4.1 · full source read 11 Oct 2026
15 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared3 observations
- NetworkDeclared7 observations
- ShellDeclared3 observations
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS |
L1 Static source | Secrets, path traversal, supply chain | FAIL 11 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 3 findings |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
yawlabsOrganizationAccount type recorded when we read the repository. - PackagePublished on npm
@yawlabs/electron-mcpat version 1.7.0 - LicenceMITFrom the repository, as read at the audited commit.
- Last push1 day agoActivity of the repository when we read it.
- Source commit read51b8f67ca909The audit covers exactly this commit, read on 11 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory16 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (15)
Sorted by severity
HIGHFilesystem / pathfs.credential_store · scripts/update-manifests.mjs:225
const SSH = 'ssh -i ~/.ssh/gh_woods -o IdentitiesOnly=yes';
- Why
- touches a credential store
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
electron_explain_concept, electron_explain_process_model
- Why
- 2 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWCode injectioncode.eval_exec · src/launcher.test.ts:64
return new Function(`${pieces}\nreturn runtimePlan;`)() as RuntimePlan;- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · src/launcher.test.ts:69
return new Function(`${pieces}\nreturn { pickNewest, floor: OAM_MIN };`)() as {- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · src/launcher.test.ts:82
return new Function(`${pieces}\nreturn fallbackInProcess;`)() as FallbackInProcess;- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · src/launcher.test.ts:160
const parse = new Function(
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · src/launcher.test.ts:188
const parse = new Function(
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWFilesystem / pathfs.traversal · src/tools/build.ts:844
${features.includes("tray") ? `\nfunction createTray(win: BrowserWindow): Tray {\n const icon = nativeImage.createFromPath(path.join(__dirname, "../../resources/icon.png"));\n const tray = new Tray(- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · src/tools/tools.test.ts:838
it("#1 does not flag http://0.0.0.0 as insecure (wildcard-bind exclusion)", async () => {- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · src/tools/tools.test.ts:841
const result = await tool({ mainCode: `win.loadURL("http://0.0.0.0:5173");` });- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · src/tools/tools.test.ts:842
assert.strictEqual(statusOf(result, 1), "PASS", `http://0.0.0.0 must not FAIL #1; got:\n${result}`);- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@biomejs/biome, @modelcontextprotocol/sdk, @types/node, esbuild, postject, typescript, zod
- Why
- 7 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.transfer_instruction · CHANGELOG.md:29
- **The bundled MCP SDK moves from 1.30.0 to 1.32.1** (GHSA-6qxp-vccf-f47h, high: the SDK's OAuth client could send credentials to an authorization server chosen by the MCP server; this server does no
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · README.md:22
- **The official security recommendations, enforced** — `electron_audit_security` checks your `BrowserWindow` config, preload scripts, and CSP against 19 of the 20 items from [electronjs.org/docs/late
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · docs/reddit-drafts.md:95
→ Claude calls `electron_audit_security` against 19 of the [20 official recommendations](https://www.electronjs.org/docs/latest/tutorial/security) (session permissions is the 20th -- needs runtime con
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
Tools it exposes
16 declared in source · 2 destructive
2 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | Risk | What it does |
|---|---|---|
electron_explain_concept | destructive | Get a clear, authoritative explanation of an Electron concept. Counters outdated tutorial content with accurate, version-aware information. Covers: process model, context isolation, sandbox, IPC, ASAR, fuses, code signing, and build tool comparison. |
electron_explain_process_model | destructive | Get a clear, version-aware explanation of Electron |
electron_configure_auto_update | write | Generate complete auto-update configuration using electron-updater. Produces main process setup, update event handling, renderer notification UI code, and platform-specific signing requirements. Supports GitHub releases, S3, and generic HTTP update servers. |
electron_audit_ipc_security | read | Analyze preload script and main process IPC code for security issues. Checks for: raw ipcRenderer exposure, missing sender validation, synchronous IPC usage, listener memory leaks, prototype pollution via contextBridge, and insecure channel patterns. Provide the actual code content to analyze. |
electron_audit_performance | read | Analyze Electron app code for 7 official performance anti-patterns: eager module loading, synchronous main-process operations, excessive BrowserWindows at startup, unnecessary polyfills, CDN-loaded assets, heavy preload scripts, and unbundled dependencies. Returns specific fixes. |
electron_check_deprecated_apis | read | Scan code for usage of deprecated or removed Electron APIs. Returns a list of deprecated APIs found with their replacements and the version they were deprecated/removed in. |
electron_configure_csp | read | Generate a Content Security Policy for an Electron app. Accounts for the bundler (Vite, webpack), framework (React, Vue, Svelte), and whether dev-mode exceptions are needed. Returns both meta-tag and session.webRequest approaches. |
electron_configure_deep_linking | read | Generate complete custom protocol / deep linking setup for Electron. Produces protocol registration, URL handling in both single-instance and multi-instance modes, platform-specific configuration (macOS Info.plist, Windows registry, Linux .desktop), and electron-builder/forge config. |
electron_configure_fuses | read | Generate @electron/fuses configuration to harden your Electron app. Fuses are compile-time toggles that disable dangerous Electron features (like ELECTRON_RUN_AS_NODE, NODE_OPTIONS) and cannot be re-enabled by end users. Essential for production apps. |
electron_diagnose_build_error | read | Diagnose Electron build/packaging errors from electron-builder, electron-forge, or electron-packager output. Identifies common failures: code signing errors, native module rebuild issues, ASAR packaging problems, missing platform-specific configuration, and __dirname path resolution bugs. |
electron_generate_preload_bridge | read | Generate a complete, secure preload.ts with contextBridge.exposeInMainWorld for multiple API methods. Produces the preload script, TypeScript declarations for window.electronAPI, and security best practices. Use this when you need to expose several main-process APIs to the renderer at once. |
electron_generate_window_manager | read | Generate multi-window management boilerplate for Electron apps. Creates a WindowManager class that handles window lifecycle, inter-window communication, window state persistence, and proper cleanup. Supports common patterns like main + child windows, modal dialogs, and detached panels. |
electron_lint_security | read | 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. |
electron_migrate_version | read | Generate a migration checklist for upgrading between Electron versions. Lists all breaking changes, deprecated APIs, and required code modifications between the current and target versions. |
electron_scaffold_ipc_channel | read | Generate complete IPC boilerplate for a new feature: ipcMain handler in the main process, preload bridge function with contextBridge, TypeScript type declarations, and renderer-side usage example. Produces all the files needed for a secure, type-safe IPC channel. |
electron_scaffold_project | read | Generate a complete, secure, modern Electron project scaffold. Includes proper process separation, TypeScript configuration, framework integration, build tooling, security defaults, and an example IPC channel. Produces a full project structure ready to develop. |
Install
Package version 1.7.0 · audited commit 51b8f67
Read the findings first. The most severe is Filesystem / path (high) at scripts/update-manifests.mjs.
claude mcp add electron-mcp -- npx -y @yawlabs/[email protected]
The command pins the package version recorded in the source (1.7.0); the audit covers commit 51b8f67ca909. Transport: stdio. Reads these environment variables: GH_TOKEN, GITHUB_TOKEN, SECRET. Give it the narrowest token it needs.
Audit history
- !CAUTION B 83 / 100
First audit ·
51b8f67ca909
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/yawlabs/electron-mcp/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about electron-mcp
What is the electron-mcp MCP server?
What tools does electron-mcp expose?
Is electron-mcp safe to connect to an agent?
What credentials does electron-mcp need?
How does electron-mcp run?
How current is this page?
Sources
- YawLabs/electron-mcp on GitHub — the source we read, its licence, stars and activityObserved · 11 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit 51b8f67ca909Observed · 11 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the electron-mcp MCP server?
- What tools does electron-mcp expose?
- Is electron-mcp safe to connect to an agent?