Skill / SKILL.md

Auditing Electron Ipc Trust

UnboundCompute/security-agent-skills

Audit an Electron desktop app for untrusted renderer content that reaches a Node or operating-system capability, after the webPreferences and the preload bridge surface are resolved. Covers nodeIntegration enabled with contextIsolation off, a preload that exposes raw ipcRenderer or a generic invoke passthrough, an ipcMain handler that trusts renderer input as a path, command, or URL, remote or attacker-influenced content loaded through loadURL with navigation unlocked, shell.openExternal called on a renderer-controlled string, and a custom protocol or deeplink routed into a privileged action without validation. Use when reviewing webPreferences, the preload and contextBridge surface, IPC handlers, and remote-content loading, not renderer-side markup injection the client-side DOM skill owns. Untrusted content in a renderer is the source, a Node or operating-system capability is the sink, and input crossing the bridge without validation while isolation is off is the bug.
2 views 28 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Audit an Electron desktop app for untrusted renderer content that reaches a Node or operating-system capability, after the webPreferences and the preload bridge surface are resolved. Covers nodeIntegration enabled with contextIsolation off, a preload that exposes raw ipcRenderer or a generic invoke passthrough, an ipcMain handler that trusts renderer input as a path, command, or URL, remote or attacker-influenced content loaded through loadURL with navigation unlocked, shell.openExternal called on a renderer-controlled string, and a custom protocol or deeplink routed into a privileged action without validation. Use when reviewing webPreferences, the preload and contextBridge surface, IPC handlers, and remote-content loading, not renderer-side markup injection the client-side DOM skill owns. Untrusted content in a renderer is the source, a Node or operating-system capability is the sink, and input crossing the bridge without validation while isolation is off is the bug.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/UnboundCompute/security-agent-skills' skill-source

Use the complete skill-source/skills/auditing-electron-ipc-trust directory with your client’s skill installer.

  • skills/auditing-electron-ipc-trust

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/auditing-electron-ipc-trust

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
e262a8dce37de14646f63a25f255c1ef322502bf4047f45231ed07f3546ceda1
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills