image-optimization

Pass

Audited by Gen Agent Trust Hub on Nov 25, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill provides a local Node.js utility, scripts/audit-images.mjs, which is used to audit HTML files and public URLs for image optimization issues such as missing dimensions or inefficient loading.
  • [EXTERNAL_DOWNLOADS]: The included audit script performs network requests to fetch HTML content from user-provided URLs and issues HTTP HEAD requests to verify image availability and size on external servers (e.g., Sirv, Cloudinary, and other CDNs).
  • [INDIRECT_PROMPT_INJECTION]: The skill processes external HTML content, which is a potential surface for indirect prompt injection.
  • Ingestion points: The scripts/audit-images.mjs script reads content from local files or remote URLs (via loadHtml).
  • Boundary markers: The script outputs structured data or markdown reports intended for agent review.
  • Capability inventory: The agent can suggest or apply patches to local HTML files.
  • Sanitization: The script includes a stripInertMarkup function that strips the content of script, noscript, and template tags to prevent processing of embedded scripts.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 25, 2026, 06:20 PM