palette-enforcer
Pass
Audited by Gen Agent Trust Hub on Jun 16, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill implements logic to quantize PNG assets to a specific color palette for visual consistency. It operates strictly on local files within the project's asset directory.
- [COMMAND_EXECUTION]: The script
scripts/enforce_palette.mjsmanages file I/O and image processing. It validates user-supplied or state-derived palette IDs against a static reference file (references/palettes.json) and restricts modifications to.pngfiles. - [EXTERNAL_DOWNLOADS]: The skill utilizes the
sharpnpm package for image buffer manipulation. This is a standard, well-documented library for image processing in Node.js environments.
Audit Metadata