research-framework-figure

Pass

Audited by Gen Agent Trust Hub on Oct 2, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes external JSON specification files provided by the user to generate diagrams. To mitigate potential injection risks within the generated output, the skill implements a sanitization function (esc) in scripts/framework_figure.py that escapes XML special characters (&, <, >, ") before they are rendered into the SVG text elements. This is a standard security best practice for document generation.
  • [EXTERNAL_DOWNLOADS]: The documentation references the python-pptx library, which is a well-known and trusted open-source package for creating PowerPoint files. This library is listed as an optional dependency required only for PPTX export functionality.
  • [COMMAND_EXECUTION]: The skill utilizes standard Python argparse for command-line interaction and subprocess-free logic for diagram generation. All file operations (reading JSON, writing SVG/PPTX) are performed through standard library file I/O using user-defined paths, posing no privilege escalation or persistence risks.
  • [OBFUSCATION]: Analysis of the Python scripts, including the path conversion logic in scripts/svg2drawingml.py, shows transparent implementation of SVG-to-DrawingML geometry conversion without hidden code, encoded payloads, or suspicious character substitutions.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 2, 2026, 01:11 AM