Log inGet a Demo

lm-evaluation-harness

High · Risk 70

The skill facilitates remote code execution by using insecure shell commands and executing untrusted model-generated code without proper sandboxing, tool constraints, or dependency version pinning.

Findings (25)

Cognitive State

Medium

targets Memory & Learning

1 finding
#1Unpinned dependency installation — package installed without version pinningmediumsupply chain95% confidenceline 19

Unpinned dependency installation — package installed without version pinning (seen 3 times in this file at lines 19, 345, 448)

pip install lm-eval

Behavioural Control

High

targets Action

19 findings
#1Dangerous code execution instructionhighcommand execution90% confidenceline 198

The skill provides instructions to use `os.system()` to execute arbitrary shell commands within a training loop, which can lead to remote code execution if the model checkpoint path or step variables are manipulated.

os.system(f"./eval_checkpoint.sh checkpoints step-{step}")
#2Dangerous code execution instructionhighcommand execution90% confidenceline 215

The skill provides instructions to use `os.system()` for running evaluation commands within a training loop, which encourages the agent to execute arbitrary shell commands on the host system. [ensemble: confirmed by 3/3 passes; severity set to the agreed median (ADR-0067).]

os.system(f"lm_eval --model hf --model_args pretrained={checkpoint_path} ...")
#3Organization name detectedmediumpii exposure50% confidence

NER model detected organization in skill content (confidence: 0.50)

G***
#4Organization name detectedmediumpii exposure75% confidence

NER model detected organization in skill content (confidence: 0.75)

H*******
#5Organization name detectedmediumpii exposure77% confidence

NER model detected organization in skill content (confidence: 0.77)

E*********
#6Organization name detectedmediumpii exposure81% confidence

NER model detected organization in skill content (confidence: 0.81)

T********
#7Organization name detectedmediumpii exposure82% confidence

NER model detected organization in skill content (confidence: 0.82)

H*********
#8Organization name detectedmediumpii exposure90% confidence

NER model detected organization in skill content (confidence: 0.90)

H********
#9Organization name detectedmediumpii exposure53% confidenceline 17

NER model detected organization in skill content (confidence: 0.53)

*
#10Organization name detectedmediumpii exposure69% confidenceline 17

NER model detected organization in skill content (confidence: 0.69)

*
#11Organization name detectedmediumpii exposure55% confidenceline 22

NER model detected organization in skill content (confidence: 0.55)

L**
#12Organization name detectedmediumpii exposure56% confidenceline 22

NER model detected organization in skill content (confidence: 0.56)

L*
#13Organization name detectedmediumpii exposure85% confidenceline 57

NER model detected organization in skill content (confidence: 0.85)

G**
#14Organization name detectedmediumpii exposure74% confidenceline 342

NER model detected organization in skill content (confidence: 0.74)

M**
#15Organization name detectedmediumpii exposure100% confidenceline 342

NER model detected organization in skill content (confidence: 1.00)

M**
#16Unsafe code execution flagmediumcommand execution85% confidenceline 456

The documentation encourages the use of `--allow_code_execution` for HumanEval, which executes untrusted model-generated Python code on the host system.

--allow_code_execution  # Required for HumanEval
#17Missing allowed-tools declarationlow90% confidence

Skill executes commands, writes files, or accesses the network but declares no allowed-tools, so its tool surface cannot be reviewed or constrained.

#18Direct shell/command execution sink in skill codelowcommand execution95% confidenceline 6

Direct shell/command execution sink in skill code

os.system(f"./eval_checkpoint.sh checkpoints step-{step}")
#19Direct shell/command execution sink in skill codelowcommand execution95% confidenceline 12

Direct shell/command execution sink in skill code

os.system(f"lm_eval --model hf --model_args pretrained={checkpoint_path} ...")

Hygiene

Low

targets Packaging & Manifest

5 findings
#1Referenced file missing from skill packagelow90% confidence

SKILL.md links to "references/api-evaluation.md" but the file is not part of the skill package — the workflow silently degrades or the content is sourced elsewhere at runtime

[references/api-evaluation.md](references/api-evaluation.md)
#2Referenced file missing from skill packagelow90% confidence

SKILL.md links to "references/benchmark-guide.md" but the file is not part of the skill package — the workflow silently degrades or the content is sourced elsewhere at runtime

[references/benchmark-guide.md](references/benchmark-guide.md)
#3Referenced file missing from skill packagelow90% confidence

SKILL.md links to "references/custom-tasks.md" but the file is not part of the skill package — the workflow silently degrades or the content is sourced elsewhere at runtime

[references/custom-tasks.md](references/custom-tasks.md)
#4Referenced file missing from skill packagelow90% confidence

SKILL.md links to "references/distributed-eval.md" but the file is not part of the skill package — the workflow silently degrades or the content is sourced elsewhere at runtime

[references/distributed-eval.md](references/distributed-eval.md)
#5Skill name does not match directoryinfo100% confidence

The SKILL.md 'name' field does not match the skill's parent directory name, which the Agent Skills spec requires. A mismatch can confuse skill resolution or mask the skill's real identity.

evaluating-llms-harness ≠ lm-evaluation-harness