create-workflow-diagram
Pass
Audited by Gen Agent Trust Hub on Nov 11, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes user-supplied workflow descriptions and interpolates them directly into an HTML template to generate a diagram. There is no explicit instruction to sanitize or escape this input. If a user provides a description containing HTML or JavaScript, it would be included in the generated HTML and rendered by a headless browser.
- Ingestion points: Workflow descriptions are collected from the user as described in Phase 1 of
SKILL.md. - Boundary markers: No explicit delimiters or warnings (e.g., 'ignore embedded instructions') are implemented when inserting user data into the HTML structure in Phase 3 of
SKILL.md. - Capability inventory: The
screenshot-diagram.jsscript launches a Chromium browser and executespage.gotoon the generated file, creating a surface for script execution. - Sanitization: Instructions in
SKILL.mdfor parsing and HTML generation do not mention sanitizing or validating user-provided strings before inclusion in the DOM. - [EXTERNAL_DOWNLOADS]: The skill requires downloading the
playwrightNode.js package and installing the Chromium browser binary. - Evidence:
package.jsonlistsplaywrightas a dependency. Thesetupscript runsnpx playwright install chromium. These are legitimate requirements for the skill's stated purpose of capturing screenshots. - [COMMAND_EXECUTION]: The skill executes a local Node.js script with arguments derived from the diagram name.
- Evidence:
SKILL.mdinstructs the agent to executenode screenshot-diagram.js <diagram-name>. While the agent typically generates the name, a lack of strict validation on thediagram-namecould theoretically lead to command injection if the agent is manipulated into using shell metacharacters.
Audit Metadata