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
drawsvgfor SVG generation,svgpathtoolsfor geometry calculations, andfontToolsandPillowfor 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 likefonts-liberationfor 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
metricsmodule 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