Asset Manager
Warn
Audited by Gen Agent Trust Hub on Oct 24, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/optimize-fonts.tsinvokes shell commands usingchild_process.exec. Filenames retrieved from the file system are interpolated directly into the command strings without escaping or sanitization.\n - Evidence: The script calls
await execAsync(woff2_compress ${input})whereinputis a filename derived fromfs.readdir.\n - Risk: This pattern creates a command injection vulnerability if the processed directory contains files with specially crafted names containing shell metacharacters.\n- [EXTERNAL_DOWNLOADS]: The skill documentation includes instructions to install various Node.js packages and system-level utilities for image and font processing.\n
- Node.js dependencies:
sharp,imagemin,imagemin-mozjpeg,imagemin-pngquant, andimagemin-svgo.\n - System dependencies:
git-lfs,woff2, andsfnt2woffutilities.\n- [DYNAMIC_EXECUTION]: The font optimization process involves the dynamic assembly and execution of shell commands at runtime to handle file format conversions.
Audit Metadata