probing-web-game-mechanics
Warn
Audited by Gen Agent Trust Hub on Aug 7, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The template script
scripts/probe-template.mjsusescreateRequireto dynamically load theplaywrightmodule from the current working directory (process.cwd()). This pattern allows for the loading and execution of arbitrary local code if the script is run in an untrusted directory. - [REMOTE_CODE_EXECUTION]: The skill utilizes
page.evaluateto execute arbitrary JavaScript strings within a headless browser context. While intended for game state manipulation, this constitutes dynamic execution of potentially untrusted or agent-generated code. - [PROMPT_INJECTION]: The skill possesses an indirect prompt injection surface. It ingests content from external web pages via
page.gotoand monitorsconsoleandpageerrorevents (Ingestion points). It lacks boundary markers and sanitization for this untrusted data while possessing powerful capabilities (Capability inventory) likepage.evaluateandpage.keyboardcontrols. - [COMMAND_EXECUTION]: The skill instructions direct the agent to copy and adapt a shell-executable Node.js script to interact with the file system and launch browser processes.
Audit Metadata