skills/microsoft/vscode/launch/Gen Agent Trust Hub

launch

Pass

Audited by Gen Agent Trust Hub on Nov 9, 2026

Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
  • Profile Isolation and Authentication Persistence: The skill clones existing VS Code user data directories (profiles) to isolated temporary folders. This allows the launched instance to inherit authentication sessions (e.g., for GitHub or Copilot) without risking modifications to the primary developer profile. The use of umask 077 in the shell launcher and restricted directory permissions on Windows ensures that these cloned credentials remain inaccessible to other users on the system.
  • Local Debug Surface Exposure: To enable automation and debugging, the launcher allocates several ports for the Chrome DevTools Protocol (CDP) and Node.js inspector. These ports are bound exclusively to the local loopback interface (127.0.0.1), ensuring that the debug interfaces are not exposed to the network.
  • Dynamic Automation Scripting: The monaco-paste.ts utility dynamically generates JavaScript code to interact with the Monaco editor via Playwright. This code is written to a temporary file and executed in the context of the automation session. The script uses safe string serialization (JSON.stringify) to prevent potential script injection during the transfer of text to the editor.
  • Automated Configuration Management: The skill programmatically adjusts VS Code settings (like enabling simple dialogs and setting window titles) within the throwaway profiles to ensure consistent behavior during automated UI tests. This is handled by a specialized Node.js utility that safely parses and modifies JSON with comments (JSONC) to avoid corrupting user configuration.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 9, 2026, 12:53 PM