NYC

hugging-face-model-trainer

Fail

Audited by Snyk on Feb 15, 2026

Risk Level: HIGH
Full Analysis

HIGH W007: Insecure credential handling detected in skill instructions.

  • Insecure credential handling detected (high risk: 1.00). The skill repeatedly requires including the user's HF_TOKEN in job submission config (e.g., secrets={"HF_TOKEN":"$HF_TOKEN"}) and describes $HF_TOKEN as referencing the actual token value, which forces the agent to handle or propagate a secret value that could be output verbatim and thus risks exfiltration.

MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).

  • Third-party content exposure detected (high risk: 0.90). The skill explicitly accepts and fetches arbitrary third‑party URLs and Hub/GitHub resources (e.g., the hf_jobs "script" parameter allowing Hugging Face/ GitHub/ Gist URLs, datasets.load_dataset with user dataset names, and the dataset_inspector which queries the public Datasets Server/API), and the agent is expected to read and act on that untrusted, user-provided content as part of its workflow.

MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).

Audit Metadata
Risk Level
HIGH
Analyzed
Feb 15, 2026, 08:19 PM