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.pyimplements secure file handling by utilizing a localvalidate_pathutility 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