huggingface-community-evals
Warn
Audited by Gen Agent Trust Hub on Aug 26, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONCREDENTIALS_UNSAFE
Full Analysis
- [REMOTE_CODE_EXECUTION]: The scripts
inspect_vllm_uv.pyandlighteval_vllm_uv.pysupport a--trust-remote-codeparameter. When enabled, this flag allows the underlying libraries (transformers,vllm) to execute custom Python code (modeling and configuration files) directly from the Hugging Face Hub model repository. This is an inherent risk of the Hugging Face ecosystem that the skill facilitates. - [COMMAND_EXECUTION]: All three Python scripts in the
scripts/directory usesubprocess.runto execute external CLI tools such asinspectandlighteval. While the scripts use the list-based invocation method which helps prevent shell injection, they pass user-supplied arguments (like model IDs and task names) directly to these subprocesses. - [CREDENTIALS_UNSAFE]: The skill requires and manages the
HF_TOKENenvironment variable to access gated or private models. The scripts explicitly propagate this token by settingHUGGING_FACE_HUB_TOKENandHF_HUB_TOKENin the environment before executing evaluation commands. While this follows standard secret management practices for Hugging Face, it ensures that any code executed (including potentially untrusted remote code) has access to the user's Hugging Face credentials.
Audit Metadata