game-engine
Pass
Audited by Gen Agent Trust Hub on Jun 23, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill is designed with a strong security-first approach for its primary use case of running dynamic game content.
- [REMOTE_CODE_EXECUTION]: The skill implements dynamic HTML/JS execution using the
srcDocattribute in an iframe. This is secured using thesandbox="allow-scripts"attribute without theallow-same-originflag, ensuring the execution environment is strictly isolated from the parent application's data and DOM. - [DATA_EXFILTRATION]: All communication between the parent environment and the sandboxed iframe is restricted to a private
MessageChannelport transferred during initialization. This prevents message spoofing or interception that could occur with a globalpostMessagelistener. - [PROMPT_INJECTION]: The skill handles untrusted AI-generated content (
gameHtml) but mitigates indirect injection risks through a clear evidence chain: Ingestion occurs incomponents/GameIframe.tsx; the technical boundary is enforced by the iframesandbox; capabilities are restricted to an answer submission flow; and all data is sanitized/validated server-side inconvex/answers.tsusing thecheckAnswerfunction.
Audit Metadata