web-game-performance
Warn
Audited by Gen Agent Trust Hub on Oct 18, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONPRIVILEGE_ESCALATION
Full Analysis
- [COMMAND_EXECUTION]: The agent is instructed to run the
node scripts/perf.mjscommand to collect performance metrics.\n- [DYNAMIC_EXECUTION]: Theperf.mjsscript usespage.evaluate()to execute JavaScript code dynamically. This includes code passed as a string via the--readycommand-line argument and the contents of a local file specified by the--setupargument.\n- [EXTERNAL_DOWNLOADS]: The skill requires thepuppeteerpackage, which downloads a Chromium browser binary from external servers during installation.\n- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and analyze data from external URLs via a headless browser. This creates an attack surface for indirect prompt injection where a malicious website could attempt to influence the agent's output or actions.\n - Ingestion points: The
--urlparameter inscripts/perf.mjsdetermines which external content is loaded into the agent's instrumentation environment.\n - Boundary markers: There are no explicit boundary markers or sanitization steps to distinguish between legitimate game content and potential injection attempts in the analyzed page.\n
- Capability inventory: The skill possesses capabilities for shell execution, local file reading, network access via a browser, and dynamic JavaScript evaluation.\n
- Sanitization: The script performs minimal validation on the strings and file contents passed to the dynamic evaluation functions.\n- [PRIVILEGE_ESCALATION]: Documentation within
scripts/perf.mjssuggests disabling the Chrome sandbox (--no-sandbox) in Linux containers or specific security environments. Disabling this isolation feature significantly increases the risk to the host system if malicious content is processed by the browser.
Audit Metadata