hugging-face-tool-builder
Pass
Audited by Gen Agent Trust Hub on Jun 22, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it is instructed to read and parse Model and Dataset cards directly from Hugging Face repositories, which are untrusted external sources.
- Ingestion points: Model and Dataset cards retrieved via the
hfCLI or Hugging Face API (SKILL.md). - Boundary markers: Absent; there are no instructions to delimit or ignore instructions within the retrieved content.
- Capability inventory: The skill can create and execute Bash, Python, and TSX scripts, use the
hfCLI for repository management, and perform network operations viacurl(SKILL.md). - Sanitization: Absent; no mention of validating or escaping content from model cards before processing.
- [COMMAND_EXECUTION]: The skill's primary purpose is to generate and test command-line utilities. It explicitly instructs the agent to create and run scripts (Bash, Python, TSX) for Hugging Face API interactions and Hub automation.
- [DATA_EXFILTRATION]: The skill manages the sensitive
HF_TOKENenvironment variable for authenticated API access. While this is standard for Hugging Face interactions, the instructions to include this token incurlheaders and scripts creates a risk of accidental exposure if scripts are shared or logged improperly.
Audit Metadata