interactive-shell
Pass
Audited by Gen Agent Trust Hub on Feb 27, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill's primary function is to execute arbitrary shell commands provided by the agent via
node-pty. This enables the agent to interact with TUIs and long-running processes.\n - Evidence:
pty-session.tsspawns a shell to execute thecommandparameter.\n- [EXTERNAL_DOWNLOADS]: The installation script downloads and installs standard Node.js dependencies required for terminal emulation and PTY management.\n - Evidence:
scripts/install.jsexecutesnpm installwithin the extension directory to fetch dependencies likenode-ptyand@xterm/headless.\n- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it captures and processes output from the terminal which is then presented back to the agent. Malicious instructions in the output of a command or sub-agent could influence the main agent's behavior.\n - Ingestion points:
pty-session.tscaptures raw terminal data throughonDatalisteners.\n - Boundary markers: Output returned to the agent is delimited by descriptive headers (e.g., 'Session output transferred', 'Overlay tail', 'Session completed successfully').\n
- Capability inventory: The skill can execute shell commands (
interactive_shell) and manage background processes.\n - Sanitization: Terminal output is sanitized using
stripVTControlCharactersto remove ANSI escape sequences and control characters before being sent to the agent.
Audit Metadata