brainstorming
Pass
Audited by Gen Agent Trust Hub on Nov 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses shell scripts (
start-server.sh,stop-server.sh) to manage a background Node.js process usingnohup. It also utilizeschild_process.execto launch the user's browser, incorporating theBRAINSTORM_OPEN_CMDenvironment variable as a command template. - [DYNAMIC_EXECUTION]: The skill includes a custom Node.js server script (
server.cjs) that is executed at runtime to serve HTML prototypes and handle WebSocket communications. This script implements its own WebSocket protocol handling and file serving logic. - [INDIRECT_PROMPT_INJECTION]: The visual companion captures user interactions (clicks, choices) in the browser and logs them to a state file (
state_dir/events). The agent is instructed to read this file to inform its next steps, creating a vector where malicious or unexpected data from the browser could influence agent behavior. - Ingestion point:
scripts/server.cjsWebSocket handler writes browser events to theeventsfile located in the session's state directory. - Boundary markers: No explicit boundary markers or 'ignore' instructions are used when writing the event data, though the skill instructions advise the agent to treat terminal messages as primary feedback.
- Capability inventory: The skill can execute shell commands, manage background processes, and write/read files within the project and session directories.
- Sanitization: The server parses the WebSocket message as JSON and extracts specific fields, but the content of those fields is not sanitized for potential prompt injection instructions.
- [DATA_EXFILTRATION]: The server script allows binding to non-loopback interfaces (
0.0.0.0), which could expose the local session and served prototypes to other machines on the network. While the server implements token-based authentication and Same-Origin checks, network-wide binding increases the potential attack surface for data exposure.
Audit Metadata