canvas-export
Pass
Audited by Gen Agent Trust Hub on Nov 15, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes multiple shell commands to facilitate the export process:
- Checks for Playwright availability using
python3 -c. - Generates HTML files from canvas data via Python redirection (
> /tmp/canvas-preview.html). - Invokes
convert(ImageMagick) to merge images into PDF documents. - [EXTERNAL_DOWNLOADS]: The skill requires and instructs the installation of external dependencies, specifically the
playwrightPython package and its associated Chromium browser binaries. - [DYNAMIC_EXECUTION]: Logic for parsing canvas JSON files and controlling the browser is implemented as inline Python code passed to the
python3 -ccommand, allowing for runtime execution of scripts provided in the instructions. - [INDIRECT_PROMPT_INJECTION]: The skill ingests and processes local
.canvasfiles (JSON format) to generate previews and screenshots. While this is the intended purpose, it establishes a data ingestion surface where maliciously crafted canvas files could potentially impact the rendering process, although the capabilities are limited to local file generation and screenshotting. - Ingestion points: Reads canvas JSON from
[canvas_path]. - Boundary markers: None implemented for the ingested JSON data.
- Capability inventory: Includes file system writes to
/tmp, shell command execution (convert), and browser automation. - Sanitization: No explicit sanitization or validation of the canvas JSON schema is shown before processing.
Audit Metadata