use-case-diagram
Pass
Audited by Gen Agent Trust Hub on Sep 22, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection via user-provided system names used to construct file paths.
- Ingestion points: The
systemparameter extracted from user input inSKILL.md(e.g., "customers can browse and order"). - Boundary markers: The skill lacks delimiters or instructions to ignore embedded commands in the system name or file path.
- Capability inventory: The skill can execute shell commands via
scripts/new-canvasandscripts/tq, and run arbitrary JavaScript in the tldraw app via the/execand/api/searchendpoints. - Sanitization: The
scripts/new-canvasscript fails to sanitize the$TARGETvariable for single quotes before interpolating it into a JavaScript code block:"filePath === '$TARGET'". This allows an attacker-controlled system name to inject and execute arbitrary code in the tldraw app's JavaScript environment. - [COMMAND_EXECUTION]: The skill executes local shell scripts (
scripts/new-canvas,scripts/tq) and uses the host'sopencommand to interact with the tldraw offline application. It also invokespython3for processing JSON data. - [DYNAMIC_EXECUTION]: The skill generates and executes JavaScript code snippets at runtime to interact with the tldraw application's internal API.
- [EXTERNAL_DOWNLOADS]: The
references/shared/bridge.mdfile provides a link tohttps://offline.tldraw.comfor users to download the necessary desktop application.
Audit Metadata