delegate-sol
Pass
Audited by Gen Agent Trust Hub on Aug 24, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes a local Bash script (
scripts/delegate-sol.sh) which serves as an orchestrator for theherdr,jq, andcodexcommand-line tools. - [COMMAND_EXECUTION]: The orchestration script spawns new subagents using the
danger-full-accesssecurity profile and the-a neverflag, which bypasses manual approval prompts. This grants the delegated agents unrestricted read/write access to the filesystem and the ability to execute commands autonomously within the Herdr environment. - [INDIRECT_PROMPT_INJECTION]: The skill processes user-defined task descriptions and interpolates them into instructions for delegated subagents, creating a surface for indirect prompt injection.
- Ingestion points: Task content is ingested through the
--taskargument, the--task-filepath, or standard input inscripts/delegate-sol.sh. - Boundary markers: The script wraps the user task within a structured prompt template using clear headers (e.g., 'Task:', 'Rules:', 'Return exactly these sections:') to separate user input from system-level instructions.
- Capability inventory: Delegated subagents possess full filesystem access and the ability to execute arbitrary shell commands via the
herdrworkspace. - Sanitization: The task text is stored in a temporary file with restricted permissions (
chmod 600) to ensure only the intended subagent can access the full prompt content during initialization.
Audit Metadata