scenario-text-overlay
Pass
Audited by Gen Agent Trust Hub on Nov 5, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runto invoke an external Chromium-family browser (Chrome, Chromium, Edge, or Brave) to render HTML and CSS templates. The command is constructed as a list, which avoids common shell injection risks, but still executes an external binary to perform its core task. - [EXTERNAL_DOWNLOADS]: The skill fetches font files from external URLs, including Google Fonts and user-specified font links, to ensure visual fidelity. While standard for rendering, this involves downloading and processing external assets at runtime via
urllib.request.urlopen. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to process complex JSON payloads containing HTML, CSS, and Mustache templates. If these payloads originate from untrusted sources, they could be leveraged to attempt data exfiltration through the browser or execute malicious scripts.
- Ingestion points: JSON payload fields (
text_template,html_template,variables,css) read byscripts/overlay.py. - Boundary markers: None; the Mustache templates directly interpolate variables into the rendering context without distinct data/instruction separation.
- Capability inventory: The skill has the capability to execute a headless browser, write to temporary files, and perform network requests for fonts.
- Sanitization: Text layers are escaped via
html.escape, and the skill includes a mechanism to warn the user if the HTML content references remote URLs outside of approved vendor or font domains. - [DYNAMIC_EXECUTION]: The skill dynamically generates HTML documents and executes them within a headless browser. This includes the injection of a JavaScript snippet for font measurement, demonstrating the ability to run code constructed at runtime to influence the final output.
Audit Metadata