compressing-epub-images
Pass
Audited by Gen Agent Trust Hub on Jun 25, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes several standard shell utilities including unzip, zip, find, du, and awk to manage EPUB file structures and perform file analysis.
- [COMMAND_EXECUTION]: Parallel processing is implemented using xargs and bash -c for efficient image re-encoding. The shell commands use proper quoting for file variables to mitigate risks from filenames containing special characters.
- [COMMAND_EXECUTION]: Input for the image processing tool (magick) is constrained by a hardcoded case statement based on user selection, preventing the injection of arbitrary or dangerous command-line arguments.
Audit Metadata