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.jsonand injects it into an HTML file that is subsequently opened in a browser. - Ingestion points: The skill reads
.cocoplus/flow.jsonwhich 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.stringifyto serialize the flow data, the ultimate security against Cross-Site Scripting (XSS) depends on the localflow-view.html.templateand 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, orpowershell -Command "Invoke-Item ..."targeting the.cocoplus/flow-view.htmlfile (SKILL.md). - Safety Control: The skill explicitly avoids running these commands if a user-supplied
--outputpath 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