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
Expressionclass inreferences/patterns.md. - Evidence: The
StoryState.checkfunction usesexpr.execute(values, self, false, true)to evaluate conditions like "gold >= 10". - Context: The implementation correctly uses the
const_calls_onlyflag (the finaltrueargument), which restricts the execution environment to read-only access and prevents side-effect-inducing function calls. The skill also explicitly warns developers inSKILL.mdto 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
DialogueGraphandQuestDataresources. - 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.parsemethod and restricted execution environment.
Audit Metadata