self-improving-agent

Pass

Audited by Gen Agent Trust Hub on Aug 31, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill implements a self-improvement loop that analyzes data from all tool interactions (captured via PreToolUse/PostToolUse hooks) to extract 'patterns' and 'lessons'. This creates a significant surface for indirect prompt injection, as malicious instructions embedded in external data (such as source code, API responses, or command outputs) could be interpreted by the agent as legitimate behavioral rules and persisted in its memory.\n
  • Ingestion points: Hook-captured $TOOL_INPUT and $TOOL_OUTPUT strings are stored in ~/.claude/memory/working/ for analysis.\n
  • Boundary markers: The skill documentation does not specify the use of delimiters or 'ignore embedded instructions' warnings when processing these logs.\n
  • Capability inventory: The skill possesses Read, Write, Edit, and Bash capabilities, allowing it to modify other skill files and documentation.\n
  • Sanitization: No explicit filtering or validation steps are described to sanitize extracted patterns against adversarial content.\n- [DYNAMIC_EXECUTION]: The skill is designed to automatically generate 'Proposals' and 'Evolution Markers' that modify the operational instructions of other skills (SKILL.md files) and repository documentation based on runtime data ingestion. This mechanism allows for the automated mutation of the agent's behavior and operating constraints.\n- [COMMAND_EXECUTION]: The skill includes shell scripts (hooks/pre-tool.sh, hooks/post-bash.sh, hooks/session-end.sh) that are configured to run automatically during the tool execution lifecycle. This allows the skill to execute code in the background whenever the agent performs basic operations like reading or writing files.
Audit Metadata
Risk Level
SAFE
Analyzed
Aug 31, 2026, 04:43 AM