develop-web-game
Pass
Audited by Gen Agent Trust Hub on Sep 8, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDYNAMIC_EXECUTIONREMOTE_CODE_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes game code and visits URLs using Playwright, which creates a surface for indirect prompt injection attacks. A malicious game or website could attempt to influence the agent's behavior through manipulated console logs, visual content in screenshots, or structured state data. \n
- Ingestion points: Game source code, game URL, and the output of
window.render_game_to_text()(referenced inSKILL.mdandscripts/web_game_playwright_client.js). \n - Boundary markers: The skill does not explicitly define delimiters or warnings to ignore instructions embedded within the game data. \n
- Capability inventory: The agent can execute shell commands (
node), write to the filesystem (fs.writeFileSyncinscripts/web_game_playwright_client.js), and perform arbitrary network navigation via Playwright. \n - Sanitization: No sanitization or validation of the game state or console output is mentioned before being processed by the agent.\n- [EXTERNAL_DOWNLOADS]: The skill instructions in
SKILL.mdsuggest installing the@playwright/mcp@latestpackage globally vianpmif Playwright is not available. While originating from a well-known scope, this is an external dependency installation.\n- [COMMAND_EXECUTION]: The workflow requires the agent to run a local Node.js script (scripts/web_game_playwright_client.js) to perform game testing. This script executes automated browser interactions and writes output files (screenshots and state JSON) to the local directoryoutput/web-game.\n- [DYNAMIC_EXECUTION]: The Playwright client usespage.evaluate()andpage.addInitScript()to inject and execute JavaScript within the browser context of the game being tested (found inscripts/web_game_playwright_client.js).\n- [REMOTE_CODE_EXECUTION]: The Playwright script navigates to a user-provided or agent-provided URL and executes the associated code within the browser context, which represents a managed form of remote code execution.
Audit Metadata