improvement-learner

Pass

Audited by Gen Agent Trust Hub on Oct 13, 2026

Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The script scripts/self_improve.py utilizes subprocess.run to interact with standard development tools, including git, pytest, and the claude CLI. These operations are essential for managing version control, verifying code reliability, and performing LLM-based semantic assessments of other skills.
  • [DYNAMIC_EXECUTION]: To evaluate reliability, the skill dynamically executes existing Python tests found within the directory of the skill being improved using pytest. Additionally, it programmatically generates a basic smoke test file (test_smoke.py) for skills that contain scripts but lack a testing suite.
  • [INDIRECT_PROMPT_INJECTION]: The evaluation logic ingests content from external SKILL.md files and interpolates it into a prompt for an LLM judge. While the prompt design includes boundary markers (---) and input length constraints to limit the influence of the evaluated content on the judge's instructions, this represents a standard indirect prompt injection surface for such evaluation tasks.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 13, 2026, 01:06 AM