gemini-computer-use
Pass
Audited by Gen Agent Trust Hub on Sep 25, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The agent operates by capturing screenshots and current URLs from a web browser via Playwright and feeding them into the Gemini model. This creates a surface for indirect prompt injection, where an attacker-controlled website could include hidden text or visual instructions intended to hijack the agent's behavior. If an injection is successful, an attacker could potentially bypass the model-driven safety confirmation by instructing the model to mark a malicious action as safe.
- Ingestion points: External data enters the system through
page.screenshot()andpage.urlwithin thebuild_function_responsesfunction inscripts/computer_use_agent.py. - Boundary markers: The script does not implement delimiters or specific instructions to help the model distinguish between the user's initial prompt and the untrusted content retrieved from the web.
- Capability inventory: The agent has extensive control over the browser session, including the ability to
navigateto arbitrary URLs (including localfile://or internal network addresses),click_atspecific coordinates,type_text_at(which can clear existing input and press Enter), and execute arbitrarykey_combinationactions. - Sanitization: No sanitization, filtering, or OCR verification is performed on the visual or URL data before it is sent to the model.
- [EXTERNAL_DOWNLOADS]: The skill's setup instructions in
SKILL.mdrequire the user to executeplaywright install chromium. This command downloads and installs browser binaries from official Playwright repositories.
Audit Metadata