uloop-execute-dynamic-code
Warn
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONDYNAMIC_CONTEXT_INJECTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill is primarily designed to compile and execute arbitrary C# code snippets at runtime within the Unity environment using the
uloop execute-dynamic-codetool. This allows for complex manipulations of the Unity scene, assets, and runtime state. - [DYNAMIC_CONTEXT_INJECTION]: The
SKILL.mdfile defines a task template that injects user-provided input directly into a command execution prompt:Execute the following request using uloop execute-dynamic-code: $ARGUMENTS. This creates a vector for command injection if the input is not strictly validated or escaped by the platform. - [INDIRECT_PROMPT_INJECTION]: The skill represents a significant attack surface for indirect prompt injection.
- Ingestion points: User instructions are processed and used to "Construct C# code" which is then executed via the dynamic code runner.
- Boundary markers: The skill does not define specific delimiters or instructions for the agent to ignore potentially malicious embedded code within the data it might be processing.
- Capability inventory: The skill has broad capabilities including scene modification, asset manipulation (AssetDatabase), and the use of
System.Reflectionto access and modify private fields and methods. - Sanitization: While the skill mentions a compile-time blocklist for
System.IOand certain folder creation methods, it does not specify sanitization for the$ARGUMENTSused to drive the tool. - [COMMAND_EXECUTION]: The skill encourages the agent to write C# statements to temporary
.csxfiles and execute them via the CLI, providing a direct path for the agent to execute code it has generated based on user prompts.
Audit Metadata