Noma Security found a Claude Code Desktop flaw that could leak passwords and tokens, and bypassed Anthropic's first fix
In a post on Geektime, Noma Security researchers describe a flaw in the Preview Pane of the Claude Code desktop app, the panel that renders HTML files as a live web page. The panel runs in a sandbox with three layers of protection, but according to the researchers, files larger than 256KB were written to a temporary file and loaded straight from disk with none of those protections. A padded HTML file could therefore read passwords, keys and tokens from the computer and send them to an attacker's server. Anthropic rated the flaw CVSS 8.7 High. Anthropic shipped a fix, but on a retest the researchers bypassed it through a Web Worker the fix did not cover. They say any repository with a large enough HTML file is an attack vector, for example through a pull request to an open source project. The flaw has been fixed in an automatic update. Their advice: update to the latest version, cut down the secrets stored on the machine, move to short-lived credentials with narrow permissions, and know which AI tools developers run and what data they can reach.
Otomatzia editorial · Published
Source published: · Geektime

