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.pyuses thesubprocessmodule to execute external binaries (magickorconvert). 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.mdincludes instructions for executingsudocommands 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(parameterpdf_file) - Boundary markers: None
- Capability inventory: Execution of external binaries via
subprocess.runand filesystem writes. - Sanitization: Basic path and extension validation only.
Audit Metadata