{"resourceId":"nvidia-research-adversarial-image-steers-gemma4-into-shell-tool-call-20261125","versions":[{"version":"external-a6cf5d6b0894cf5a38e8554f974bf053e08196ceb54b1b9a7d89eb3015498145","resource":{"id":"nvidia-research-adversarial-image-steers-gemma4-into-shell-tool-call-20261125","title":"NVIDIA AI security research: an adversarially optimized image made a local Gemma 4 page-summary assistant issue a shell command that an auto-approving host executed in 21 of 21 runs; a separate permission check blocked it","organization":"NVIDIA","sector":"Strategic partner (NVIDIA)","geography":"United States","publishedAt":"Nov 25, 2026","publicationDate":"2026-11-25","eventDate":"2026-11-25","sourceName":"NVIDIA Research (AI Security)","sourceLabel":"NVIDIA research post (vendor-authored research)","sourceUrl":"https://research.nvidia.com/ai-security/steering-multimodal-models-acting","evidenceClass":"vendor-claim","outcomeClass":"cautionary","topics":["developers-agents","data-security"],"finding":"In a white-box proof of concept, NVIDIA researchers optimized a cat image (no pixel moved more than 16 of 255 steps) so that google/gemma-4-E4B-it, asked to summarize a page, instead issued a native run_shell_command call. A host set to auto-approve executed it in all 21 runs (one greedy and 20 sampled). Shuffling the perturbation or removing the shell tool restored a normal summary. A separate permission check blocked the same request. The authors stress the result is narrow: one model, page, prompt, seed and command.","sledRelevance":"Relevant to agencies and campuses deploying assistants or agents that read web pages, documents or images and can call tools. The lesson is that tool permissions must be enforced outside the model, whatever model or vendor is used.","evidence":"Full post read, including method, consistency results and its own \"what this proves and what it does not\" section. Vendor-authored research, not peer reviewed; the target model is Google's, not NVIDIA's.","architectureImplications":"Treat any tool call proposed after reading untrusted content as untrusted. Use host-side permission checks, least-privilege tool sets and no auto-approval for high-impact tools.","governanceImplications":"Policies allowing automatic tool approval in agents that ingest public content should be reviewed.","securityPrivacyImplications":"Manipulated content can change what an application does, not just what it says, including running commands or changing files.","caveats":"White-box attack with knowledge of weights, prompt and tool schema; one setup; no remote site, phone, quantized model or re-encoding tested; not a general success rate.","streamIds":["nvidia"],"roles":{"sales":"Sales: this NVIDIA research gives a concrete, bounded example for agent governance conversations. An altered image made a local model request a shell command, and auto-approval let it run, while a separate permission check stopped it. Use it to explain why approval controls matter more than model choice. Avoid overstating it: the authors tested one setup and say it is not a general success rate. Interpretation: it supports selling agent permission reviews, not fear.","engineering":"Engineering: the attack chain was content to model to parser to auto-approval to Bash. Breaking any later link stopped harm, and a host-side permission check did. For designs where agents read web pages, documents or images, do not auto-approve high-impact tools, scope tool sets per task, and run tools with least privilege in a sandbox with egress limits. Note the white-box assumption: open-weight local models make offline optimization easier for attackers.","delivery":"Delivery: add a check to agent deployments that lists every tool, its approval mode and its privileges, and remove auto-approval for shell, file-write and network tools when the agent ingests untrusted content. Include an adversarial-input test in acceptance, using red-team content rather than this exact exploit. The security lead and agent product owner share ownership. Revisit approval settings whenever new tools are added."},"roleDetails":{"sales":{"customerProblem":"Agents that read public content and call tools can be steered into unintended actions.","stakeholders":["CISO","AI program lead","Application owners","Risk officer"],"discoveryQuestions":["Do any of your assistants auto-approve tool calls?","Which agents read web pages, email attachments or images?","Who approves new tools for an agent?"],"valueHypothesis":"Reviewing approval modes and tool privileges can remove a demonstrated attack path at low cost.","potentialEngagement":"Agent permission and approval-mode review with an adversarial-input test plan.","unsupportedClaims":["That ordinary images can compromise any assistant","A general attack success rate","That NVIDIA products were vulnerable"]},"engineering":{"fit":"High for agent and assistant designs that ingest untrusted multimodal content.","architectureIntegration":"Host-side permission checks, per-task tool scoping, least-privilege execution and egress limits.","prerequisites":["Inventory of agent tools and approval modes","Sandboxed execution environment"],"constraints":["White-box result on one Gemma 4 setup","Not tested on remote sites, phones or quantized models"],"security":"Never treat a syntactically valid tool call as authorization; enforce policy outside the model.","proofOfValue":["Red-team test with adversarial content against approval controls","Verify high-impact tools require explicit approval"]},"delivery":{"work":"Inventory agent tools and approval modes; remove auto-approval for high-impact tools on untrusted-content agents.","dependencies":["Agent platform configuration access","Security team"],"ownership":"Security lead with the agent product owner.","skillsAdoption":"Developers need training on agent threat models and approval design.","governanceCheckpoints":["Tool inventory approved","Approval-mode review before go-live","Re-review on tool additions"],"acceptanceCriteria":["No auto-approved shell, file-write or network tools on agents that read untrusted content","Adversarial-input test passes before production"],"risks":["Usability pressure to re-enable auto-approval","Untested modalities such as audio or documents"]}},"retrievedAt":"2026-11-26T21:47:01-06:00","enrichedAt":"2026-11-26T21:51:47-06:00","enrichmentBasis":"retrieved source","accessibilityWorkforceImplications":"The source does not discuss accessibility. Workforce effects are indirect: research computing, security or procurement staff may need added skills to evaluate or act on it.","procurementImplications":"Contracts for agent platforms should state approval modes for tools and allow the customer to disable auto-approval.","operatingModelImplications":"Assign a named owner (research computing, security operations or vendor risk) rather than leaving follow-up unowned.","sourceVerification":{"openedUrl":"https://research.nvidia.com/ai-security/steering-multimodal-models-acting","referenceExcerpt":"Automatic approval allowed the command to run; a separate permission check blocked the same request.","promptVersion":"sled-research-v4.0","model":null,"basis":"agent-reported inspection"}}}]}