dialogue-system
Warn
Audited by Gen Agent Trust Hub on Oct 23, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill implements a runtime condition evaluator using Godot's
Expressionclass inreferences/dialogue-manager.mdandreferences/branching-and-conditions.md. This allows strings stored in theconditionproperty of dialogue data to be executed as code at runtime. While this is a common approach for game logic, it is functionally equivalent toeval()and poses a risk of arbitrary code execution within the game process. - [INDIRECT_PROMPT_INJECTION]: The skill provides logic for ingesting external data that directly influences control flow and execution in
references/external-formats.md. - Ingestion points: The
DialogueLoader.load_from_json(path)method reads and parses external JSON files into executable dialogue objects. - Boundary markers: Absent. No mechanisms are implemented to separate safe text from executable logic or to prevent the execution of embedded instructions.
- Capability inventory: The system allows execution against the
GameStatesingleton or theDialogueManagernode, providing access to game state and global methods. - Sanitization: Absent. The implementation does not include validation, escaping, or keyword whitelisting for the condition strings before they are passed to the
Expressionparser.
Audit Metadata