scenario-unreal-gameplay
Pass
Audited by Gen Agent Trust Hub on Oct 29, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes shell commands using
subprocess.runto interact with the local development environment. These commands includexcodebuild -versionto verify the C++ toolchain and execution of theBuild.shscript (Unreal Build Tool) to compile the project. These operations are essential for its stated purpose of assisting in C++ Unreal development. - [DYNAMIC_EXECUTION]: The
scripts/ue_gameplay.pyfile uses thecompile()function withinwrite_python_automation_test. This is used as a safety check to validate the syntax of generated Python automation test scripts before they are written to the disk, ensuring that the generated code is valid Python. - [INDIRECT_PROMPT_INJECTION]: The skill possesses a vulnerability surface for indirect prompt injection.
- Ingestion points: Technical specifications and feel targets provided by the user in
U4_SPECor through instruction prompts are ingested byue_gameplay.pyandue_gameplay_cpp.py. - Boundary markers: Absent; user-provided strings are interpolated directly into code templates using Python's
.format()or simple string concatenation. - Capability inventory: The skill can write files to the project directory (
write_text), execute shell commands for builds (subprocess.run), and execute Unreal console commands in the editor (execute_console_command). - Sanitization: Implements regex-based validation for gameplay tags and uses
compile()as a syntax check for generated Python tests, though it lacks comprehensive escaping for code-injected strings.
Audit Metadata