skills/b-open-io/prompts/html-to-pdf/Gen Agent Trust Hub

html-to-pdf

Warn

Audited by Gen Agent Trust Hub on Jul 15, 2026

Risk Level: MEDIUMDATA_EXFILTRATIONEXTERNAL_DOWNLOADS
Full Analysis
  • [DATA_EXFILTRATION]: The scripts/render.ts script is vulnerable to path traversal and injection through its command-line arguments.
  • The --photo, --logo, and --employee arguments are used in file system operations (resolve, readFileSync) without validation, allowing the inclusion of arbitrary local files in the rendered output.
  • The --photo argument is interpolated directly into an HTML <img> tag's src attribute without escaping, creating an injection vector. This could be exploited to execute JavaScript within the Playwright Chromium instance to access local files or environment variables.
  • The --logo argument reads the content of a file and injects it into an SVG structure without sanitization, providing another vector for malicious content injection.
  • [EXTERNAL_DOWNLOADS]: The skill relies on external dependencies and tools including the Playwright browser automation library, the qrcode module, and various web font packages from the NPM registry. It also requires downloading the Chromium browser binary as part of the setup process.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Jul 15, 2026, 10:50 PM
Security Audit — agent-trust-hub — html-to-pdf