pdf-compressor

Pass

Audited by Gen Agent Trust Hub on May 14, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill performs PDF compression by converting pages to images. This rasterization process serves as a functional mitigation against text-based indirect prompt injection by converting document content into non-executable image data.- [COMMAND_EXECUTION]: The Python script scripts/compress.py implements secure file handling by utilizing a local validate_path utility to sanitize input and output paths before performing read or write operations.- [EXTERNAL_DOWNLOADS]: The documentation references standard Python packages (pdf2image, Pillow, img2pdf) and official system dependencies (Poppler). These are well-known, industry-standard tools required for the skill's stated purpose.
Audit Metadata
Risk Level
SAFE
Analyzed
May 14, 2026, 05:59 AM
Security Audit — agent-trust-hub — pdf-compressor