godot-platform-desktop
Warn
Audited by Gen Agent Trust Hub on Oct 14, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/native_shell_executor.gdprovides a wrapper aroundOS.execute(), allowing for arbitrary shell command execution with captured output. This is a high-privilege capability that could be abused if an agent passes unsanitized input to the command or arguments. - [COMMAND_EXECUTION]: The
platform_desktop_patterns.gdscript usesOS.create_process()to fork background processes andOS.shell_open()to open URLs or files in the system's default handler, which are powerful system-level interactions. - [INDIRECT_PROMPT_INJECTION]: The skill exhibits an attack surface for indirect prompt injection through several data ingestion points:
- Ingestion points:
scripts/native_dialog_helper.gd(file dialog results) andscripts/platform_desktop_patterns.gd(_on_files_droppedcallback) ingest external file paths and user-selected data into the application state. - Boundary markers: No delimiters or instructions are present to prevent the agent from being influenced by data found in these external file paths.
- Capability inventory: The skill includes
OS.execute()inscripts/native_shell_executor.gdandOS.create_process()inscripts/platform_desktop_patterns.gd. - Sanitization: There is no evidence of sanitization or validation of the ingested file paths or command arguments before they are passed to execution APIs.
Audit Metadata