desktop-ipc-electron
Pass
Audited by Gen Agent Trust Hub on Nov 4, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill defines an attack surface where untrusted data from the renderer process is ingested into the main process via IPC handlers (
ipcMain.handle,ipcMain.on). This data could potentially influence downstream logic or prompts if not properly sanitized. Ingestion points: Found inSKILL.md(Pattern 4) andexamples/core.md(Typed Main Process Handlers). Boundary markers: The skill mandates the use ofcontextBridgeand typed wrappers to restrict API exposure. Capability inventory: Includes file system access (fs.readFile,fs.writeFile) and utility process management (utilityProcess.fork) inexamples/core.mdandexamples/message-ports.md. Sanitization: Patterns emphasize runtime validation usingpath.resolveboundary checks andzodschema validation inexamples/electron-trpc.md. - [COMMAND_EXECUTION]: The main process handlers are designed to perform operations like reading/writing files and forking processes based on renderer requests. While the skill explicitly teaches safe implementation via whitelisting and validation, the underlying capability to execute operations based on external input is present.
Audit Metadata