Researchers Reveal How Claude Code VS Code Extension Can Access Files Outside Trusted Workspaces
Claude Code VS Code extension can access files outside trusted workspaces via symlinks.
Security researchers discovered that the Claude Code extension for Visual Studio Code can trick users into granting file access outside of their trusted workspaces by exploiting symlinks. While Anthropic considers this not a security issue, the extension has over 29 million installs. The vulnerability, identified by Ultrastrike, allows a symlink within a workspace to point to sensitive files elsewhere, and the permission prompt does not accurately reflect the true file location.
AI summary of the linked source. Not reviewed by an editor. How this works
Run Anthropic?
Get an email when a new story names Anthropic, usually within the hour.
Free. Your list stays private and never appears in a subject line. One click stops it. How Vendor Watch worksPrivacy
The lesson from this incident
Full lessonThe Claude Code VS Code extension, with over 29 million installs, can be manipulated through symlinks to access files outside a user's trusted workspace — without the permission prompt accurately disclosing the true file location. This is a classic path traversal variant: users believe they are granting limited access, but are actually exposing sensitive system files. The root issue lies in insufficient input validation and misleading permission UI within a widely distributed third-party extension. Because Anthropic does not classify this as a security issue, no patch is forthcoming, leaving tens of millions of users exposed. This highlights the broader risk of implicitly trusting popular extensions without scrutinizing their file system access behaviors.
What helps against this
How we list vendors- Endpoint detection and response (EDR and XDR)
Malware and hands-on-keyboard attackers on laptops and servers get spotted and stopped.
- Security awareness training and phishing simulation
People recognise and report attacks instead of falling for them.