dialogue-systems

Pass

Audited by Gen Agent Trust Hub on Oct 24, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The dialogue runner implementation provided in references/runner.md uses a custom expression evaluator built with the ast module. This is a secure design choice that avoids the use of unsafe functions like eval() by whitelisting specific AST nodes (Name, Constant, BinOp, Compare, BoolOp), ensuring that dialogue logic cannot execute arbitrary system commands.
  • [INDIRECT_PROMPT_INJECTION]: The skill's architecture for processing branching dialogue creates a surface for indirect prompt injection via the dialogue data itself. The risk is mitigated by the following factors documented in the files: 1. Ingestion points: The DialogueRunner class in references/runner.md processes a graph dictionary derived from external JSON data. 2. Boundary markers: Data is ingested into specific structured fields (line, choices, text) rather than a free-form stream. 3. Capability inventory: The runner is limited to UI interactions (show_line, show_choices) and local variable manipulation; it does not possess subprocess execution or network access capabilities. 4. Sanitization: The evaluate function provides strict sanitization of expression strings using a whitelist-based AST walker.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 24, 2026, 09:02 PM