browser
Pass
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from web pages, creating a vulnerability surface for indirect prompt injection attacks.
- Ingestion points: Data enters the agent's context through the
snapshotcommand (client.py:get_ai_snapshot), which retrieves the ARIA accessibility tree of the current web page. - Boundary markers: The YAML-formatted snapshot is returned to the agent without explicit delimiters or warnings to ignore instructions embedded within the page content (e.g., in text, aria-labels, or image alt-text).
- Capability inventory: The skill possesses significant capabilities, including element interaction (
click,fill,hover), arbitrary JavaScript execution within the browser context (evaluatecommand), and the ability to execute full Python scripts via heredocs as documented inSKILL.mdandrefs/scraping.md. - Sanitization: The
snapshot.jsscript extracts attributes likearia-label,title, and text content without sanitization or filtering for adversarial patterns. - [DYNAMIC_EXECUTION]: The skill provides multiple methods for executing dynamic code at runtime.
- The
evaluatecommand inclient.pyusespage.evaluate()to run arbitrary JavaScript provided as a command-line argument within the browser session. - The
SKILL.mdandrefs/scraping.mdfiles provide instructions and templates for executing arbitrary Python code using shell heredocs (uv run python <<'EOF'), enabling the agent to assemble and run complex scripts on the fly. - [COMMAND_EXECUTION]: The skill relies on the execution of the
client.pyscript via theuv runcommand for all interactions, which is a standard pattern for this toolset but involves frequent shell command execution by the agent.
Audit Metadata