baoyu-compress-image
Pass
Audited by Gen Agent Trust Hub on Aug 19, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill executes local image processing utilities such as
sips,cwebp, andconvert(ImageMagick). These commands are invoked using thechild_process.spawnmethod with an arguments array, which prevents shell injection vulnerabilities.\n- [EXTERNAL_DOWNLOADS]: The skill usesnpx -y bunas a fallback mechanism to ensure the Bun runtime is available. This involves a one-time download of thebunpackage from the official and well-known npm registry.\n- [DATA_EXPOSURE_AND_EXFILTRATION]: The script interacts with the local file system to read source images and write optimized versions. All operations are local, and no network exfiltration patterns were detected.\n- [DYNAMIC_EXECUTION]: The script uses a dynamic import for thesharplibrary. This is a standard optimization to load the dependency only when needed and does not pose a security risk as the import path is a static string.
Audit Metadata