Case · DiggingBeagle record

Claude Desktop HTML preview could expose local developer files

SneakPeek reports that a crafted oversized HTML preview ran script against local file URLs and exfiltrated credentials; the researcher says the chain was patched in August.

Published by DiggingBeagle:

Public disclosure: Oct 14, 2026

Scope

Researcher proof of concept in Claude Code Desktop versions before 1.30096.1. The disclosure was published in October but describes testing and remediation in July and August; no verified criminal exploitation is claimed.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
demonstrated
Evidence
Grade B
Remediation
fixed reported
AI role
AGAINST AI
Basis and provenance

Noma researcher disclosure describes a proof-of-concept file read and exfiltration chain and reports the August 17, 2026 fix in version 1.30096.1. Browser access to the live primary page failed, but an indexed full-text account and reporter context were available. No independent production victim or independent patch retest was established.

Assessed Oct 16, 2026 using diggingbeagle.assessment/1.

At a glance

Mechanism and trust boundary

  1. 01

    Victim inspects a cloned repository

    A local coding agent reads or edits an attacker-controlled HTML coverage report.

    Boundary: untrusted repository content to desktop preview

  2. 02

    Oversized preview executes JavaScript

    The large-file path enters a file URL origin without equivalent script restrictions.

    Boundary: HTML artifact to local file origin

  3. 03

    Local secrets become readable

    Requests from the preview can resolve other local file paths and leak results outward.

    Boundary: preview sandbox to developer filesystem and network

Claims & evidence

CLM-SNEAKPEEK-FIXThe researcher reports that the initial file-request patch was bypassed using a blob-backed Web Worker and that a complete update shipped in Claude Desktop 1.30096.1 on August 17, 2026.supported

Basis: reported finding

Link to claim
CLM-SNEAKPEEK-EXFILIn the controlled proof of concept, an attacker-authored repository report caused the preview renderer to read local developer credential files and send their contents off host.supported

Basis: reported finding

Link to claim
CLM-SNEAKPEEK-TRIGGERNoma Labs reports that HTML previews exceeding 256 KB were loaded through file URLs without the CSP used for smaller previews, enabling JavaScript in an attacker-provided report to run.supported

Basis: reported finding

Link to claim

Implications

Previewing an artifact generated or selected by an agent can execute lower-trust code in the host UI. File-origin isolation and rendering restrictions must be enforced on every size-dependent path.

Controls and mitigations

  • Use Claude Desktop 1.30096.1 or later according to Noma’s remediation chronology.
  • Treat HTML previews from unfamiliar repositories as active content, not passive model output.
  • For desktop agent products, apply content security policy and local-file isolation consistently to both small and oversized previews, including nested workers and alternate request APIs. This is a design-level recommendation, not a claim that every implementation has the same flaw.
  • Treat automatic preview of repository-supplied active content as a separate trust boundary from an agent reading source text. Do not rely on a model refusal to prevent script execution in a desktop renderer.

Unknowns and contradictions

  • No external attack or victim loss was independently established.
  • The vulnerability was fixed before its October public disclosure, according to the researcher.
  • The first-party disclosure was available as an indexed article, but direct live fetch through the accessible browser failed, preventing independent verification of its complete current page and any later editorial changes.
  • No independent exploit reproduction or observed victim compromise was established in this Enrich session.

Sources and citation

Material revision history

  1. Oct 16, 2026 · Published version · first publication · revision 157