godot-prompter-dialogue-system
Pass
Audited by Gen Agent Trust Hub on Oct 12, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill implements a mechanism for loading and processing dialogue data from external JSON files, which includes logic strings evaluated at runtime. This creates a surface for indirect prompt injection if dialogue assets are sourced from untrusted third parties.
- Ingestion points:
DialogueLoader.load_from_json()inreferences/external-formats.mdopens and parses JSON files into game resources. - Capability inventory: The system uses
Expression.execute()within theDialogueManager(found inreferences/dialogue-manager.md) to evaluate logic. This allows execution of GDScript code strings defined in the data. - Sanitization: No sanitization or validation is applied to the
conditionstrings before they are parsed and executed by the engine. - Boundary markers: The dialogue system lacks delimiters or explicit instructions to the engine to ignore embedded commands within the text or condition fields.
- [DYNAMIC_EXECUTION]: The GDScript implementation in
references/dialogue-manager.mdutilizes theExpressionclass to parse and execute strings at runtime. This allows for dynamic game logic but can be leveraged to execute arbitrary code if the source strings are manipulated.
Audit Metadata