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, andpixel_diff.pyprocess 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.pyandscan_usage.pyuse__import__to perform inline loading of standard library moduleshashlibandio. 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