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-sandbox and --disable-setuid-sandbox flags, 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 html property in the PdfOptions interface and the data object in renderInvoiceHtml.
  • Boundary markers: None are present to distinguish between trusted templates and untrusted data.
  • Capability inventory: The skill utilizes puppeteer.launch, page.setContent, and page.pdf which 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
Risk Level
SAFE
Analyzed
Jun 18, 2026, 05:41 PM