spawn-instance
Pass
Audited by Gen Agent Trust Hub on Aug 25, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill makes extensive use of system commands including
gh(GitHub CLI) andgitto automate repository forking, cloning, and configuration. These operations are essential for the skill's stated purpose of spawning new instances. - [DATA_EXPOSURE]: The skill reads and modifies local metadata and state files, specifically
memory/instances.jsonandmemory/MEMORY.md, to maintain a registry of deployed instances and their purposes. - [PROMPT_INJECTION]: The skill processes a user-supplied variable
${var}which contains the name and purpose of the new instance. While the repository name is sanitized, the 'purpose' string is interpolated directly into the new instance's core documentation (CLAUDE.md,SETUP.md, andMEMORY.md). This creates an indirect prompt injection surface where a malicious purpose string could influence the behavior of the newly spawned agent instance. - Ingestion points: User-provided
${var}variable inSKILL.md. - Boundary markers: No explicit delimiters are used when interpolating the purpose into markdown documentation files.
- Capability inventory: The skill has capabilities for shell command execution (
gh,git), filesystem writes, and repository configuration. - Sanitization: The
NAMEcomponent is strictly sanitized to lowercase alphanumeric characters; however, thePURPOSEcomponent is only trimmed and not validated against instructional content.
Audit Metadata