huggingface-tool-builder
Pass
Audited by Gen Agent Trust Hub on Aug 7, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill is designed to interact exclusively with Hugging Face (huggingface.co), which is a well-known and established service for machine learning assets.
- [COMMAND_EXECUTION]: The provided reference scripts (e.g.,
references/baseline_hf_api.sh,references/hf_enrich_models.sh) execute standard commands such ascurl,jq, and the officialhfCLI. These are used for querying model metadata and downloading repository files as intended for the skill's purpose. - [CREDENTIALS_UNSAFE]: The skill follows secure credential management practices by instructing the agent and user to use the
HF_TOKENenvironment variable for authentication, avoiding hardcoded secrets within the scripts. - [DYNAMIC_EXECUTION]: The script
references/hf_model_card_frontmatter.shuses inline Python blocks to parse YAML frontmatter from model README files. This is a local data transformation step used to structure information downloaded from the repository. - [PROMPT_INJECTION]: The skill includes a potential surface for indirect prompt injection as it processes user-generated content (README.md files) from external Hugging Face repositories. The scripts mitigate this by using structured parsing (via
jqand specific Python logic) rather than direct text interpolation into instructions.
Audit Metadata