browser-automation

Pass

Audited by Gen Agent Trust Hub on Nov 12, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The form_automation_builder.py script ingests untrusted HTML files to generate Python scripts.
  • Ingestion points: The --html-file argument in scripts/form_automation_builder.py.
  • Boundary markers: The script does not use specific delimiters or instructions to ignore embedded malicious content within the HTML source.
  • Capability inventory: The generator can write files to the local filesystem (--output) and the resulting scripts use the requests library for network operations.
  • Sanitization: The generate_requests_script function in scripts/form_automation_builder.py interpolates field names and labels directly into Python string literals without escaping, which could allow a malicious HTML file to break the syntax of the generated script.
  • [DYNAMIC_EXECUTION]: The scraping_toolkit.py and form_automation_builder.py scripts generate Python source code and save it to the local filesystem for later execution by the user. This represents a simple script generation pattern from known templates.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 12, 2026, 07:06 PM