browser-automation
Pass
Audited by Gen Agent Trust Hub on Sep 10, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The wrapper script
browser.jsexecutes shell commands includingplaywright-cliandgit. It forwards user/agent arguments directly to these tools. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to read and process content from a wide variety of external websites (Gmail, LinkedIn, Reddit, etc.). This content is untrusted and could contain instructions designed to influence the agent's behavior. The skill documentation includes warnings to 'paraphrase' rather than 'transcribe' to mitigate this, but the attack surface is significant.
- [DATA_EXFILTRATION]: The skill provides explicit instructions and code patterns for extracting highly sensitive authentication data, including JWT tokens from localStorage, session cookies (like
JSESSIONID), and CSRF tokens. It also provides a script inreferences/api-capture.mdto intercept all network request bodies and headers. While intended for legitimate automation, these patterns expose credentials to the agent's context and output logs. - [EXTERNAL_DOWNLOADS]: The skill requires the installation of the
@playwright/clipackage and performs periodic update checks by executinggit fetch originagainst its own source repository on GitHub. These operations target well-known and trusted services. - [DYNAMIC_EXECUTION]: The skill's core functionality relies on the
exec evalcommand, which allows the agent to execute arbitrary JavaScript code within the context of a browser page. This is used for complex interactions, data extraction, and internal API calls.
Audit Metadata