Update Claude Code Desktop to 1.30096.1 or later

SneakPeek: Claude Code Desktop preview pane could leak secrets · Security incident · News · Cybernews · Oct 16, 2026

What happened

Noma Labs found SneakPeek, a high-severity flaw (CVSS 8.7) in Claude Code Desktop's preview pane. Malicious JavaScript hidden in an HTML file, such as a fake coverage report in a cloned repo, could run when Claude previewed it, without a new permission prompt, and send files like SSH keys, AWS secrets and npm and GitHub tokens to an attacker. Anthropic fixed it in Claude Code Desktop 1.30096.1.

How to prevent it

Keep AI coding apps updated, be careful asking an agent to open or preview files from repos you don't trust, and keep long-lived secrets out of your home folder where possible.

Fix prompt for your own AI tool

Copy this into your own AI tool (Cursor, Lovable, Claude Code, Bolt…). It's general guidance written by us. Review what the AI suggests before applying it.

I use Claude Code Desktop and want to protect myself from flaws like SneakPeek, where a malicious HTML file in a cloned repo could read secrets through the preview pane. 1) Tell me how to check my Claude Code Desktop version and update to 1.30096.1 or later. 2) Give me a short checklist for opening repos I don't trust: what not to preview or run, and how to review HTML, reports and config files first. 3) Help me list where secrets live on my machine (SSH keys, cloud credential files, npm and GitHub tokens, .env files) and suggest safer options such as a password manager, short-lived tokens or a separate dev user or container. 4) If I previewed an untrusted HTML file in an older version, tell me which credentials to rotate and in what order. Don't change anything until I've approved your plan. Never ask me to paste API keys, passwords or .env contents; tell me where to check them myself.

Why this keeps happening: trusting agents & ai input

An AI agent treats everything it reads as possible instructions: a web page, a README, an email, a code comment or the output of another tool. If that content was written by an attacker, the agent can be steered into running commands, reading files or sending data somewhere it should not.

A quick checklist before you ship

More on this: every trusting agents & ai input story and our related guide.

Tools involved

Claude Code stories

Related stories

Source: original post on News ↗. Summarised in our own words; numbers are as stated by the source. Browse all stories.

The Honest Build. Real stories, not hype.

Every week: real stories of what building with AI actually took, the one lesson worth keeping, and the security slip-ups to avoid. Free, unsubscribe anytime. Weekly, every Friday.