svg-primitives

Pass

Audited by Gen Agent Trust Hub on Sep 21, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill leverages reputable open-source Python packages for its core functionality, including drawsvg for SVG generation, svgpathtools for geometry calculations, and fontTools and Pillow for precise text measurement. These dependencies are standard in the Python ecosystem for these tasks.
  • [SAFE]: The documentation provides standard setup and execution commands using uv run, which is a common practice for running scripts with isolated dependencies. It also suggests installing system font packages like fonts-liberation for headless environments, which is a routine configuration step for PDF/SVG rendering.
  • [SAFE]: The skill implements an internal validation framework that ensures generated SVGs meet specific geometric invariants, such as preventing text overflow and ensuring correct arrow alignment. This logic is self-contained and operates purely on the generated SVG structure.
  • [SAFE]: The metrics module searches for system fonts in standard locations on macOS and Linux (e.g., /usr/share/fonts, ~/.fonts). This is the expected behavior for a library that needs to access font metrics for auto-sizing shapes.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 21, 2026, 07:32 AM