edit-scene

Pass

Audited by Gen Agent Trust Hub on Dec 2, 2026

Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The skill's core functionality relies on generating C# editor scripts at runtime and executing them within the Unity Editor environment using the run_method_in_unity tool. While these scripts are intended to manipulate scene and prefab files, they possess full access to the Unity Editor API and the host project's codebase.
  • Evidence: SKILL.md instructions specify writing editor scripts to Assets/UnityCodingSkills/Editor/ and executing them via a specialized tool.
  • [COMMAND_EXECUTION]: The skill utilizes a local bash script to resolve assembly definitions for the generated C# files.
  • Evidence: Execution of ${CLAUDE_SKILL_DIR}/scripts/resolve_assembly.sh as defined in SKILL.md rules.
  • [INDIRECT_PROMPT_INJECTION]: The skill accepts an <instruction> argument that directly informs the logic and content of the generated C# scripts. This presents an attack surface where untrusted data provided as an instruction (e.g., from external project documentation or automated task sources) could lead to the generation of malicious code that is subsequently executed with editor privileges.
  • Ingestion point: argument-hint: "<instruction>" in SKILL.md frontmatter.
  • Boundary markers: None specified for the interpolation of instructions into generated C# code.
  • Capability inventory: File system writes, command execution, and arbitrary C# execution via run_method_in_unity.
  • Sanitization: No explicit sanitization or validation guidelines are provided for the agent when processing the input instructions.
Audit Metadata
Risk Level
SAFE
Analyzed
Dec 2, 2026, 06:34 AM