electron
Fail
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: HIGHCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONREMOTE_CODE_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses various shell commands such as
open,lsof, andosascriptto launch and manage desktop applications. It includes specific safety guidelines to prevent the agent from accidentally terminating its own process during these operations. - [DYNAMIC_EXECUTION]: The skill utilizes
playwright-cli evalandrun-codeto execute scripts within the context of the target Electron application. This is a core feature required for the skill's primary purpose of UI automation and state validation. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from external applications, which creates a surface for indirect prompt injection.
- Ingestion points: UI snapshots and metadata are ingested via
playwright-cliandcurlrequests to the application's debugging port (SKILL.md). - Boundary markers: The instructions do not define delimiters or provide warnings to ignore instructions found within the application UI.
- Capability inventory: The skill has access to shell execution (
Bash), process management, and file system tools (Read,Grep). - Sanitization: There is no evidence of sanitization for the content retrieved from the automated applications before it is processed by the agent.
- [REMOTE_CODE_EXECUTION]: Automated scans flagged a pattern where
curloutput is piped topython3. This finding is a false positive; the instruction usespython3 -cwith a static, hardcoded script to format JSON data from a local port (localhost:9222), rather than executing remote code.
Recommendations
- HIGH: Downloads and executes remote code from: http://localhost:9222/json - DO NOT USE without thorough review
Audit Metadata