godot-narrative

Pass

Audited by Gen Agent Trust Hub on Nov 23, 2026

Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The skill implements logic evaluation for game conditions using Godot's Expression class in references/patterns.md.
  • Evidence: The StoryState.check function uses expr.execute(values, self, false, true) to evaluate conditions like "gold >= 10".
  • Context: The implementation correctly uses the const_calls_only flag (the final true argument), which restricts the execution environment to read-only access and prevents side-effect-inducing function calls. The skill also explicitly warns developers in SKILL.md to avoid using untrusted expressions without these protections.
  • [INDIRECT_PROMPT_INJECTION]: The architecture utilizes external data resources (dialogue and quest files) that represent a surface for indirect injection if game assets are sourced from untrusted parties.
  • Ingestion points: Data enters the agent context through DialogueGraph and QuestData resources.
  • Boundary markers: The skill advises against free-form code effects in data, recommending a controlled list of commands instead.
  • Capability inventory: The system is constrained to modifying game state flags and triggering UI events through the DialogueRunner.
  • Sanitization: Input is validated through the Expression.parse method and restricted execution environment.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 23, 2026, 09:49 AM