Claude Code VS Code extension permission prompt can hide files outside trusted workspace
Compiled by RedTeamDaily · AI-assisted summaries · Human review not recorded for this version
Published · Updated
What happened
Ultrastrike (Carl Pearson) reports that the Claude Code VS Code extension, latest version 2.1.322 at publication, shows misleading paths in permission prompts for symlinks, allowing reads or writes outside the trusted workspace (e.g. ./helpdocs or ./link pointing to /etc/). Adversa AI reported a similar CLI flaw in May 2026, which Anthropic reportedly fixed without disclosure. Anthropic closed the HackerOne report as informative, arguing the prompt is not a security control and symlinks are out of scope. No patch exists; defenders should run realpath on displayed paths before approving and audit repositories for unexpected symlinks after each sync, as Git propagates them.
For security analysts · Written by AI from 2 sources · Report an error
- Sources
- 2
Sources and verification
Sources and editorial review
No named human review has been recorded for this story. See the source evidence below.
No vendor or government source is linked to this story yet. Read the source reports; attribution is not independent verification.
How severity and exploitation labels work · All source reports · Report an error
What to do
- Before approving an agent file request, run realpath on the path shown in the permission prompt and deny it if the real location is outside the workspace.
- Review repositories for unexpected symlinks after each sync.
- Be cautious with extensions, since a malicious Claude Code extension recently appeared in extension marketplaces.
Written by AI from the sources, checked against them
Source timeline (UTC) · 2 updates
Explore this report
Ask AI about this story
Optional follow-up answers generated from our coverage. Check the linked sources before acting.
Ask your own questionWho and what is in it
Products