browser-automation
Pass
Audited by Gen Agent Trust Hub on Sep 4, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONPRIVILEGE_ESCALATION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill implements web scraping workflows that ingest untrusted data from external websites while possessing high-privilege browser capabilities such as form filling and file downloads. This combination allows for potential manipulation of agent behavior via instructions embedded in processed web content.
- Ingestion points:
page.gotoand various extraction recipes inreferences/data_extraction_recipes.mdandSKILL.md. - Boundary markers: The skill lacks instructions for using delimiters or negative constraints to prevent the agent from following instructions found in scraped content.
- Capability inventory: The skill uses the Playwright library to perform clicks, fill inputs, and handle downloads as seen in
references/playwright_browser_api.mdandscripts/form_automation_builder.py. - Sanitization: A cleaning utility in
references/data_extraction_recipes.mdhandles whitespace and zero-width characters but does not sanitize against prompt injection patterns. - [DYNAMIC_EXECUTION]: The toolkit includes scripts designed to dynamically generate Python source code for web automation tasks based on user-provided parameters.
- Evidence:
scripts/form_automation_builder.pyandscripts/scraping_toolkit.pyuse string templates and text wrapping to construct executable scripts. - [PRIVILEGE_ESCALATION]: The script generation tools automatically modify file permissions to make the resulting Python scripts executable by the system.
- Evidence:
os.chmod(output_path, 0o755)is called inscripts/form_automation_builder.py(line 330) andscripts/scraping_toolkit.py(line 195).
Audit Metadata