game-facilitator
Warn
Audited by Gen Agent Trust Hub on Feb 17, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- COMMAND_EXECUTION (MEDIUM): In
scripts/session-notes.ts, the--outputflag is used as a direct path forDeno.writeTextFile. The script does not validate or sanitize this path, allowing an attacker or a misled agent to overwrite any file the user has permissions for, such as shell profiles or SSH keys. - PROMPT_INJECTION (LOW): The
scripts/session-notes.tsscript exhibits an indirect prompt injection surface (Category 8). 1. Ingestion point: Thetitlecommand-line argument. 2. Boundary markers: Absent; the title is placed directly into a Markdown header. 3. Capability inventory: The script has--allow-writepermissions and performs file system writes. 4. Sanitization: Absent; the title is interpolated without escaping or validation. This allows malicious instructions embedded in a title to be written into a file that the agent may trust and read later.
Audit Metadata