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
- Give each agent only the tools and folders it needs for the task at hand.
- Require manual approval before it runs shell commands, sends network requests, deletes files or spends money.
- Do not open untrusted repositories or MCP configs with auto-run turned on.
- Keep API keys and production credentials out of any environment an agent can read.
More on this: every trusting agents & ai input story and our related guide.
Tools involved
Related stories
- If you give an AI agent mcp-server-git, upgrade it to 2026.11.18 or later today, and don't point it at repos you haven't checked
mcp-server-git: six more ways a repo's own Git config could run commands, fixed in 2026.11.18 - Update veans to 2.7.1 or later, and treat task and ticket text that an agent reads automatically as untrusted input
Vikunja's veans coding agent loaded project titles into its own instruction block, so anyone who could edit a task could steer it - Upgrade the Docker Sandboxes sbx CLI to 0.51.0
Docker Sandboxes copy command let an AI agent reach files outside its approved folders (CVE-2026-103916)
Source: original post on News ↗. Summarised in our own words; numbers are as stated by the source. Browse all stories.