evaluating-llms-harness
Pass
Audited by Gen Agent Trust Hub on Sep 27, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from external datasets (e.g., HuggingFace datasets or local JSONL/CSV files) which are interpolated into prompts using Jinja2 templates. This creates a surface for indirect prompt injection if the source data contains malicious instructions designed to manipulate the evaluation process.
- Ingestion points:
dataset_pathanddataset_kwargsfields in custom task configurations (identified inreferences/custom-tasks.md). - Boundary markers: The harness uses
untilsequence markers to limit model generation. - Capability inventory: The skill utilizes the
lm_evalCLI, which can perform network requests to external APIs and execute generated code when specific code-based benchmarks are selected. - Sanitization: No explicit sanitization or filtering of dataset content is described prior to template interpolation.
- [EXTERNAL_DOWNLOADS]: The skill facilitates the installation of standard industry libraries including
lm-evalandvllm. It references official repositories and documentation from the EleutherAI research organization and HuggingFace, which are recognized as well-known and trusted entities. - [COMMAND_EXECUTION]: The skill documentation provides examples of shell commands and integration scripts using
os.systemto automate evaluation within training pipelines. These examples represent standard developer workflows for monitoring model performance during the training cycle. - [DYNAMIC_EXECUTION]: The skill supports the execution of generated code for specific tasks (e.g., HumanEval) and utilizes dynamic loading of Python functions from local utility files (
utils.py) to process results. The documentation explicitly highlights the requirement of a manual safety confirmation flag (--confirm_run_unsafe_code) for tasks involving code execution.
Audit Metadata