unity-2d-level

Pass

Audited by Gen Agent Trust Hub on Nov 6, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill implements strong security practices by enforcing data validation before runtime execution. The level_validate.py script and LevelData.Problems() method ensure that level data is well-formed and reachability invariants are met before the data is loaded into the Unity engine.
  • [COMMAND_EXECUTION]: The scripts/level_validate.py file contains a selftest() function that uses subprocess.run to execute the script itself for verification purposes. This is a common development pattern and is restricted to running the current Python executable against the script's own path, posing no risk of arbitrary command injection.
  • [OBFUSCATION]: The scripts/tiled_to_level.py script utilizes base64, zlib, and gzip modules. These are used legitimately to decode and decompress Tiled map data as per the Tiled Map Editor's open specification. No malicious obfuscated content or hidden URLs were found within these encoding routines.
  • [DATA_EXPOSURE_AND_EXFILTRATION]: The TilemapLayerStackBuilder.cs editor script includes functionality to export level data to a JSON file. This operation is mediated by standard Unity Editor UI (EditorUtility.SaveFilePanelInProject), ensuring that file writes are directed to user-approved locations within the project structure.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 6, 2026, 06:19 AM