create-skill-repo
Pass
Audited by Gen Agent Trust Hub on Sep 7, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/scaffold.pyscript executes system commands such asgh repo create,gh repo edit,git init, andgit remoteto manage the lifecycle of the scaffolded repository. - [COMMAND_EXECUTION]: The provided template includes safety and validation hooks located in
.claude/hooks/(guard_bash.pyandvalidate_skill_file.py). these scripts are executed by the agent platform during tool use (Edit/Write/Bash) to enforce repository policies. - [INDIRECT_PROMPT_INJECTION]: The skill processes user-supplied input for the repository name, description, and idea. This data is interpolated into various files, including the
.local/PROMPT.mdfile. Because this file is intended to be used as a goal prompt for the agent in the new repository, malicious input could influence the behavior of the agent in that new context. - Ingestion points: Arguments
name,description, andideainSKILL.md. - Boundary markers: None present; the user idea is placed directly into markdown templates.
- Capability inventory: The generated environment includes subprocess execution (hooks) and network access (deployment skills).
- Sanitization:
scaffold.pyusesjson.dumpsfor JSON manifest files, but uses raw string replacement for markdown and documentation files. - [EXTERNAL_DOWNLOADS]: The
publish-reposkill in the template utilizesnpx skills@latestto install and verify the repository's skills, which involves downloading packages from the official NPM registry. - [DYNAMIC_EXECUTION]: During the scaffolding process,
scaffold.pyexecutes the newly generatedscripts/validate_skills.pyscript to verify the integrity and compliance of the fresh scaffold before completing the operation.
Audit Metadata