visual-mockup
Pass
Audited by Gen Agent Trust Hub on Oct 5, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill generates an interactive mockup by embedding diagram data from the conversation into an HTML template.
- Ingestion points: Diagram elements such as labels and titles are gathered from the conversation context and written to
/tmp/layout.jsonas described inSKILL.md. - Boundary markers: No explicit boundary markers or warnings are used to prevent the agent from including untrusted instructions in the data.
- Capability inventory: The skill uses
scripts/interactive_mockup.pyto write files to the/tmpdirectory and execute system-level commands to open the browser. - Sanitization: The
generate_htmlfunction inscripts/interactive_mockup.pyperforms a direct string replacement forTITLE_PLACEHOLDERusing the diagram title. This lacks HTML entity encoding, providing a surface for HTML/JavaScript injection if the agent includes malicious user-provided text in the title. - [COMMAND_EXECUTION]: The
interactive_mockup.pyscript usessubprocess.run(["open", args.output])to launch the default browser. While used for its intended purpose of showing the generated diagram, this involves direct interaction with the host's command execution environment. - [DYNAMIC_EXECUTION]: The skill instructions in
SKILL.mddirect the agent to dynamically write and execute Python scripts usingmatplotlibandseabornto produce PNG mockups. The generation and execution of code at runtime based on changing conversation context is a form of dynamic execution.
Audit Metadata