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 subprocess module to perform evaluations.
  • In scripts/task_runner.py, the _execute_claude method runs the claude CLI with prompts constructed from potentially untrusted skill content and task inputs.
  • In interfaces/judges.py, the PytestJudge class invokes python3 -m pytest to run test suites.
  • In interfaces/judges.py, the LLMRubricJudge class also uses subprocess.run to call the claude CLI for semantic scoring.
  • [DYNAMIC_EXECUTION]: The PytestJudge in interfaces/judges.py enables 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) and task['prompt'] are interpolated into prompts in scripts/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 LLMRubricJudge truncates the input AI output to 3000 characters to mitigate very large context-based attacks.
  • [DATA_EXFILTRATION]: The PytestJudge implementation in interfaces/judges.py passes the entire current environment (os.environ) to the pytest subprocess.
  • This behavior can lead to the accidental exposure of sensitive environment variables to test scripts and any subprocesses they may launch.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 13, 2026, 01:06 AM