new-game-scaffold
Pass
Audited by Gen Agent Trust Hub on Oct 18, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill utilizes Node.js
module.registerHooksand dynamicimport()to load and execute TypeScript files from the analyzed project during the verification process. This is used inscripts/lib/app-modules.mjsto strip types and resolve path aliases. While essential for analyzing the game's logic (e.g., checking if the game module agrees with its declaration), it allows for the execution of code from the project being analyzed within the Node.js context. - [INDIRECT_PROMPT_INJECTION]: The skill ingests and processes untrusted data from the target project (source files, configuration, and TypeScript modules). This creates an attack surface where a malicious project could attempt to influence the agent's behavior or execute code during the verification stage.
- Ingestion points: Project source files read in
usedKeysandcheckPlaceholders(scripts/lib/game-checks.mjs), andapp-settings.tsloaded viaimport()inscripts/lib/app-checks.mjs. - Boundary markers: The skill uses
maskCommentswhen performing static scans for catalog keys and placeholders to ignore instruction-like content in comments. - Capability inventory: The skill possesses the capability to write files (
writeFileSyncinscaffold-game.mjs), execute local scripts (spawnSyncincheck-lib.mjs), and execute code viaimport(). - Sanitization: Static analysis includes comment masking, but dynamic loading of project modules lacks sanitization against malicious side-effects in the imported files.
- [COMMAND_EXECUTION]: The skill uses
spawnSyncto execute local Node.js scripts (specifically the generator script) as part of thenew-gameforwarding mechanism. The paths are resolved locally within the project structure.
Audit Metadata