From the Anthropic edition of November 17, 2026
UltraStrike: Claude Code VS Code extension (2.1.322) permission prompts hide when a symlink points outside the workspace; Anthropic closed the report as informative
UltraStrike Cybersecurity (Carl Pearson) · Cross-sector (software development; relevant to state IT and university developers using Claude Code) · Global
- Publisher
- UltraStrike Cybersecurity blog
- Original publication
- Nov. 11, 2026 (modified Nov. 12); amplified by GBHackers and others on Nov. 16, 2026
- Source retrieved
- 2026-11-18
What happened
A security researcher reported that the Claude Code extension for VS Code asks permission when its agent touches a file through a symlink, but shows only the in-workspace path, not where the file really lands. A user could approve a write that goes outside the project, for example into SSH keys if a link points to the home directory. Anthropic closed the report as informative, saying the prompt is sufficient and symlinks are outside its permission threat model, though it fixed the same display issue in the Claude Code CLI. The researcher says version 2.1.322 of the extension remained unpatched.
Why it matters
State IT teams and university developers are adopting Claude Code, and many use it inside VS Code. This shows that approval prompts in the extension can mislead even careful users, and that the vendor does not treat the issue as a vulnerability. Agencies should not treat approval prompts alone as a security boundary.
Evidence and measured results
Independent researcher disclosure with reproduction steps and screenshots, vendor response as reported by the researcher, and corroborating secondary coverage; no independent replication observed.
Limitations and uncertainty
Single researcher's account; Anthropic's position is reported by the researcher, not stated by Anthropic directly. Exploitation requires a symlink pointing outside the workspace plus user approval, and a rogue or prompt-injected agent. No CVE. Current patch status after 2.1.322 not verified in this run.
Put this evidence to work
Lighthouse Advisory interpretation, grounded in this source. Enriched 2026-11-18; this does not change the original publication date. Each role follows the same checklist so takeaways compare across sources.
Sales
Role takeaway
- Customer problem
- Developers rely on Claude Code approval prompts as a safety check, but the VS Code extension may not show where a file really lands.
- Stakeholders
- State or university CISO
- Application development managers
- Platform engineering
- DevSecOps leads
- Discovery questions
- Which Claude Code surfaces do your developers use, CLI or IDE extension?
- Do your repositories contain tracked symlinks?
- Are agent and MCP configuration changes code-reviewed?
- Do developer machines hold production secrets?
- Value hypothesis
- A short hardening review could reduce credential exposure from agentic coding tools without slowing pilots.
- Potential engagement
- A two-week Claude Code secure-configuration review for one agency or campus development group.
- Unsupported claims
- Anthropic confirmed a vulnerability
- The issue is exploited in the wild
- The CLI has the same issue today
- Any specific patch timeline
Pre-sales engineering
Role takeaway
- Fit
- Relevant wherever Claude Code runs inside VS Code on machines with access to sensitive files.
- Architecture and integration
- Claude Code in the VS Code extension and CLI; repository and CI controls around symlinks and agent configuration.
- Prerequisites
- Inventory of Claude Code installs and versions
- Repository scanning capability
- CI pipeline with code-owner rules
- Constraints
- Vendor treats symlinks as out of scope
- Extension and CLI behaviour differ
- Patch status after 2.1.322 unverified
- Security
- Verify paths with realpath, block symlinks to sensitive paths, protect agent and MCP config, isolate secrets from developer agents.
- Proof of value
- Reproduce the prompt behaviour in a lab on the current extension
- Scan all active repositories for tracked symlinks
- Confirm CI blocks unreviewed agent configuration changes
Delivery
Role takeaway
- Work
- Publish a Claude Code hardening baseline and implement repository and CI checks.
- Dependencies
- Security team
- Platform engineering
- Developer leads
- Endpoint management
- Ownership
- Agency or campus security team with platform engineering.
- Skills and adoption
- Developers need short training on verifying approval prompts and on safe repository practices.
- Governance checkpoints
- Security sign-off on approved surfaces and versions
- Change control for agent and MCP configuration
- Periodic review of vendor disclosures
- Acceptance criteria
- Proposed: 100% of active repositories scanned for symlinks to sensitive paths
- Proposed: CI blocks unreviewed agent config changes
- Proposed: developer guidance acknowledged by all Claude Code users
- Risks
- Misleading prompts leading to credential exposure
- Prompt-injected agents
- Divergent behaviour across surfaces
- Vendor not treating issue as a vulnerability
Implementation considerations
Lighthouse Advisory interpretation across the operating dimensions a public-sector buyer must settle before this evidence becomes a design. Each note answers the question under its heading for this specific source.
Architecture and integration
What must connect, and where does the AI sit in the workflow?
The extension and CLI behave differently for the same operation, so controls validated in one Claude Code surface do not automatically hold in another. Repositories that contain symlinks, especially to configuration or home directories, raise the risk.
Governance
Who approves, reviews and stays accountable for outcomes?
AI coding-tool policies should specify approved surfaces and versions, require repository scanning for tracked symlinks to sensitive paths, and treat vendor out-of-scope decisions as residual risk the agency must manage itself.
Security and privacy
What data, permissions and controls need testing?
Workspace escape via misleading prompts can expose credentials such as SSH keys. Mitigations: verify paths with realpath, prefer surfaces that resolve symlinks, scan repos for symlinks to configuration files, fail pull requests that change agent or MCP configuration, and isolate machines holding production secrets.
Accessibility and workforce
Who is affected, and what skills or accommodations follow?
Developers need training that approval prompts may be incomplete; this adds friction to agent use and may slow adoption gains reported in pilots.
Procurement
What should contracts, pricing and exit terms secure?
When buying Claude Code seats, ask Anthropic for its permission threat model, how out-of-scope security reports are handled, and parity commitments between the CLI and IDE extensions.
Operating model
Which teams own the service once it runs?
Platform engineering or the security team should maintain a managed configuration and version baseline for Claude Code surfaces, and monitor researcher disclosures.
Publication history
- 2026-11-17Anthropic · Issue 186 resources
Stable resource ID: ultrastrike-claude-code-vscode-symlink-permission-prompt-workspace-escape-20261111