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 --buildoption inscripts/drive.mjsexecutes a shell command defined in thebuildfield ofdrive.config.jsonviaspawnSyncwith{ shell: true }. This enables arbitrary shell command execution during initialization.\n- [DYNAMIC_EXECUTION]: Themaincommand inscripts/daemon.mjsusesnew AsyncFunctionto 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) andlogs(console output) commands inscripts/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), andstart --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