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.pyscript ingests untrusted HTML files to generate Python scripts. - Ingestion points: The
--html-fileargument inscripts/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 therequestslibrary for network operations. - Sanitization: The
generate_requests_scriptfunction inscripts/form_automation_builder.pyinterpolates 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.pyandform_automation_builder.pyscripts 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