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.pyutilizessubprocess.runto interact with standard development tools, includinggit,pytest, and theclaudeCLI. 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.mdfiles 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