skill-generator
Warn
Audited by Gen Agent Trust Hub on Mar 5, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill extensively uses the
Bashtool to perform environment setup, file system modifications, and execution of generated scripts and theccwCLI tool. Evidence is found inphases/02-structure-generation.mdandphases/03-phase-generation.mdwhere the agent is instructed to run shell commands to build the skill structure. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection (Category 8). It ingests untrusted user input (e.g., skill purpose, action descriptions) in
phases/01-requirements-discovery.mdand interpolates this data directly into the logic, documentation, andTaskprompts of the generated skills. - Ingestion points: Phase 1 uses
AskUserQuestionto collect the skill name, purpose, and phase/action definitions. - Boundary markers: The generated outputs use standard Markdown structure, but lack explicit boundary markers or instructions to ignore embedded commands within user-provided descriptions.
- Capability inventory: The skill utilizes
Bash,Write,Task,Read, andGlobacross multiple scripts. - Sanitization: Only basic shell-character escaping (
escapePromptintemplates/llm-action.md) is implemented, which does not protect against logical prompt injection. - [DYNAMIC_EXECUTION]: The skill's primary purpose is Category 10 behavior: generating executable content (Bash, Python, and JavaScript scripts) and complex agent prompts at runtime. Specifically,
phases/03-phase-generation.mdandtemplates/script-template.mdprovide logic for assembling and then executing these components using theBashandTasktools.
Audit Metadata