godot-genre-card-game
Warn
Audited by Gen Agent Trust Hub on Oct 12, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill implements a pattern where game logic is stored in
Scriptobjects withinResourcefiles and instantiated at runtime. - Evidence: In
SKILL.mdandscripts/card_data.gd, theCardDataresource contains an@export var effect_script: Scriptorscript_logicfield. Theplay_cardfunction inSKILL.mdexecutes this viavar effect = card.effect_script.new(). - Impact: This architectural choice allows for powerful card effects but introduces a risk where malicious GDScript could be executed if the agent or user loads card resources (
.tresfiles) from untrusted external sources. - [INDIRECT_PROMPT_INJECTION]: The skill creates an attack surface by processing card data resources which could be supplied by external or untrusted entities.
- Ingestion points: Data-driven card definitions in
scripts/card_data.gdandscripts/card_data_resource.gdserve as the primary entry point for untrusted data. - Boundary markers: No delimiters or instructional warnings are used to separate card metadata (name, description) from agent instructions.
- Capability inventory: The skill has access to the Godot SceneTree and file system via script execution, and can manipulate UI components and board states.
- Sanitization: There is no evidence of validation or sanitization for the content of card resources before they are processed by the game logic or presented to the agent.
Audit Metadata