huggingface-best
Fail
Audited by Gen Agent Trust Hub on Aug 26, 2026
Risk Level: HIGHDATA_EXFILTRATIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [DATA_EXPOSURE_AND_EXFILTRATION]: The skill accesses the local HuggingFace authentication token from the filesystem at
~/.cache/huggingface/token. This sensitive credential is then transmitted as a Bearer token in theAuthorizationheader of network requests. - [COMMAND_EXECUTION]: The skill relies on shell command execution via
curl,jq, and thehfCLI. These commands are used to read local sensitive files and perform network operations, which could be exploited if malicious data influences the command arguments. - [INDIRECT_PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection because it ingests and processes unvetted data from external public sources.
- Ingestion points: Fetches benchmark results and model metadata from public HuggingFace APIs (e.g.,
/leaderboardand/api/models/endpoints) inSKILL.md. - Boundary markers: No delimiters or specific instructions (e.g., "ignore embedded instructions") are used when these external strings are incorporated into the agent's reasoning context.
- Capability inventory: The agent possesses shell execution capabilities (
curl,jq,hf) and filesystem access. - Sanitization: There is no evidence of sanitization or validation performed on the fetched metadata, such as model tags or descriptions, before they are processed by the agent.
Recommendations
- AI detected serious security threats
Audit Metadata