optimize-web-fonts

Pass

Audited by Gen Agent Trust Hub on Nov 16, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The setup workflow utilizes playwright install chromium, which downloads browser binaries from Playwright's official infrastructure. This is a standard requirement for the tool's intended browser automation functionality.
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests data from external websites or local project builds to analyze font usage.
  • Ingestion points: scan_usage.py, measure_fonts.py, and pixel_diff.py process content from URLs or local directories using Playwright.
  • Boundary markers: Absent; the scripts collect text and CSS properties without specific delimiters for the resulting JSON/Markdown reports.
  • Capability inventory: Browser automation via Playwright, local file system write access for generating optimized fonts and CSS, and a temporary local HTTP server (bound to 127.0.0.1) to serve static files for analysis.
  • Sanitization: Extracted text is filtered through font character maps (cmap) to determine glyph requirements, providing an implicit layer of sanitization for the primary optimization logic.
  • [DYNAMIC_EXECUTION]: The scripts fontinfo.py and scan_usage.py use __import__ to perform inline loading of standard library modules hashlib and io. This usage is localized to specific utility operations (hashing font files and handling byte buffers) and does not present a risk of arbitrary code execution.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 16, 2026, 01:11 PM