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.mdthat utilizeos.system()to execute shell commands, such as running evaluation scripts (eval_checkpoint.sh) and thelm_evalCLI tool. This pattern can lead to command injection if variables likecheckpoint_pathare not properly sanitized. - [REMOTE_CODE_EXECUTION]: The documentation in
SKILL.mdandreferences/benchmark-guide.mdhighlights the use of the--allow_code_executionflag. This flag is required for benchmarks likeHumanEvalandMBPP, 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 thesubprocessmodule to execute code within a shell environment for evaluation purposes. - [EXTERNAL_DOWNLOADS]: The skill guides the agent to install packages via
pipand download datasets from HuggingFace. While these are well-known and reputable services, they constitute external dependencies fetched at runtime.
Audit Metadata