presentation-generator
Warn
Audited by Gen Agent Trust Hub on Sep 19, 2026
Risk Level: MEDIUMINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to malicious instructions or scripts embedded in the JSON/YAML data it processes.\n
- Ingestion points:
scripts/generate-presentation.jsreads presentation content from local JSON or YAML files.\n - Boundary markers: None. There are no delimiters or instructions to ignore embedded code in the processed data.\n
- Capability inventory:
scripts/export-slides.jsuses Playwright (Chromium) to render the generated HTML for PNG, PDF, and video export. This browser context typically has access to local resources via thefile://protocol.\n - Sanitization: Inadequate. While
codeandterminalslides use a helper to escape HTML, all other slide types (title, content, two-col, stats, grid, image, quote, comparison) interpolate input properties directly into HTML template strings.\n- [DYNAMIC_EXECUTION]: Untrusted data from the input file is incorporated into executable HTML content. Most slide renderers inscripts/generate-presentation.jsfail to useescapeHtml, allowing for the injection of<script>tags, event handlers, or malicious<iframe>elements.\n- [DATA_EXFILTRATION]: Because theexport-slides.jsscript opens the generated HTML using thefile://protocol in Playwright, any injected JavaScript can use browser APIs to read sensitive local files and potentially exfiltrate them if the execution environment allows network requests.
Audit Metadata