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, andnodeusingsubprocess.runto compile and verify shaders (seescripts/verify.py,scripts/forge/glsl.py, andscripts/forge/gpu.py). - [DYNAMIC_EXECUTION]: The toolchain can load and execute arbitrary local Python modules provided as scene definitions using
importlib.utilandexec_module(seescripts/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.pyandscripts/forge/glsl.py). - [OBFUSCATION]: The lexer regex in
scripts/forge/wgsl.pycontains 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