A developer approves a file write in Claude Code's VS Code extension after seeing what looks like a path inside the current project. In Carl Pearson's November 11 demonstration, a directory named helpdocs was a symbolic link to a directory outside the workspace. The extension requested permission to write helpdocs/test.txt but did not disclose the resolved…
Case · DiggingBeagle record
Claude Code VS Code approval hid a symlink destination outside the workspace
A permission prompt was displayed, but a researcher showed that it omitted the outside-workspace destination of a symlinked write. This is a consent-information issue, not the earlier TOCTOU race.
Published by DiggingBeagle:
Public disclosure: Nov 11, 2026
Reported VS Code extension 2.1.322 on November 11, 2026; a controlled write through an existing symlink and no confirmed field exploitation.
Assessment profile
Assessment method- Setting
- research demonstration
- Exploitation
- demonstrated
- Evidence
- Grade B
- AI role
- AGAINST AI
Basis and provenance
First-person reproduction demonstrates the misleading permission UI, but no successful hostile deployment or vendor patch is established.
Assessed Nov 17, 2026 using diggingbeagle.assessment/1.
Evidence basis: CLM-DB258-VSCODE-01 · CLM-DB258-VSCODE-02 · CLM-DB258-VSCODE-03 · UltraStrike: Claude Code VS Code symlink target omitted from permission prompt
At a glance
An apparent project-relative path is not enough to authorize a resolved external filesystem effect. Displayed destination, requested operation, link-chain identity, and actual open should be checked separately. A hostile repository or tool result could amplify the problem only where the agent has corresponding filesystem permissions.
Read the implicationsNo independent read, delete, chained-link, or updated extension regression matrix. No observed credential theft, widespread attack or quantified affected installation population. Vendor response is described by the researcher; the full report and private triage correspondence are unavailable.
Limits and uncertaintyFull account
A developer approves a file write in Claude Code's VS Code extension after seeing what looks like a path inside the current project. In Carl Pearson's November 11 demonstration, a directory named helpdocs was a symbolic link to a directory outside the workspace. The extension requested permission to write helpdocs/test.txt but did not disclose the resolved external target in the dialog. The researcher showed a write operation; the evidence does not establish a malicious extension, an unseen background bypass, or a victim whose private files were accessed.
The distinction from Claude Code's earlier symlink race matters. A time-of-check/time-of-use exploit changes a filesystem target after approval and must win a timing window. This report concerns a pre-existing link and what the human is shown when authorizing an operation. The permission system did raise a prompt. The potential failure is the approving person's inability to tell which real file or directory the agent will reach. A dialog can be formally present yet provide insufficient evidence for informed consent.
UltraStrike reported testing extension 2.1.322 and says Anthropic classified its report as informative because the user was asked for permission. That is a researcher's description of the vendor response, not an independently published full vendor determination. The earlier CLI presentation issue described by Adversa AI is also distinct from the earlier write-time race; improvements to one client interface do not automatically establish behavior in the other. More than 29 million marketplace installs were cited at publication, but cumulative installs cannot be treated as currently exposed users or as observed exploitation.
A practical approval boundary should display both the path the agent requested and the resolved destination, flag any cross-workspace link, and bind the approved target identity to the object actually opened. Showing a resolved string without protecting the later open still leaves race conditions. Conversely, fixing the race without showing the external destination may leave consent ambiguous. The combined defense requires accurate presentation plus enforcement of filesystem scope at execution time. Read, delete, nested-link and version-specific outcomes remain to be retested.
Mechanism and trust boundary
- 01
Pre-existing path alias
A writable workspace contains a symlink whose resolved destination lies outside the workspace.
Boundary: Workspace name is not filesystem object identity.
- 02
Misdescribed human choice
The VS Code extension requests file-operation approval but shows the unresolved project path rather than the external destination.
Boundary: Human authorization depends on accurate object disclosure.
- 03
Write with granted rights
After approval, a write through the symlink reaches the external destination if host permissions permit.
Boundary: The resulting filesystem effect exceeds what the displayed path communicates.
Timeline
- Nov 11, 2026Event type unspecified
First-person disclosure
Pearson published the test and reported extension 2.1.322 still displaying the unresolved target.
- Nov 11, 2026disclosure
Public disclosure
Claims & evidence
CLM-DB258-VSCODE-01UltraStrike reproduced an extension permission dialog for a write through a workspace symlink pointing outside the workspace. The dialog showed the apparent path without explaining the final external destination.supported
Basis: reported finding
- supportsUltraStrike: Claude Code VS Code symlink target omitted from permission promptprimary disclosure
Vulnerability: screenshot and text describing helpdocs symlink and test.txt write
CLM-DB258-VSCODE-02The researcher reported that the issue remained in the Claude Code VS Code extension version 2.1.322 at the November 11 publication, without a documented patched extension version.supported
Basis: reported finding
- supportsUltraStrike: Claude Code VS Code symlink target omitted from permission promptprimary disclosure
Vulnerability and concluding paragraph: latest plugin version 2.1.322
CLM-DB258-VSCODE-03The researcher says Anthropic closed the HackerOne report as informative, reasoning that a permission prompt existed even if its displayed path was incomplete. The full vendor correspondence was not independently obtained.supported
Basis: reported finding
- supportsUltraStrike: Claude Code VS Code symlink target omitted from permission promptprimary disclosure
Vendor Response: researcher account of informative disposition
Implications
An apparent project-relative path is not enough to authorize a resolved external filesystem effect. Displayed destination, requested operation, link-chain identity, and actual open should be checked separately. A hostile repository or tool result could amplify the problem only where the agent has corresponding filesystem permissions.
Unknowns and contradictions
- No independent read, delete, chained-link, or updated extension regression matrix.
- No observed credential theft, widespread attack or quantified affected installation population.
- Vendor response is described by the researcher; the full report and private triage correspondence are unavailable.
Sources and citation
Material revision history
- Nov 17, 2026 · Published version · first publication · revision 259