skills/dakdevs/skills/tldraw-canvas/Gen Agent Trust Hub

tldraw-canvas

Warn

Audited by Gen Agent Trust Hub on Mar 2, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses curl to interact with a local HTTP API at localhost:7236 to read and modify canvas data.
  • [REMOTE_CODE_EXECUTION]: The skill documentation describes an exec endpoint (/api/doc/:id/exec) that enables the execution of arbitrary JavaScript code within the tldraw environment.
  • [PROMPT_INJECTION]: The skill is vulnerable to Indirect Prompt Injection (Category 8) because it processes data from the tldraw canvas which may be controlled by an external party or the user.
  • Ingestion points: The agent reads canvas state and shape information using the GET /api/doc/:id/shapes endpoint.
  • Boundary markers: No boundary markers or 'ignore' instructions are provided to distinguish between canvas data and agent instructions.
  • Capability inventory: The agent can perform file writes (e.g., saving screenshots to /tmp/canvas.jpg) and execute arbitrary JavaScript via the exec API.
  • Sanitization: There is no evidence of sanitization or validation of the text content found within shapes before it is processed by the agent.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Mar 2, 2026, 06:45 PM
Security Audit — agent-trust-hub — tldraw-canvas