codeart2d

Pass

Audited by Gen Agent Trust Hub on Nov 13, 2026

Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: Several Python scripts (including codeart_core.py, fx_build.py, and rig_animate.py) utilize subprocess.run to invoke external binaries for rendering and clip assembly.
  • codeart_core.py executes local instances of Chrome/Edge or resvg-js-cli to rasterize SVG content.
  • fx_build.py invokes node to run the local verification script fx_verify.mjs.
  • Other scripts call sibling Python tools (like build_animation_clips.py) using paths derived from the script location.
  • All command arguments are strictly controlled or validated through defined path constraints.
  • [DYNAMIC_EXECUTION]: The verification tool fx_verify.mjs uses the dynamic import() statement to load and analyze user-authored JavaScript effect runtime modules. This is necessary to verify the determinism and safety of generated game effects. The execution environment is localized and monitored by the verifier's recording context.
  • [INDIRECT_PROMPT_INJECTION]: The skill's primary function is to process user-supplied JSON and SVG specifications to generate art assets. This process creates an attack surface where malicious instructions could be embedded in data processed by the AI agent.
  • Ingestion points: Specification files (e.g., .pixelspec.json, .material.json, .layout_spec.v1) are read by tools like render_pixelspec.py and layout_build.py.
  • Boundary markers: The skill uses the vendored forge_schema.py to enforce strict JSON schema validation for all inputs, ensuring data conforms to expected structures before processing.
  • Capability inventory: The tools have permissions to read local assets, write to output directories, and execute specified sub-processes (renderers and builders).
  • Sanitization: Strict JSON parsing and comprehensive linting of SVG content are performed to prevent the use of unsupported or dangerous features.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 13, 2026, 10:28 AM