Invoice Generator
Warn
Audited by Gen Agent Trust Hub on Apr 16, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the
puppeteerlibrary to launch a headless browser instance (puppeteer.launch()) for rendering PDF documents. - [EXTERNAL_DOWNLOADS]: The documentation specifies the installation of third-party Node.js packages:
pdfkit,handlebars,puppeteer, andnodemailer. - [DATA_EXFILTRATION]: The
emailInvoicefunction implements network operations vianodemailerto send generated PDFs to external email addresses provided in theinvoiceDatainput. - [PROMPT_INJECTION]: The skill exhibits an attack surface for indirect prompt injection by processing untrusted
invoiceDataand interpolating it into HTML templates usingHandlebarswithout sanitization, which is then rendered by Puppeteer viapage.setContent(). - Ingestion points:
invoiceDataobject andtemplatePathstring provided to the generation functions inSKILL.md. - Boundary markers: No delimiters or warnings are present to isolate the untrusted data from the template structure.
- Capability inventory: File system read/write (
fs), network requests (puppeteer,nodemailer), and process execution (puppeteer.launch). - Sanitization: No evidence of HTML escaping, input validation, or path sanitization before data is rendered or used in file operations.
Audit Metadata