skills/garri333/skills/pdf-builder/Gen Agent Trust Hub

pdf-builder

Warn

Audited by Gen Agent Trust Hub on Oct 13, 2026

Risk Level: MEDIUMINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted text and data objects via Markdown and Jinja2 templates without sanitization.
  • Ingestion points: The markdown_text, html_file, source, and template data parameters in SKILL.md accept external content for processing.
  • Boundary markers: Absent; the skill instructions do not specify any delimiters or safety warnings for the agent to distinguish between its own logic and data content.
  • Capability inventory: The skill uses Playwright (Chromium) and WeasyPrint, which provide full HTML/CSS rendering capabilities, including file system access for temporary file operations.
  • Sanitization: Absent; input data is directly interpolated into HTML and template structures before being rendered into the final PDF document.
  • [DATA_EXFILTRATION]: The html_or_url_to_pdf function exposes local files by allowing the use of the file:// protocol.
  • Evidence: The code in SKILL.md constructs a URI using file://{source} and passes it to page.goto. If the source variable contains a path to sensitive files (such as system configurations or credentials), their content will be rendered into the output PDF, resulting in data exposure.
  • [COMMAND_EXECUTION]: The skill relies on shell command execution for its Pandoc integration.
  • Evidence: SKILL.md provides multiple examples of executing pandoc via the command line, such as pandoc documento.md -o documento.pdf. This poses a risk of command injection if the agent does not properly validate or sanitize the filenames and parameters passed to the shell.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Oct 13, 2026, 05:03 PM