automating-computer-use-testing
Pass
Audited by Gen Agent Trust Hub on Sep 6, 2026
Risk Level: SAFE
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill adheres to security best practices by utilizing environment variables for API keys. It provides a
.envtemplate for local configuration, ensuring no sensitive credentials are hardcoded in the templates or scripts. - [COMMAND_EXECUTION]: Browser interactions (clicking, typing, navigating) are performed through a defined Python harness (
harness_template.py). This harness includes a mandatory safety confirmation workflow that prompts the operator for approval when the AI model flags a potentially risky action. - [EXTERNAL_DOWNLOADS]: Dependencies are limited to well-known and legitimate packages, including
google-genaiandplaywright, which are installed from official package registries. The browser binary installation process follows the standard Playwright procedure. - [INDIRECT_PROMPT_INJECTION]: The skill possesses a theoretical attack surface as it processes external web content and user-defined goal files. However, this is inherent to its primary purpose as an automation tool. The risk is mitigated by the structured tool-calling architecture and the human-in-the-loop safety verification mechanism.
- Ingestion points: User-provided goal files (
gemini_goal.txt), theCOMPUTER_USE_GOALenvironment variable, and the content of live web pages retrieved via Playwright. - Boundary markers: Uses structured API responses via the
google-genaiSDK to separate data from instructions. - Capability inventory: The harness script permits browser navigation, mouse interaction, text input, and keyboard shortcuts within the context of the automated browser instance.
- Sanitization: Content is captured via screenshots and sent to the model; no explicit textual sanitization of page content is implemented.
Audit Metadata