evolving-with-swarms
Pass
Audited by Gen Agent Trust Hub on Nov 18, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONPRIVILEGE_ESCALATION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill's evaluation component in
scripts/evalkit.pyutilizesimportlibto dynamically load and execute Python modules. These modules include code generated by AI models during the evolution process, posing a risk of arbitrary code execution if the models produce malicious content.\n- [COMMAND_EXECUTION]: The skill relies on executing system commands to function.scripts/gateway.pyinvokes theclaudeCLI viasubprocessfor model interactions, andscripts/evolve.pyexecutes evaluation tasks which can be configured to use arbitrary sandbox prefixes.\n- [INDIRECT_PROMPT_INJECTION]: There is a potential for indirect prompt injection as the skill ingests AI-generated code and text 'ideas' from previous rounds and includes them in the context for subsequent model calls. This recursive loop could allow malicious instructions within the generated code to influence future iterations of the swarm.\n- [PRIVILEGE_ESCALATION]: Inscripts/evolve.py, the_chownfunction attempts to modify file ownership for the run directory. While this is designed to enable restricted-user sandboxing (e.g., using thenobodyuser), it involves low-level file system permission changes.
Audit Metadata