unity-component
Pass
Audited by Gen Agent Trust Hub on Oct 23, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The
component_invoke_methodandcomponent_invoke_method_batchfunctions provide an interface for calling arbitrary instance or static methods on Unity components via reflection. This is a high-capability feature that allows for significant runtime control over the Unity environment. The documentation explicitly labels this as "high risk" and notes that it is restricted to specific operating modes to ensure user oversight. - [INDIRECT_PROMPT_INJECTION]: The skill's architecture creates an attack surface for indirect prompt injection because it consumes untrusted data (like method arguments and property values) and performs high-impact operations. If an agent processes malicious data (e.g., from a file or external source) and uses it as input for these skills, it could perform unintended actions.
- Ingestion points: Parameters such as
methodName,arguments,propertyName, andvalueacross multiple skills (e.g., inreference/component_invoke_method.mdandreference/component_set_property.md). - Boundary markers: There are no explicit instructions in the skill files for the agent to use delimiters or ignore instructions found within the processed data.
- Capability inventory: The skill allows for broad state modification and arbitrary code execution within the Unity assembly via reflection.
- Sanitization: The module performs basic type and enum validation, but lacks a restrictive allowlist for methods or properties, relying instead on platform-level operating mode restrictions.
Audit Metadata