dispatching-subagents
Pass
Audited by Gen Agent Trust Hub on Nov 30, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/headless_fanout.pyutilizessubprocess.runto execute theclaudecommand-line interface. This capability is the core function of the skill, used to launch subagents in parallel headless processes. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted input in the form of task prompts read from a JSONL file and passes them to subagents for execution.
- Ingestion points:
tasks.jsonlfile read inscripts/headless_fanout.pyvia theload_tasksfunction. - Boundary markers: The skill does not apply specific delimiters to the task prompts but isolates subagents by disabling hooks, MCP, and session persistence.
- Capability inventory: Subprocess execution (scripts/headless_fanout.py), file system reads and writes (scripts/headless_fanout.py), and result logging.
- Sanitization: Resulting output files are validated against a user-defined JSON Schema to ensure integrity and adherence to expected formats.
- [PRIVILEGE_ESCALATION]: The skill implements the
--permission-mode dontAskflag for its child processes. This allows subagents to execute a configured allowlist of tools (e.g., Read, Grep, Glob, Write) autonomously without requiring the user to manually approve each individual tool invocation. The skill also enforces a custom allowlist and denylist logic within the runner to restrict these agents' access to the filesystem and network.
Audit Metadata