electron-drive-skill

Warn

Audited by Gen Agent Trust Hub on Nov 2, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The start --build option in scripts/drive.mjs executes a shell command defined in the build field of drive.config.json via spawnSync with { shell: true }. This enables arbitrary shell command execution during initialization.\n- [DYNAMIC_EXECUTION]: The main command in scripts/daemon.mjs uses new AsyncFunction to execute arbitrary Node.js code within the Electron main process, granting the agent full access to the host system via Node.js APIs.\n- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from the application's UI accessibility tree and console logs, which could be used to influence agent behavior through indirect instructions.\n
  • Ingestion points: The snapshot (ARIA snapshot) and logs (console output) commands in scripts/daemon.mjs.\n
  • Boundary markers: None identified in the code that provides these data sources to the agent.\n
  • Capability inventory: main (arbitrary Node.js execution), eval (renderer JS execution), UI automation (click, fill), and start --build (shell execution).\n
  • Sanitization: No sanitization is performed on ingested UI snapshots or log content before interpolation into the agent's context.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 2, 2026, 11:28 AM