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, and convert (ImageMagick). These commands are invoked using the child_process.spawn method with an arguments array, which prevents shell injection vulnerabilities.\n- [EXTERNAL_DOWNLOADS]: The skill uses npx -y bun as a fallback mechanism to ensure the Bun runtime is available. This involves a one-time download of the bun package 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 the sharp library. 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
Risk Level
SAFE
Analyzed
Aug 19, 2026, 01:13 AM