modmaker
Pass
Audited by Gen Agent Trust Hub on Aug 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The skill presents a surface for indirect prompt injection because it processes natural language user ideas to generate executable code.
- Ingestion points: User-provided mod descriptions are ingested by the agent to drive the authoring process (defined in
SKILL.md). - Boundary markers: The skill contains a 'Non-negotiable boundaries' section in
SKILL.mdthat explicitly forbids the generation of code using unsafe techniques like Harmony patching, reflection, or direct IL manipulation. - Capability inventory: The skill possesses capabilities to generate C# source code (
scripts/scaffold.py), compile it using the system's .NET SDK (scripts/build.py), and execute the resulting project via a game launcher (scripts/launch.py). - Sanitization: Sanitization is implemented in
scripts/scaffold.py, which validates identifiers like themod_nameusing a regular expression (^[A-Za-z_][A-Za-z0-9_]*$) before source code generation. Furthermore,scripts/vanilla_overrides.pyincludes a_scan_semantic_keysfunction that actively blocks keys associated with risky practices such as 'harmony', 'reflection', and 'publicizer'. - [COMMAND_EXECUTION]: Several automation scripts execute system commands using the
subprocessmodule. scripts/launch.pyusessubprocess.Popento launch the game executable and the systemopencommand on macOS.scripts/build.pyusessubprocess.runto call thedotnetbuild system for compilation.scripts/acquire_sprite.pyusessubprocess.runto interact with thevofyCLI tool and local image processing scripts.- [EXTERNAL_DOWNLOADS]: The
scripts/gen_sprite.pytool performs external network requests usingurllib.requestto connect to user-configured AI image generation backends. This is used to obtain assets for the generated mods based on user prompts.
Audit Metadata