build-plugin-scaffold
Pass
Audited by Gen Agent Trust Hub on Sep 4, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes the
Bashtool to perform filesystem operations such as creating directories and running validation tests. It also includes a shell script (scripts/scaffold-plugin.sh) that automates the creation of a plugin skeleton using standard utilities likemkdir,cat, andjqorsed. The script includes basic regex validation for the plugin name to prevent path traversal. - [INDIRECT_PROMPT_INJECTION]: The skill processes architecture plans and specification files provided as input, which are treated as untrusted data. This content is directly written into the generated
agents/*.md,skills/*/SKILL.md, andcommands/*.mdfiles. - Ingestion points: Architecture plans and referenced spec files are read in
SKILL.md(Step 1) and processed viaprompts/scaffold-build.md. - Boundary markers: There are no explicit instructions or delimiters used when interpolating spec content into the generated files to prevent embedded instructions from being interpreted as agent commands in the scaffolded output.
- Capability inventory: The skill possesses
Bashexecution,Writeaccess to the filesystem, andReadaccess to external files. - Sanitization: While the
scaffold-plugin.shscript validates the plugin name format, no sanitization, escaping, or filtering is applied to the content extracted from architecture specs before it is written to the new files. - [DYNAMIC_EXECUTION]: The skill generates new executable components (agent skills, command definitions, and hook configurations) at runtime based on the provided specification templates. This involves creating and assembling markdown and JSON files that are subsequently interpreted by the AI agent environment.
Audit Metadata