pdf-generation
Pass
Audited by Gen Agent Trust Hub on Jun 18, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses Puppeteer and Playwright to launch headless browser processes. The configuration includes the
--no-sandboxand--disable-setuid-sandboxflags, which are common requirements for containerized environments (like Docker) but represent a trade-off in process isolation security. - [PROMPT_INJECTION]: The skill demonstrates rendering PDFs from arbitrary HTML input (Category 8: Indirect Prompt Injection surface).
- Ingestion points: Untrusted data enters via the
htmlproperty in thePdfOptionsinterface and thedataobject inrenderInvoiceHtml. - Boundary markers: None are present to distinguish between trusted templates and untrusted data.
- Capability inventory: The skill utilizes
puppeteer.launch,page.setContent, andpage.pdfwhich can access network resources and the local file system. - Sanitization: No HTML sanitization or Content Security Policy (CSP) implementation is provided, creating a potential surface for Server-Side Request Forgery (SSRF) or local file inclusion (LFI) if an attacker controls the HTML content.
Audit Metadata