Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Org-owned · Audited from source

electron-mcp

by yawlabs/electron-mcpMIT licenceAudited 11 Oct 2026 · source 51b8f67ca909

npm @yawlabs/electron-mcp 1.7.0stdio★ 2
!CAUTIONGrade B · 83/100 · 11 Oct 2026 · 51b8f67
2GitHub stars

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

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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

Trust score83/100!CAUTION B
0 critical1 high1 medium13 low0 info

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

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS
L1 Static sourceSecrets, path traversal, supply chainFAIL 11 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 3 findings
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

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-mcp at 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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const SSH = 'ssh -i ~/.ssh/gh_woods -o IdentitiesOnly=yes';
Why
touches a credential store
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
${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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- **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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- **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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
→ 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

13 read1 write2 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.

ToolRiskWhat it does
electron_explain_conceptdestructiveGet 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_modeldestructiveGet a clear, version-aware explanation of Electron
electron_configure_auto_updatewriteGenerate 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_securityreadAnalyze 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_performancereadAnalyze 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_apisreadScan 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_cspreadGenerate 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_linkingreadGenerate 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_fusesreadGenerate @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_errorreadDiagnose 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_bridgereadGenerate 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_managerreadGenerate 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_securityreadStatic 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_versionreadGenerate 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_channelreadGenerate 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_projectreadGenerate 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

  1. !CAUTION B 83 / 100

    First audit · 51b8f67ca909

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/yawlabs/electron-mcp/badge.svg)](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?
Electron.js MCP server — IPC scaffolding, security auditing, build tooling, and development intelligence for AI assistants
What tools does electron-mcp expose?
16 in total: 13 read-only, 1 that write, and 2 that can delete or overwrite (electron_explain_concept, electron_explain_process_model). Every one is listed on this page with its risk.
Is electron-mcp safe to connect to an agent?
With care. The audit graded it B (83/100) and found 15 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 2 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does electron-mcp need?
It reads GH_TOKEN, GITHUB_TOKEN and SECRET from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does electron-mcp run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as @yawlabs/electron-mcp at 1.7.0.
How current is this page?
The grade is for one exact copy of the source (51b8f67ca909), read on 2026-10-11. The repository is watched and re-audited when it changes.

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.