run-skill-generator
Fail
Audited by Gen Agent Trust Hub on Oct 4, 2026
Risk Level: HIGHPRIVILEGE_ESCALATIONCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [PRIVILEGE_ESCALATION]: The
template.mdfile provides a blueprint for new skills that includes the commandsudo apt-get install. Encouraging the agent to usesudofacilitates acquiring administrative privileges that may not be necessary for the task. - [DYNAMIC_EXECUTION]: The core functionality of the skill involves the agent writing arbitrary script files (such as
driver.mjs,driver.py, orsmoke.sh) and then immediately executing them to interact with an application. This pattern of runtime code generation and execution creates a large attack surface. - [COMMAND_EXECUTION]: The instructions guide the agent to perform extensive system-level operations, including installing software via
apt-get, managing background processes withtmux, and usingxvfb-runto execute GUI applications in a headless environment. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and analyze external, untrusted project data (such as
README.md,package.json, and CI configurations) to determine how to build and run an application, creating a vulnerability surface for indirect injection. - Ingestion points: The agent surveys project files like
README.md,package.json,Dockerfile, andMakefilein the 'Discover' phase. - Boundary markers: The instructions do not define boundary markers or provide warnings to the agent to disregard instructions found within these ingested files.
- Capability inventory: The skill grants the agent capabilities to write files to the filesystem and execute arbitrary shell commands.
- Sanitization: There is no mention of sanitizing or validating the contents of the project files before they are used to influence the generated driver code.
- [EXTERNAL_DOWNLOADS]: The skill instructs the agent to download and install various packages from external registries (APT, NPM, PyPI) to satisfy project dependencies, which introduces external code into the execution environment.
Recommendations
- AI detected serious security threats
Audit Metadata