Claude Code VS Code Extension Prompts Can Hide Symlink Access Outside Workspaces
Emerging Technology Risk · 2 sources · Updated 23h ago · First seen Nov 16, 2026

Ultrastrike researchers reported that Anthropic’s official Claude Code extension for Visual Studio Code can display misleading permission prompts when workspace symlinks point to files outside the trusted workspace. In version 2.1.322, prompts show the apparent workspace path rather than the resolved destination, potentially leading users to approve access to sensitive files, including SSH keys, without recognizing the actual target. Exploitation depends on available symlinks and could involve a malicious or manipulated agent; the reports do not establish active exploitation.
Anthropic closed the disclosure as informative, stating that workspace contents—including symlinks—are trusted and that the displayed path is not part of its security control. A similar issue in the Claude Code command-line tool was reportedly fixed, but no extension patch was available at publication. Ultrastrike recommends resolving requested paths to their actual destinations before approving access and inspecting repositories for unexpected symlinks after synchronization.


