skills/evanbacon/serve-sim/serve-sim/Gen Agent Trust Hub

serve-sim

Fail

Audited by Gen Agent Trust Hub on Nov 13, 2026

Risk Level: HIGHCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill documents and enables the use of the serve-sim exec subcommand and the /.sim/exec HTTP endpoint (described in references/endpoints.md). This functionality allows the agent to execute arbitrary shell commands on the host machine. While this feature is disabled by default (requiring the --allow-exec flag) and protected by a bearer token, it provides a direct path for an agent to run untrusted code on the underlying system.
  • [REMOTE_CODE_EXECUTION]: The instructions frequently use npx serve-sim (in SKILL.md, README.md, and scripts/ensure-running.sh), which triggers the download and execution of code from the NPM registry at runtime. This behavior constitutes remote code execution from an untrusted external source.
  • [EXTERNAL_DOWNLOADS]: The skill relies on fetching the serve-sim package from the NPM registry using npx or bunx. These downloads are not pinned to specific cryptographic hashes, introducing supply chain risks where the package could be replaced with a malicious version.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted accessibility data from applications running inside the simulator, creating a vulnerability surface for indirect injection.
  • Ingestion points: The agent is instructed to read accessibility trees via serve-sim ax --refs (SKILL.md) and the GET /ax endpoint (references/endpoints.md).
  • Boundary markers: Absent; there are no instructions to treat labels, IDs, or other UI metadata as untrusted content.
  • Capability inventory: The agent has access to powerful tools including shell command execution (serve-sim exec), permission management, and hardware control.
  • Sanitization: Absent; accessibility labels and other string data from the simulator are processed without escaping or validation, which could allow a malicious app to influence the agent's behavior.
  • [DYNAMIC_EXECUTION]: The skill uses node -e in scripts/ensure-running.sh to execute inline JavaScript at runtime. Additionally, the serve-sim exec capability allows for the dynamic assembly and execution of shell commands.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Nov 13, 2026, 02:21 PM