img2pdf
Pass
Audited by Gen Agent Trust Hub on Oct 18, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runwithin its test suite (scripts/test_crop_document_pages.py) to verify the functionality of the local cropping script. This is a standard and safe practice for automated testing using the current Python interpreter. - [SAFE]: All image and PDF processing is performed locally using well-known Python libraries (Pillow, pypdf, PyMuPDF). The skill does not perform any network operations (beyond standard dependency installation) or access sensitive system files.
- [SAFE]: The cropping logic in
scripts/crop_document_pages.pyincludes rigorous validation of input manifests, including file existence checks, type validation, and SHA-256 hash verification to ensure data integrity during processing. - [SAFE]: The temporary file management in
scripts/img_to_pdf.pyuses standard library functions (tempfile.mkdtempandshutil.rmtree) to ensure that intermediate split images are handled securely and cleaned up after execution.
Audit Metadata