hyperagents-self-improving-ai

Warn

Audited by Gen Agent Trust Hub on Oct 8, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [DYNAMIC_EXECUTION]: The framework utilizes exec() and compile() to run Python code generated by the Meta Agent at runtime. This allows the AI to dynamically modify and execute its own logic, which poses a risk of arbitrary code execution if the model generates malicious content.
  • [DYNAMIC_EXECUTION]: Employs pickle.load() in the CheckpointManager to retrieve experiment metadata. The pickle module is insecure against erroneous or malicious data and can be used to trigger arbitrary code execution during deserialization.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes external task inputs and specifications by directly embedding them into LLM prompts without using sanitization or boundary delimiters. This exposes the agent to indirect prompt injection attacks.
  • Ingestion points: solve_task method in MyTaskAgent and generate_code in CodeGenerationAgent (SKILL.md).
  • Boundary markers: None identified. Data is interpolated directly into prompt templates.
  • Capability inventory: Includes file system writing (save_checkpoint), shell command execution (setup scripts), and dynamic Python code evaluation (exec).
  • Sanitization: No validation or escaping of external inputs is present before they are passed to the model.
  • [COMMAND_EXECUTION]: The documentation includes instructions for the user to execute shell commands with sudo privileges to install system-level packages.
  • [EXTERNAL_DOWNLOADS]: Fetches source code and setup materials from the official HyperAgents repository on GitHub during the installation process.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Oct 8, 2026, 11:38 PM