vector-illustration
Pass
Audited by Gen Agent Trust Hub on Oct 10, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
render_svg.pyscript executes local rendering utilities (rsvg-convertorcairosvg) usingsubprocess.run. The execution is secure as it uses list-based arguments to prevent shell injection, and all variable parameters (such as image width and height) are strictly validated as finite integers within safe bounds (1-8192 pixels). - [INDIRECT_PROMPT_INJECTION]: The skill processes external SVG and JSON data, creating a potential surface for indirect prompt injection. However, the implementation includes a comprehensive
inspect_svgutility inscripts/svg_utils.pythat serves as a security sandbox. It uses a customStaticTreeBuilderto explicitly reject XML DTDs and processing instructions, and enforces a strict whitelist for tags and attributes. It further mitigates risks by rejecting all external references and scripts, permitting only local#idreferences within the file. - [SAFE]: The skill demonstrates security best practices for handling untrusted graphics data. This includes using temporary files for output to prevent accidental overwriting of source files, implementing decompression bomb protection in the image comparison script (
compare_render.py), and ensuring that the agent-native workflow does not involve unauthorized network calls or model API transitions unless explicitly authorized by the user.
Audit Metadata