godot-dialogue-system
Pass
Audited by Gen Agent Trust Hub on Oct 12, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The dialogue system processes external data containing instructions that can trigger narrative events and game signals.
- Ingestion points: Dialogue data is ingested in
scripts/dialogue_engine.gdthrough theload_dialogue_graphfunction and inscripts/dialogue_manager.gdviastart_dialogue. - Boundary markers: There are no explicit boundary markers or 'ignore' instructions implemented to prevent the agent or engine from obeying embedded tags or signals in the dialogue text.
- Capability inventory: The system can emit arbitrary signals via
scripts/dialogue_event_bridge.gd(GlobalBus.emit_signal) andscripts/dialogue_engine.gd(narrative_event.emit). Additionally,scripts/dialogue_manager.gdcan mutate internal variables using theset_varproperty defined in the dialogue data. - Sanitization: The implementation lacks validation or sanitization of signal names, event IDs, or variable keys before they are processed or emitted, allowing the data source to control which game logic is triggered.
Audit Metadata