electron-builder

Pass

Audited by Gen Agent Trust Hub on Mar 4, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [COMMAND_EXECUTION]: The script scripts/init-electron-app.js executes npm install using child_process.execSync. This is a standard operation for setting up JavaScript projects but allows for shell command execution within the agent's environment.
  • [EXTERNAL_DOWNLOADS]: The skill facilitates the download of external code from the npm registry via npm install and npx create-electron-app. While targeting a well-known service, it introduces external dependencies into the environment.
  • [INDIRECT_PROMPT_INJECTION]: The file scripts/init-electron-app.js is vulnerable to path traversal because it uses the unsanitized process.argv[2] input to define the project directory path.
  • Ingestion points: Command-line argument process.argv[2] in scripts/init-electron-app.js.
  • Boundary markers: None present.
  • Capability inventory: Uses fs.mkdirSync, fs.writeFileSync, and execSync in scripts/init-electron-app.js.
  • Sanitization: None. The input is passed directly to path.join(), which allows an attacker to specify relative paths (e.g., ../../) to write files outside the intended directory.
Audit Metadata
Risk Level
SAFE
Analyzed
Mar 4, 2026, 12:33 PM