compiling-wgsl

Pass

Audited by Gen Agent Trust Hub on Nov 30, 2026

Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONOBFUSCATION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes local binaries including naga, glslangValidator, and node using subprocess.run to compile and verify shaders (see scripts/verify.py, scripts/forge/glsl.py, and scripts/forge/gpu.py).
  • [DYNAMIC_EXECUTION]: The toolchain can load and execute arbitrary local Python modules provided as scene definitions using importlib.util and exec_module (see scripts/forge/__main__.py).
  • [INDIRECT_PROMPT_INJECTION]: The skill processes user-supplied SVG and GLSL files to generate shader code. This ingestion of external data constitutes an attack surface for indirect prompt injection if the inputs contain malicious instructions or patterns (see scripts/forge/svg.py and scripts/forge/glsl.py).
  • [OBFUSCATION]: The lexer regex in scripts/forge/wgsl.py contains zero-width Unicode characters (U+200E, U+200F) used to define whitespace. While consistent with robust source parsing, these characters are inherently hidden from plain-text view.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 30, 2026, 03:50 PM