seo-audit-pdf
Pass
Audited by Gen Agent Trust Hub on Nov 12, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONOBFUSCATION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/render_pdf.pyutility utilizessubprocess.runto execute local binaries including Google Chrome/Chromium,pdftoppm, andpdfinfo. These calls are essential for the skill's primary function of generating PDF reports and images. The script follows security best practices by passing command arguments as a list rather than a single shell string, which prevents common shell injection vulnerabilities. - [INDIRECT_PROMPT_INJECTION]: The skill exhibits an indirect prompt injection surface because it ingests untrusted user content and renders it into an active execution environment (a headless browser).
- Ingestion points: As described in
SKILL.md, the skill incorporates "Accompanying email or notes" provided by the user directly into the report. - Boundary markers: There are no explicit delimiters or instructions to the agent or rendering engine to treat this specific input as untrusted text.
- Capability inventory: The
scripts/render_pdf.pyscript executes a headless browser instance to process the resulting HTML. - Sanitization: The skill lacks HTML escaping or sanitization logic for user-provided notes. If a user includes malicious HTML/JavaScript in their notes, it could potentially execute within the headless browser context during PDF generation.
- [OBFUSCATION]: The file
assets/report-template.htmlcontains a large Base64-encoded JPEG image embedded in the CSS styling. This is a standard technique for including static assets (the Sorank brand logo and background) in standalone HTML templates and does not contain hidden or malicious code.
Audit Metadata