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, andrig_animate.py) utilizesubprocess.runto invoke external binaries for rendering and clip assembly. codeart_core.pyexecutes local instances of Chrome/Edge orresvg-js-clito rasterize SVG content.fx_build.pyinvokesnodeto run the local verification scriptfx_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.mjsuses the dynamicimport()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 likerender_pixelspec.pyandlayout_build.py. - Boundary markers: The skill uses the vendored
forge_schema.pyto 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