paper-fig

Pass

Audited by Gen Agent Trust Hub on Oct 24, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes user-supplied PPTX and PDF files through its internal inspection and validation scripts. While this is an ingestion surface for untrusted data, the skill employs safe XML parsing (disabling DTDs and external entities) and limits operations to structural validation and rendering.
  • Ingestion points: External presentation files are imported via PresentationFile.importPptx in render_presentation.mjs, inspect_template_deck.mjs, and several other utility scripts.
  • Boundary markers: The instructions include extensive writing quality guidelines to prevent 'AI slop', and the validation gates (e.g., native_quantitative_chart_gate.py) enforce structural integrity.
  • Capability inventory: The skill can write files to the workspace and execute local binaries (Node.js, Python, unzip) to perform rendering and validation tasks.
  • Sanitization: The skill uses xml.parsers.expat and lxml with security flags enabled (resolve_entities=False, SetParamEntityParsing(XML_PARAM_ENTITY_PARSING_NEVER)) to mitigate XML-based attacks.
  • [COMMAND_EXECUTION]: The skill invokes several subprocesses to perform rendering and file manipulation.
  • Evidence: ensure_raster_image.py and render_slides.py use subprocess.run to call bundled helpers like rasterize_svg.mjs and render_presentation.mjs.
  • Context: These executions are restricted to internal skill scripts or binaries specifically identified in the environment's RUNTIME_BIN_DIR (e.g., unzip, JxrDecApp). Arguments are largely hardcoded or derived from file paths within the validated workspace.
  • [DYNAMIC_EXECUTION]: The skill contains logic to load runtime modules from the host environment.
  • Evidence: runtime_helpers.mjs uses createRequire and import() to load packages from RUNTIME_NODE_MODULES.
  • Context: This is a required mechanism for the skill to interface with its primary toolkit (@oai/artifact-tool) and graphic libraries (sharp, skia-canvas) provided by the platform. There is no evidence of eval() or execution of untrusted dynamic strings.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 24, 2026, 02:54 PM