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

Scope

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.

At a glance

Mechanism and trust boundary

  1. 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.

  2. 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.

  3. 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

  1. Nov 11, 2026
    Event type unspecified

    First-person disclosure

    Pearson published the test and reported extension 2.1.322 still displaying the unresolved target.

  2. Nov 11, 2026
    disclosure

    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

Link to claim
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

Link to claim
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

Link to claim

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

  1. Nov 17, 2026 · Published version · first publication · revision 259