improvement-evaluator
Pass
Audited by Gen Agent Trust Hub on Oct 13, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes external commands via the
subprocessmodule to perform evaluations. - In
scripts/task_runner.py, the_execute_claudemethod runs theclaudeCLI with prompts constructed from potentially untrusted skill content and task inputs. - In
interfaces/judges.py, thePytestJudgeclass invokespython3 -m pytestto run test suites. - In
interfaces/judges.py, theLLMRubricJudgeclass also usessubprocess.runto call theclaudeCLI for semantic scoring. - [DYNAMIC_EXECUTION]: The
PytestJudgeininterfaces/judges.pyenables the execution of Python code from the local filesystem during the evaluation process. - It implements a path traversal guard by resolving paths and verifying they reside within the
tests/fixtures/directory before execution. - [INDIRECT_PROMPT_INJECTION]: The skill processes and judges output generated by AI models, creating an attack surface for indirect prompt injection.
- Ingestion points: Untrusted content from
skill_content(the Skill under test) andtask['prompt']are interpolated into prompts inscripts/task_runner.py. - Boundary markers: The skill uses
---BEGIN SKILL.MD---and---END SKILL.MD---as delimiters to isolate the content being tested from the instructions. - Capability inventory: The system has access to
subprocess.run(to Claude and Pytest) and can write to temporary files. - Sanitization: The
LLMRubricJudgetruncates the input AI output to 3000 characters to mitigate very large context-based attacks. - [DATA_EXFILTRATION]: The
PytestJudgeimplementation ininterfaces/judges.pypasses the entire current environment (os.environ) to thepytestsubprocess. - This behavior can lead to the accidental exposure of sensitive environment variables to test scripts and any subprocesses they may launch.
Audit Metadata