skill-create
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/create_skill.pyperforms several file system operations including creating new directories (mkdir) and writing content to files (write_text). These operations are used to generate the scaffolded skill structure based on provided inputs. - [PRIVILEGE_ESCALATION]: In
scripts/create_skill.py, the skill useschmod(0o755)to set executable permissions on the generatedmain.pytemplate script. This modification of file permissions is part of the tool's intended functionality but involves escalating privileges for dynamically created content. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted input that is later used to generate file content, creating a potential surface for indirect prompt injection.
- Ingestion points: The
scripts/create_skill.pyscript acceptsname,description,author, andtagsas inputs through command-line arguments or interactive shell prompts. - Boundary markers: There are no boundary markers or specific instructions within the generated
SKILL.mdorREADME.mdtemplates to treat the pre-populated content as untrusted. - Capability inventory: The skill has the capability to create directories, write files to the local file system, and modify file permissions within the execution environment.
- Sanitization: The
validate_namefunction uses a regular expression (^[a-z0-9-]+$) to sanitize the skill name, which prevents directory traversal through thenameargument. However, other inputs such as thedescriptionandauthorare written directly into files without validation or sanitization.
Audit Metadata