wkc-workflow-diagram
Pass
Audited by Gen Agent Trust Hub on Oct 3, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to process and visualize project-specific data, including other skill definitions.
- Ingestion points: The script
scripts/diagram.mjsreads user-authoredworkflow.jsonandlayout.jsonfiles. TheSKILL.mdinstructions direct the agent to read project documentation and other skill definitions (SKILL.md files) as evidence. - Boundary markers: No explicit delimiters are specified for the ingested content in the instructions.
- Capability inventory: The Node.js helper performs file-system write operations to generate
diagram.htmland temporary files, and it can start a local HTTP server for previews. - Sanitization: All input data for the diagram is strictly validated against JSON schemas before processing, which significantly reduces the risk of accidental execution of embedded instructions.
- [DYNAMIC_EXECUTION]: The skill employs dynamic code generation for schema validation.
- Evidence: The file
assets/model.mjscontains a bundled version of the AJV validation library, which uses thenew Function()constructor to compile JSON schemas into executable JavaScript functions at runtime. - [COMMAND_EXECUTION]: The skill requires the execution of a Node.js helper script.
- Evidence: Instructions in
SKILL.mdandREADME.mdguide the agent and user to runnode scripts/diagram.mjsfor checking, building, and serving diagram previews. The preview server is securely bound to the loopback interface (127.0.0.1).
Audit Metadata