team-swarm
Warn
Audited by Gen Agent Trust Hub on Jul 2, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill implements a pluggable scoring mechanism that dynamically loads and executes Python code from paths specified in the configuration.
- Evidence:
scripts/scoring.py(lines 44-53) usesimportlib.utilto load a module fromrule_pathand executes it usingexec_module. The path is derived from user-controlled configuration inswarm-config.json. - [DATA_EXFILTRATION]: The skill provides a mechanism for arbitrary file system discovery and exploration through configuration parameters.
- Evidence:
scripts/aco.py(lines 78-83) uses theauto_discover_fromconfiguration value directly in aglob.globcall withrecursive=True. This allows listing potentially sensitive files if the user provides an expansive glob pattern. - [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection because it interpolates untrusted user input into the system prompts of subagents.
- Ingestion points:
roles/coordinator/commands/iterate.md(Step 4) androles/coordinator/role.md(Phase 3) show theAgenttool being called with prompts containing therequirement(user task description) without sanitization. - Boundary markers: The skill uses section headers (e.g.,
## Assignment) but lacks robust delimiters or "ignore embedded instructions" warnings to prevent instructions in the user data from overriding subagent behavior. - Capability inventory: Subagents possess powerful capabilities including
Bashcommand execution, file system writes (Write), and task management (TaskUpdate). - Sanitization: No sanitization or escaping of external content is performed before interpolation into subagent prompts.
- [COMMAND_EXECUTION]: The skill uses shell command execution to drive its core logic and testing framework.
- Evidence: The
coordinatorrole frequently invokesaco.pyvia theBashtool to perform numeric optimization tasks. - Evidence:
scripts/test_aco.pyusessubprocess.runto execute the CLI script during automated tests.
Audit Metadata