agent-team
Warn
Audited by Gen Agent Trust Hub on Oct 6, 2026
Risk Level: MEDIUMPROMPT_INJECTIONCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill includes instructions granting the agent 'standing authority' to spawn teammates and manage workflows without per-action user confirmation. It explicitly tells the agent that the 'user does NOT have to say "create coder + reviewer"... just do it', which attempts to override standard agent-user interaction guardrails.
- [COMMAND_EXECUTION]: The skill executes local Python scripts (
scripts/sync.py) to manage agent versions. Furthermore, thetesterrole is instructed to discover and execute commands directly from the repository's task runners and manifests (e.g.,package.jsonscripts,Taskfile.yml,Makefile, CI job definitions), which involves executing potentially untrusted code found in the project being analyzed. - [PRIVILEGE_ESCALATION]: The instructions explicitly expand the agent's operational autonomy by asserting authority over the subagent lifecycle, including spawning, backgrounding, and recycling teammates, without requiring individual user approval for these actions.
- [INDIRECT_PROMPT_INJECTION]: The skill has a high vulnerability surface for indirect prompt injection. It ingests untrusted data from the repository (build manifests, CI job definitions,
CLAUDE.md,CONTRIBUTING.md) and interpolates this content into the prompts generated for subagents in the.claude/agents/directory. - Ingestion points: Probes repository root and subdirectories for manifests, task runners, CI configs, and project documentation (SKILL.md, Step 1).
- Boundary markers: Uses a
## For this repoheading to separate generic prompt bodies from repository-specific data, but this does not prevent malicious instructions in the discovered data from influencing subagent behavior. - Capability inventory: The skill uses
Agent()spawning,Bashexecution, andWrite/Edittools across its roles. - Sanitization: The
sync.pyscript usesyaml.safe_load, but the prompt generation process copies discovered repository strings into agent definitions without significant sanitization. - [DYNAMIC_EXECUTION]: The skill dynamically generates subagent definitions and workflow manifests at runtime based on signals discovered in the repository. It also uses the
Agent()tool to dynamically spawn and manage sub-processes (teammates) with varied roles and tiers.
Audit Metadata