pdf-to-images

Pass

Audited by Gen Agent Trust Hub on Oct 5, 2026

Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The script scripts/pdf_to_images.py uses the subprocess module to execute external binaries (magick or convert). While it uses argument lists to mitigate shell injection, it relies on the presence and execution of external system-level tools.
  • [PRIVILEGE_ESCALATION]: The documentation in SKILL.md includes instructions for executing sudo commands to install dependencies and modify system-wide configuration files (/etc/ImageMagick-*/policy.xml) to allow PDF processing.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes user-supplied PDF files which are then handled by external image processing utilities, providing a potential surface for malicious file content to exploit vulnerabilities in the underlying system tools.
  • Ingestion points: scripts/pdf_to_images.py (parameter pdf_file)
  • Boundary markers: None
  • Capability inventory: Execution of external binaries via subprocess.run and filesystem writes.
  • Sanitization: Basic path and extension validation only.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 5, 2026, 11:00 AM