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.py utilizes importlib to 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.py invokes the claude CLI via subprocess for model interactions, and scripts/evolve.py executes 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]: In scripts/evolve.py, the _chown function attempts to modify file ownership for the run directory. While this is designed to enable restricted-user sandboxing (e.g., using the nobody user), it involves low-level file system permission changes.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 18, 2026, 11:17 AM