flow-view

Pass

Audited by Gen Agent Trust Hub on Oct 23, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes external data from flow.json and injects it into an HTML file that is subsequently opened in a browser.
  • Ingestion points: The skill reads .cocoplus/flow.json which contains pipeline stage data (SKILL.md).
  • Boundary markers: The injection logic uses specific comment markers /* __FLOW_INJECTION_START__ */ and /* __FLOW_INJECTION_END__ */ to delimit the data block (SKILL.md).
  • Capability inventory: The skill utilizes file write operations to create the HTML snapshot and shell commands (open, xdg-open, powershell) to trigger the browser (SKILL.md).
  • Sanitization: While the skill uses JSON.stringify to serialize the flow data, the ultimate security against Cross-Site Scripting (XSS) depends on the local flow-view.html.template and how it handles the rendered labels and statuses.
  • [COMMAND_EXECUTION]: The skill executes platform-specific shell commands to launch the user's default browser.
  • Evidence: instructions specify running open, xdg-open, or powershell -Command "Invoke-Item ..." targeting the .cocoplus/flow-view.html file (SKILL.md).
  • Safety Control: The skill explicitly avoids running these commands if a user-supplied --output path is provided, which mitigates potential command injection attacks through the path variable.
  • [DYNAMIC_EXECUTION]: The skill performs dynamic content generation at runtime.
  • Evidence: The instructions describe reading a local template file and performing string replacement to inject live JavaScript variables (INJECTED_FLOW_DATA) before saving the resulting executable HTML file (SKILL.md).
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 23, 2026, 09:43 PM