evaluating-llms-harness

Warn

Audited by Gen Agent Trust Hub on Apr 7, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill provides Python code examples in SKILL.md that utilize os.system() to execute shell commands, such as running evaluation scripts (eval_checkpoint.sh) and the lm_eval CLI tool. This pattern can lead to command injection if variables like checkpoint_path are not properly sanitized.
  • [REMOTE_CODE_EXECUTION]: The documentation in SKILL.md and references/benchmark-guide.md highlights the use of the --allow_code_execution flag. This flag is required for benchmarks like HumanEval and MBPP, where the harness executes code generated by the model being tested on the host system to verify correctness.
  • [COMMAND_EXECUTION]: In references/custom-tasks.md, the guide for creating custom evaluation tasks suggests implementing Python utility functions that use the subprocess module to execute code within a shell environment for evaluation purposes.
  • [EXTERNAL_DOWNLOADS]: The skill guides the agent to install packages via pip and download datasets from HuggingFace. While these are well-known and reputable services, they constitute external dependencies fetched at runtime.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Apr 7, 2026, 11:11 AM