worktree-workspace
Pass
Audited by Gen Agent Trust Hub on Nov 26, 2026
Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes local binaries including
git(to list worktrees and log commit subjects) andcode(to open the generated workspace file). These commands are run with arguments derived from the skill's input and repository state. - [DATA_EXPOSURE]: The script reads files from the Claude desktop application's internal session store located at
~/Library/Application Support/Claude/claude-code-sessions. It extracts session titles and working directory paths to provide context-aware labeling for the VS Code workspace. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from git commit logs via
git log -1 --format=%sinscripts/workspace.mjs. This content is interpolated into VS Code workspace labels without robust sanitization or boundary markers, creating a potential surface for indirect injection if a repository contains malicious commit messages.
Audit Metadata