tuzi-compress-image
Pass
Audited by Gen Agent Trust Hub on Oct 8, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes system binaries including
sips,cwebp, and ImageMagick'sconverttool usingchild_process.spawn. It passes parameters as an argument array, which is a secure practice to prevent shell injection. - [INDIRECT_PROMPT_INJECTION]: The skill processes user-supplied file paths and directory names, creating a potential surface for indirect injection if metadata is handled insecurely.
- Ingestion points: CLI input arguments in
scripts/main.tsand settings parsed fromEXTEND.mdfiles. - Boundary markers: No specific delimiters or instructions are provided to the agent to distinguish between data and instructions in these inputs.
- Capability inventory: The skill can execute subprocesses via
spawnand perform file system operations such asrenameSyncandunlinkSyncacross the workspace. - Sanitization: The script utilizes
path.resolveandpath.joinfor path normalization but lacks comprehensive sanitization for file names or external configuration values. - [DYNAMIC_EXECUTION]: The script uses dynamic
import()to load thesharplibrary at runtime. While the import targets a static package name, dynamic loading is a vector for potential environment-based execution issues.
Audit Metadata