{"resourceId":"ultrastrike-claude-code-vscode-symlink-permission-prompt-workspace-escape-20261111","versions":[{"version":"external-68fd14df74c989b8f6098499caf2287d759f25ba20c376d9833db07d164cc602","resource":{"id":"ultrastrike-claude-code-vscode-symlink-permission-prompt-workspace-escape-20261111","title":"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","organization":"UltraStrike Cybersecurity (Carl Pearson)","sector":"Cross-sector (software development; relevant to state IT and university developers using Claude Code)","geography":"Global","publishedAt":"Nov. 11, 2026 (modified Nov. 12); amplified by GBHackers and others on Nov. 16, 2026","publicationDate":"2026-11-11","eventDate":null,"sourceName":"UltraStrike Cybersecurity blog","sourceLabel":"Independent security research disclosure","sourceUrl":"https://ultrastrike.io/2026/11/claude-code-vscode-plugin-workspace-escape-via-misleading-permission-prompt/","evidenceClass":"independent-research","outcomeClass":"cautionary","topics":["developers-agents","data-security"],"finding":"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.","sledRelevance":"Interpretation: 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":"Independent researcher disclosure with reproduction steps and screenshots, vendor response as reported by the researcher, and corroborating secondary coverage; no independent replication observed.","architectureImplications":"Interpretation: 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.","governanceImplications":"Interpretation: 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.","securityPrivacyImplications":"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.","caveats":"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.","streamIds":["anthropic"],"roles":{"sales":"Sales framing: when government and university developer teams adopt Claude Code, this disclosure is a reason to propose secure-configuration guidance, not to slow adoption. The bounded engagement is a Claude Code hardening review covering approved surfaces, versions and repository hygiene. Do not suggest Anthropic has confirmed a vulnerability; it closed the report as informative, and the evidence rests on one researcher's account and a missing display fix.","engineering":"Engineering framing: technically, the extension shows workspace-relative paths for symlink targets while the CLI resolves them. Pre-sales engineers should check which surfaces customers use, recommend scanning for tracked symlinks to sensitive paths, keep agent and MCP configuration under code-owner review, and isolate machines that hold production secrets. Test the current extension version in a lab before advising, since patch status after 2.1.322 was not verified.","delivery":"Delivery framing: the delivery work is a hardening baseline: approved Claude Code surfaces and versions, repository scanning rules, CI checks on agent and MCP configuration changes, and developer guidance to verify paths before approving. The security team owns the baseline and tracks vendor changes. Acceptance should be measured by scans and configuration checks, not by assuming the prompt is a boundary."},"roleDetails":{"sales":{"customerProblem":"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"],"discoveryQuestions":["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?"],"valueHypothesis":"A short hardening review could reduce credential exposure from agentic coding tools without slowing pilots.","potentialEngagement":"A two-week Claude Code secure-configuration review for one agency or campus development group.","unsupportedClaims":["Anthropic confirmed a vulnerability","The issue is exploited in the wild","The CLI has the same issue today","Any specific patch timeline"]},"engineering":{"fit":"Relevant wherever Claude Code runs inside VS Code on machines with access to sensitive files.","architectureIntegration":"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.","proofOfValue":["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":{"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.","skillsAdoption":"Developers need short training on verifying approval prompts and on safe repository practices.","governanceCheckpoints":["Security sign-off on approved surfaces and versions","Change control for agent and MCP configuration","Periodic review of vendor disclosures"],"acceptanceCriteria":["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"]}},"retrievedAt":"2026-11-18T04:26:29Z","enrichedAt":"2026-11-18T04:32:37Z","enrichmentBasis":"retrieved source","accessibilityWorkforceImplications":"Interpretation: developers need training that approval prompts may be incomplete; this adds friction to agent use and may slow adoption gains reported in pilots.","procurementImplications":"Interpretation: 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.","operatingModelImplications":"Interpretation: platform engineering or the security team should maintain a managed configuration and version baseline for Claude Code surfaces, and monitor researcher disclosures.","sourceVerification":{"openedUrl":"https://ultrastrike.io/2026/11/claude-code-vscode-plugin-workspace-escape-via-misleading-permission-prompt/","referenceExcerpt":"The vulnerability remains unpatched in the latest plugin version 2.1.322 as of this publication.","promptVersion":"sled-research-v4.0","model":null,"basis":"agent-reported inspection"}}}]}