unity-cli
Warn
Audited by Gen Agent Trust Hub on Sep 22, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATION
Full Analysis
- [DYNAMIC_EXECUTION]: The module
scripts/cli/core_bridge.pydynamically modifies the Python search path (sys.path) to include directories found within the target Unity project'sPackages/orLibrary/PackageCache/folders. - The skill then imports the
csharpconsole_coreimplementation from these locations. If the Unity project contains a malicious package at the expected path, this could lead to arbitrary code execution within the agent's Python environment. - [COMMAND_EXECUTION]: The skill performs shell command execution via the
subprocessmodule inscripts/cli/cs.pyfor two primary purposes: - Querying version tags from remote git repositories during setup using
git ls-remote. - Starting background processes for log monitoring using
subprocess.Popen. - [EXTERNAL_DOWNLOADS]: The
cs setupcommand inscripts/cli/cs.pyconfigures the Unity project to download a package from the vendor's repository:https://github.com/niqibiao/unity-csharpconsole.git. - [DATA_EXFILTRATION]: The
cs pullandcs logssubcommands inscripts/cli/cs.pyprovide a mechanism to read and retrieve arbitrary files from the filesystem where the Unity Editor or Player process is running. - This capability is intended for logs and diagnostic data but can access any file readable by the Unity process.
Audit Metadata