hugging-face-evaluation
Warn
Audited by Gen Agent Trust Hub on Jul 2, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: Several scripts, including
inspect_eval_uv.py,inspect_vllm_uv.py,lighteval_vllm_uv.py,run_eval_job.py, andrun_vllm_eval_job.py, utilize thesubprocessmodule to run CLI tools likehf,inspect, andlighteval. These shell commands are constructed using arguments provided by the user, such as model identifiers and task names. - [REMOTE_CODE_EXECUTION]: The scripts
inspect_vllm_uv.py,lighteval_vllm_uv.py, andrun_vllm_eval_job.pyprovide a--trust-remote-codeparameter. This flag allows the underlying Hugging Face Transformers and vLLM libraries to download and run arbitrary Python scripts hosted within model repositories, which represents a significant risk if the model source is untrusted. - [EXTERNAL_DOWNLOADS]: The skill fetches model metadata, README files, and evaluation data from
huggingface.coandartificialanalysis.ai. It also downloads model weights and associated repository files during the evaluation process. - [PROMPT_INJECTION]: The
evaluation_manager.pyscript parses and extracts data from model READMEs. This creates an indirect prompt injection surface where a malicious repository owner could embed instructions within markdown tables or comments to influence the behavior of the agent or the parsing logic. - Ingestion points:
scripts/evaluation_manager.pyreads README content via the Hugging Face API. - Boundary markers: None specific; content is processed as raw markdown.
- Capability inventory: The skill can write to Hugging Face repositories, execute shell commands, and make network requests.
- Sanitization: Basic cleaning is performed on strings, and numeric values are validated through float conversion.
Audit Metadata