Skip to content
NewA calmer, faster ZeroHour

Claude Code VS Code extension hides symlink targets in prompts

Original title: Researchers Reveal How Claude Code VS Code Extension Can Access Files Outside Trusted Workspaces

Cyber Security Newsby Tushar Subhra Dutta ()4 min read1
Part of a story covered by 2 sourcesClaude Code VS Code extension still hides symlink destinationsMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

Version 2.1.322 still omits the real path; Anthropic closed the report and no patch is available.

Ultrastrike researcher Carl Pearson says the Claude Code extension for Visual Studio Code can ask permission using a workspace path while a symlink points the file outside that workspace. A user may approve what looks like a safe write, including toward locations such as a home folder that could expose SSH keys. Anthropic reviewed the HackerOne report, closed it as informative, and does not treat the behavior as a security issue. The command-line tool now shows real locations, but the extension had not received that change as of version 2.1.322.

Unconfirmed: Anthropic says the prompt text is not a security control and that symlinks fall outside its permission threat model.

Key facts
  • The extension has more than 29 million installs.
  • Ultrastrike published the finding on November 11, 2026.
  • An earlier CLI display flaw was reportedly fixed quietly after May 2026 research.
  • Pearson says the extension can rename files without a prompt in some modes.
  • Ultrastrike advises running realpath on the displayed path before approval.
Security assessment · AI, from the articlePublic proof of concept

Impact: Approved file access may reach paths outside the trusted workspace

ProductAffected
Anthropic Claude Code VS Code extension2.1.322
What to do
  1. 1.Before approving, run realpath on the path shown in the permission dialog.
  2. 2.Deny the request if the resolved location is outside the workspace.
  3. 3.Review repositories for unexpected symlinks after each sync.
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

From the original article

4 min read at cybersecuritynews.com

Security researchers have found that the Claude Code extension for Visual Studio Code can show a permission prompt that hides where a file really sits. A user may approve access to a path that looks safe, while the file lives outside the trusted workspace. Anthropic reviewed the report and does not treat it as a […]

Cyber Security News

By Tushar Subhra Dutta · cybersecuritynews.com

Read the full article at Cyber Security News

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.